cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Krahnin Frequent Visitor
Frequent Visitor

How to Display Percentages (i.e. 0.98) as 98 on a Y-axis 0-100?

I have a stacked column chart visualizing data from a Google Sheet. Within this sheet, there are monthly numbers per representative within my department, which are then averaged together to produce a percentage ranging from 0-100%. My column visualization is fairly simple. On the X-axis are the names of each person in the department. On the Y-axis is a range from 0-100. The data being plotted are the calculated averages for each (0-100%).

 

Until recently, this displayed without issue. 98% would display as 98 on the 0-100 scale and so forth. Now, all percentages are displaying as decimals (i.e. 0.98 on the 0-100 scale). Essentially everything is displaying below 1 on the scale. Nothing within the source sheet has changed, nor have I modified any settings within Power BI for that particular visualization. Additionally, I cannot seem to get things back to how they were short of changing the range of the Y-Axis to be 0-1. When I edit the query and look at the format for the data within that column, it is currently formatted as 1.2 Decimal Number and the numbers within the query display correctly.

 

Recap:

X-axis: Names

Y-axis: 0-100

Data plotted: averages from 0-100% formatted as '1.2 Decimal Numbers'.

Behavior Example: Query data shows 98. Data plots as 0.98 (below 1) on graph.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Krahnin Frequent Visitor
Frequent Visitor

Re: How to Display Percentages (i.e. 0.98) as 98 on a Y-axis 0-100?

Apologies about the delay in getting back to the community, I was traveling for business. I ended up resolving the issue by clearing and reapplying my transformation steps. I still am not sure what happened to break them as neither the query had been edited nor the source spreadsheet had any formatting performed on it.

 

If it helps anyone else, my transformation steps (skipping everything prior) were as follows:

  • Changed type to 1.2 Fixed Decimal (imported from Google Sheets as Text).
  • Multiplied Column by 100 to move the decimal two places to the right (i.e. 0.984 becomes 98.4).

View solution in original post

blopez11 Established Member
Established Member

Re: How to Display Percentages (i.e. 0.98) as 98 on a Y-axis 0-100?

For future reference, instead of multiplying by 100, you could go to the model view, then in the Modeling tab, select the % icon in the Formatting area.  You could also specify the # of decimals as well

View solution in original post

4 REPLIES 4
Moderator v-yuezhe-msft
Moderator

Re: How to Display Percentages (i.e. 0.98) as 98 on a Y-axis 0-100?

Hi @Krahnin,

I am not able to reproduce your issue using my sample data.
1.PNG

Could you please post sample data of your scenario and post screenshots about how you format the percentage column as '1.2 Decimal Numbers'? Also please view the APPLIED STEPS windows in Query Editor to check if you make alterations for the percentage column.
2.PNG

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Super User
Super User

Re: How to Display Percentages (i.e. 0.98) as 98 on a Y-axis 0-100?

Hi there

 

Could it possibly be that you changed the Format from "Percentage" to "Decimal"?


Did I answer your question? Mark my post as a solution!
"Proud to be a Datanaut!"
Power BI Blog
Krahnin Frequent Visitor
Frequent Visitor

Re: How to Display Percentages (i.e. 0.98) as 98 on a Y-axis 0-100?

Apologies about the delay in getting back to the community, I was traveling for business. I ended up resolving the issue by clearing and reapplying my transformation steps. I still am not sure what happened to break them as neither the query had been edited nor the source spreadsheet had any formatting performed on it.

 

If it helps anyone else, my transformation steps (skipping everything prior) were as follows:

  • Changed type to 1.2 Fixed Decimal (imported from Google Sheets as Text).
  • Multiplied Column by 100 to move the decimal two places to the right (i.e. 0.984 becomes 98.4).

View solution in original post

blopez11 Established Member
Established Member

Re: How to Display Percentages (i.e. 0.98) as 98 on a Y-axis 0-100?

For future reference, instead of multiplying by 100, you could go to the model view, then in the Modeling tab, select the % icon in the Formatting area.  You could also specify the # of decimals as well

View solution in original post

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 58 members 1,152 guests
Please welcome our newest community members: