didierterrien / Power-BI-Sidetools

Power BI Sidetools is a free Power BI external tool intended to increase productivity during reports development in Power BI desktop.
68 stars 8 forks source link

PBI to files - Illegal characters in path #3

Closed fdawans closed 3 years ago

fdawans commented 3 years ago

I have an error in the path when exporting my DAX measures. M code is exporting fine.

Thank you for your help,

IllegalPath

didierterrien commented 3 years ago

Hello, Thank you to report this issue. Did you change the default path for the DAX code in the settings ? If yes, send it to me please. What is the version you use ? Can you copy all the text of the error here ?

fdawans commented 3 years ago

I am using Version 1.1.2.0. No, I reinstalled and kept the original path.

The issue seems to be a * in my measure names.

See log: LogPBI.txt

didierterrien commented 3 years ago

Yes, any character forbidden in path by Windows will not work, I can replace these characters automatically by their ASCII code. So a measure called Measure * 6 will be renamed as Measure &h3C 6. Is it ok for you ?

Forbidden characters by Windows :

< (less than)
> (greater than)
: (colon - sometimes works, but is actually NTFS Alternate Data Streams)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)
fdawans commented 3 years ago

OK got it, I'll keep it in mind when naming my measures!

didierterrien commented 3 years ago

Problem solved in V1.1.3