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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.