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

Measure not providing expected result for summing up row values

hi

Im trying to create a measure which can aggregate sum value of "Cost" field based on field "Prog Id". I tried using the below DAX for the measure but the results are in "Received measure value". Any suggestion how i can get "Expected measure value".

Kindly note that the table visual has "Visual filters" + Page Level filters

CALCULATE(SUM(table[Cost]),ALLSELECTED(table[Prog id]))

Prog IdWBS IdCostExpected measure valueReceived measure value
xx1-1000-100
xx21000100
yy1-200100-200
yy2300100300
zz1400900400
zz2500900500
1 ACCEPTED SOLUTION
ValtteriN
Super User
Super User

Hi,

Here is one way to do this:

Measure 44 = CALCULATE(SUM('Table (28)'[Cost]),ALLEXCEPT('Table (28)','Table (28)'[rog Id]))


End result:

ValtteriN_0-1680237856215.png

 

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
ValtteriN
Super User
Super User

Hi,

Here is one way to do this:

Measure 44 = CALCULATE(SUM('Table (28)'[Cost]),ALLEXCEPT('Table (28)','Table (28)'[rog Id]))


End result:

ValtteriN_0-1680237856215.png

 

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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!

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.