cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
creynolds
Helper IV
Helper IV

Percentage Value Not Showing Correctly

I have the following table along with the two columns which are used to calculate percentages using the values in this table.   For some reason, the percentages are not showing up correctly.    Is there add'l formatting I need to do for the two percentage columns?

 

TableTable% Completed 60 Days% Completed 60 Days% Complete in 14 Days% Complete in 14 Days

2 ACCEPTED SOLUTIONS
v-danhe-msft
Microsoft
Microsoft

Hi @creynolds,

From your posted picture, it seemed that most of your columns are measures and I could not figure your data structure, could you please offer a sample data to have a test if possible?

 

Regards,

Daniel He

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

View solution in original post

Anonymous
Not applicable

It looks like you created these as new columns, rather than new measures. The percentage needs to be computed on aggregate, not for each row, and then aggregated - that's what's happening now. Try creating a new measure and using this: 

 

Completed in 14 Days % = SUM('Squirrel SQL Export'[TOTAL_COMPLETED]) / SUM('Squirrel SQL Export'[% COMPLETED IN 14 DAYS])
 
Same goes for the other % calc.
 
Ben

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

It looks like you created these as new columns, rather than new measures. The percentage needs to be computed on aggregate, not for each row, and then aggregated - that's what's happening now. Try creating a new measure and using this: 

 

Completed in 14 Days % = SUM('Squirrel SQL Export'[TOTAL_COMPLETED]) / SUM('Squirrel SQL Export'[% COMPLETED IN 14 DAYS])
 
Same goes for the other % calc.
 
Ben

View solution in original post

That worked!   Thanks.

v-danhe-msft
Microsoft
Microsoft

Hi @creynolds,

From your posted picture, it seemed that most of your columns are measures and I could not figure your data structure, could you please offer a sample data to have a test if possible?

 

Regards,

Daniel He

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

View solution in original post

I created a sample table with the same issue; here are the files:

 

Work Order XLS

Work Order PBIX

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors