Forum Discussion
Can't remove invisible characters
- 9 years ago
Based on an export from your report data and some investigation, I noticed that your text contains characters:
8236 - large, ocean-going vessel
8237 - left to right override
When removing those, you're fine to proceed. Code from the formula bar, with data in Column1 resulting in an additional column with numeric data:
= Table.AddColumn(#"Changed Type", "NumericData", each Number.From(Text.Trim([Column1],{Character.FromNumber(8236),Character.FromNumber(8237)})),Int64.Type) - 9 years ago
To my limited DAX knowledge it is not possible in DAX.
The SUBSTITUE function is close, but there is no function in DAX to convert unicodes to characters and I didn't succeed in copy/paste the special characters into the SUBSTITUTE function.
Again, my DAX knowledge is limited.
When "Applying Query Changes" to a DirectQuery, I am experiencing something related to this: an error that says Failed to generate XMLA request. The changes cannot be submitted to the server. Error returned : '", hexadecimal value 0x1F, is an invalid character.'.
The 0x1F character is also known as US or Unit Separator. I could not find any US chars when pasting the M-code or datatable into Notepad++. What should I do?
- MarcelBeug9 years ago
Community Champion
It would be better to raise a new topic.
Anyhow: it looks to me the issue is with the addtional 0: 0x01F instead of 0x1F.