Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
Employee
Employee

Hi @Anonymous,

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
Anonymous
Not applicable

That worked!   Thanks.

v-danhe-msft
Employee
Employee

Hi @Anonymous,

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.
Anonymous
Not applicable

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

 

Work Order XLS

Work Order PBIX

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.