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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Sophie0320
Frequent Visitor

How to display percentage rows correctly after aggregation

Hello All,

I have a table like this:

Sophie0320_0-1678300554635.png

Q1_, Q2_, ..., and Annual Total are measures. The row % Completed was columns added previously in the Query Editor as [Staffing Achieved]/[Planned Staffing]. When I choose all ResourceCetegories,  it sums up the values, which is wrong. How to correct it? Same for the last row % Name Identified.

 

Thanks in advance!

1 ACCEPTED SOLUTION

Resolved. The table looks like this after updating the Q1_ measure's expression:

Sophie0320_0-1678395980310.png

 

View solution in original post

4 REPLIES 4
FreemanZ
Super User
Super User

hi @Sophie0320 

Because A/B+C/D is not (A+C)/(B+D).
Or?
Sophie0320
Frequent Visitor

I am a DAX newbie. Guess the measure expression needs some modifications to conditional assign the value. How?

Hi FreemanZ, you are right. I want (A+C)/(B+D) after aggregation for those two % columns. Q1_, for example, the % Completed value should be 2/2, 100% at the end.

Here is the data for each category.

Sophie0320_0-1678371849232.pngSophie0320_1-1678371870719.pngSophie0320_2-1678371900778.png

 

Resolved. The table looks like this after updating the Q1_ measure's expression:

Sophie0320_0-1678395980310.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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