Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello,
I have a simple excel spreadsheet that I've imported in BI. I have a column of percentages in my excel sheet (no calculations) that are showing up in BI as numbers. I cannot seem to it get it to show the percentage sign. For example 244% is showing up as 1.
Any help would be appreciated.
thanks!
Solved! Go to Solution.
You only need to replace the value for NA, not for other columns and add this step befor you change the type to percent (although I don't think that will make a difference)
Basically you are replacing NA with 0 value and then change type to percent.
#"Replaced Value" = Table.ReplaceValue(#"Changed Type1","NA","0",Replacer.ReplaceValue,{"Percentage of Increase"}),
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Apparently you got rid of the "NA" in your Excel sheet, otherwise the "Percentage of Increase" field wouldn't default to type number in step "Changed Type".
So you created yourself a different situation, making my first suggestions invalid.
I never suggested you to change 2.44 to 244 and 0.12 to 12: so far you ddn't provide this information and this is exactly why you got the wrong percentages.
With this new situation, you don't need to do anything in the query editor.
You can just change the format of the "Percentage of Increase" field in the modeling tab to "Percentage".
Please notice the value of providing all relevant and accurate information when posting a question.
The data type of your column is text, probably because of the NA's.
Via "Edit Queries", you can replace NAs with nulls and then replace the data type with (Decimal) Number and Format Percentage.
Hi Marcel,
Thank you for your reply.
I followed your instructions, but now 244 is showing up as 244,400.00% and the correct value is 244%. How I can fix this?
Can you share your code (go to the Advanced Editor, copy everything and paste it here)?
If I copy your picture and enlarge it to 400%, I see 4x Changed Type steps, 3x Replace Value steps and 1 Trimmed text.
That's not what I suggested.
Hi Marcel,
Code:
let
Source = Excel.Workbook(File.Contents("C:\Users\pr00023\OneDrive - \Informes\Sharepoint Reports\Total of users\Total of users.xlsx"), null, true),
totalofusers_Table = Source{[Item="totalofusers",Kind="Table"]}[Data],
#"Changed Type" = Table.TransformColumnTypes(totalofusers_Table,{{"Year", Int64.Type}, {"Total of Users", Int64.Type}, {"Percentage of Increase", type number}}),
#"Changed Type1" = Table.TransformColumnTypes(#"Changed Type",{{"Percentage of Increase", Percentage.Type}}),
#"Replaced Value" = Table.ReplaceValue(#"Changed Type1",2.44,244,Replacer.ReplaceValue,{"Percentage of Increase"}),
#"Replaced Value1" = Table.ReplaceValue(#"Replaced Value",0.12,12,Replacer.ReplaceValue,{"Percentage of Increase"})
in
#"Replaced Value1"
Screenshots:
Home
Modeling
Dashboard
Editor Query
Apparently you got rid of the "NA" in your Excel sheet, otherwise the "Percentage of Increase" field wouldn't default to type number in step "Changed Type".
So you created yourself a different situation, making my first suggestions invalid.
I never suggested you to change 2.44 to 244 and 0.12 to 12: so far you ddn't provide this information and this is exactly why you got the wrong percentages.
With this new situation, you don't need to do anything in the query editor.
You can just change the format of the "Percentage of Increase" field in the modeling tab to "Percentage".
Please notice the value of providing all relevant and accurate information when posting a question.
You only need to replace the value for NA, not for other columns and add this step befor you change the type to percent (although I don't think that will make a difference)
Basically you are replacing NA with 0 value and then change type to percent.
#"Replaced Value" = Table.ReplaceValue(#"Changed Type1","NA","0",Replacer.ReplaceValue,{"Percentage of Increase"}),
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |