Forum Discussion

TimGabriel's avatar
TimGabriel
New Member
2 years ago

Swiss Localization not Working as expected

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/558235 

 

Please help me 🙂

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    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

    • TimGabriel's avatar
      TimGabriel
      New Member

      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:

      https://we.tl/t-zUzg6AWNLI

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        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



  • TimGabriel  Try to set the regional setting via Power BI Desktop (File - Options and Settings - Options - Regional Settings - Locale)

     

     

  • Thanks! Sadly I already tried that too.

    It did not change anything. Do you have any other idea?