The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I am trying to localize the number formats and want to have the decimal separators displayed as apostrophes.
Expected Example: 127'931'598,50 CHF
Current Formatting: 127.931.598,50 CHF
Sadly changing the localization in the advanced query editor using the following does not work.
= Table.TransformColumnTypes(#"Changed Type", {{"Gross Sales", type number}}, "de-CH")
I also tried creating a new measure or column with the right formating but then the visuals would not work anymore.
This seems to be the intended way as shown here: https://community.fabric.microsoft.com/t5/Desktop/Thousand-Separator-and-Decimal-Separator/m-p/55823...
Please help me 🙂
Hi @TimGabriel ,
Try formatting the output like this:
Format Total Gross Sales = SUBSTITUTE( FORMAT( SUM('Table'[Gross Sales]), "#,##0.#0" & " CHF"), ",", "'" )
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
Thanks! This partially worked. I was able to create a measure like this, however, I can't use it in the visuals I need (e.g. a decomposition tree). See attached file:
Hi @TimGabriel ,
Yes, because the end result becomes text. And Decomposition Tree Visual does not currently support formatting Value labels.🤔
Please consider submitting this idea to bring it to the attention of the product team.
Welcome to Microsoft Fabric Ideas
Also try changing the OS and PowerBI region to Swiss then try opening a new file to load the data? the initial region of the model is related to when the first load is made.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
Hi @Anonymous,
thanks again. I now tried creating an entirely new pbix, then
1.) changing the file localization
2.) connecting to the access DB and reading my data
3.) adjusting the localization in the data view
4.) using the
Table.TransformColumnTypes(#"Changed Type", {{"Gross Sales", type number}}, "de-CH")
However the format is still wrong. (I also tested the format in after steps 2 and 3 respectively, but the fornat was wrong...)
Lastly, I created the feature suggestion: Microsoft Idea
Do you have any final suggestion?
Thanks! Sadly I already tried that too.
It did not change anything. Do you have any other idea?
@TimGabriel Try to set the regional setting via Power BI Desktop (File - Options and Settings - Options - Regional Settings - Locale)
User | Count |
---|---|
69 | |
65 | |
63 | |
55 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
43 |