Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Dear community,
I changed the data type of some columns to "Percentage" in Query Editor. After refreshing all values show up correct in the Query Editor. But after applying the changes in data model only decimal number are shown what effects my reports. Does somebody have an idea what I am doing wrong?
Regards
Alex
Solved! Go to Solution.
Hi, @Anonymous
My understanding is that the data storage type and the data visualization type cannot be completely consistent.
For example, in power query there are duration, date/time/time zone, percentage type, which is not in power bi, but power bi can format the data as the above type.
If you do not format the data, power bi needs to select a data type for the data first, with percentage as decimal, date /time/time zone as date, duration as decimal, etc.
When you convert the data to percentage type in power query, but power bi can only treat it as a decimal, then you can format the data as a percentage to display the data.
To make it easier to understand
Hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
If you need to format the data as a percentage, you can do it as you mentioned. You don't need to format the data in power query first. What you do is the right operation.😁
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
My understanding is that the data storage type and the data visualization type cannot be completely consistent.
For example, in power query there are duration, date/time/time zone, percentage type, which is not in power bi, but power bi can format the data as the above type.
If you do not format the data, power bi needs to select a data type for the data first, with percentage as decimal, date /time/time zone as date, duration as decimal, etc.
When you convert the data to percentage type in power query, but power bi can only treat it as a decimal, then you can format the data as a percentage to display the data.
To make it easier to understand
Hope this helps.
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HI Team Zeon Zheng,
thanks for your advice. But I still noch understand, why I should format the data to percentage in the Query Editor. In my case it would be sufficient to format the value as decimal in the Query Editor and format the column to percentage for the report view in the data model. But I can live this solution. CU
Hi, thanks for your message. I thought formatting once in the Query Editor sholud be enough and do not understand why I have to this twice. Actuall I do not the formating in the Query Editor
0,2 is a perfectly fine way to display 20%. The decimal format is used in any math done inside power bi. To show it as 20% is thus just a "visual" format.
Please mark the problem as solved if it works now.
Select you percentage column, then go from the top ribbon Column tools > Format: Percentage
I warmly recommend some basic Power BI tutorials, in example MS Learning Paths
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!