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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to get sum of 20% of individual measure values

Hi  All,

I am very new to Power BI and DAX calculation.

I have 5 Categories( A, B, C, D, E) with score value. That score itself is calculated as a new measure with DAX calculation like below:

MTD = TOTALMTD( [Net Promoter Score], 'Date Dimension'[Date])
 
These are MTD value for 5 Categories as below . I need to find the Total by summing up the 20% of each category value for respective months.
When I am trying to multiply the MTD value for each category into 0.20 and summing up using DAX, it was showing wrong data.May be my DAX is not correct.
Kindly help me with the DAX calculation to find the total for each month.
 
Thanks In Advance,
Tanu
 
 DecemberJanuaryFebruary
Total26.7227.4226.30
   A44.6541.8740.26
   B53.8056.3053.70
   C20.3322.2424.74
   D11.8914.6012.56
   E2.942.080.26
2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Does your data structure look like data in my table?

Then do you add columns in the matrix visual as below?

 

5.png

 

Then expected result:

"the Total by summing up the 20% of each category value for respective months"

should be way1 or way2, or anything else?

way1:

  December January February
   A 44.65*0.2 41.87*0.2 40.26*0.2
   B 53.8*0.2 56.3*0.2 53.7*0.2
   C 20.33*0.2 22.24*0.2 24.74*0.2
   D 11.89*0.2 14.6*0.2 12.56*0.2
   E 2.94*0.2 2.08*0.2 0.26*0.2

 

Or 

way2:

  December January February
   A 44.65 41.87 40.26
   B 53.8 56.3 53.7
   C 20.33 22.24 24.74
   D 11.89 14.6 12.56
   E 2.94 2.08 0.26
total 137.09*0.2 131.51*0.2 133.61*0.2

 

 

Best Regards

Maggie

Anonymous
Not applicable

When trying to calculate like below not getting the Correct value for TOTAL_MTD.

 

TOTA_MTD = CALCULATE(SUM(NPS[MTD]), FILTER(NPS,NPS[Survey Program[Category]]= "A" || NPS[Survey Program[Category]]= "B" || NPS[Survey Program[Category]]= "C" || NPS[Survey Program[Category]]= "D" || NPS[Survey Program[Category]]= "E"))

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors