Skip to main content

Power BI

New

ASC function to M for converting Zen Chars to Han Chars

Vote (59) Share
Kawabata Yoshihiro's profile image

Kawabata Yoshihiro on 20 Apr 2016 17:20:13

I want to converting Zen chars to Han chars in Japanese Text.
A lot of Government Data us number as Zen chars, which can not converting data type from text to number in M language.

Comments (5)
Kawabata Yoshihiro's profile image Profile Picture

ece253c6 d0cc-43e9-8ca0-5405e2aa6931 on 06 Jul 2020 00:15:26

RE: ASC function to M for converting Zen Chars to Han Chars

NEED it.

Kawabata Yoshihiro's profile image Profile Picture

73863231 3a1f-44ed-8e03-b81d438af6b9 on 06 Jul 2020 00:06:53

RE: ASC function to M for converting Zen Chars to Han Chars

Also other 2-byte code languages such as Chinese, Korean etc... have the same problem.
The "1" (2-byte "1") treats as Text type.
We need the "ASC () " function of Excel.

Kawabata Yoshihiro's profile image Profile Picture

9999ca66 f40c-e811-8140-e0071b6aa0e1 on 05 Jul 2020 22:35:04

RE: ASC function to M for converting Zen Chars to Han Chars

100% Agree, this requirement is appropriate and necessary to fabricate double bytes data into sigle byte smoothly, pls improve this area. High Priority from Japan.

Kawabata Yoshihiro's profile image Profile Picture

d0aca558 5e84-498a-9cd8-6d63f1fe0aea on 05 Jul 2020 22:33:36

RE: ASC function to M for converting Zen Chars to Han Chars

'This Idea : Japanese version.
---
全角文字から、半角文字へ変える関数が、M 言語に欲しい.
日本政府のExcel ファイルのデータは、数字に、全角文字を使っていることがあります。
数字の全角文字を、M 言語は、数値として扱えません。

Excel は、ASC 関数が、全角文字から半角文字へ変えられます。
Power BI の M 言語に、Excel の ASC 関数と同じ機能を、増やしてほしい。

Kawabata Yoshihiro's profile image Profile Picture

bfd8ff2e 6c89-42f3-8b5e-4534e9192d2c on 05 Jul 2020 22:33:35

RE: ASC function to M for converting Zen Chars to Han Chars

Japanese Excel has this worksheet function - ASC. As ETL tool, we should have this translation function in Power Query / PBI Desktop.