Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 Id | WBS Id | Cost | Expected measure value | Received measure value |
| x | x1 | -100 | 0 | -100 |
| x | x2 | 100 | 0 | 100 |
| y | y1 | -200 | 100 | -200 |
| y | y2 | 300 | 100 | 300 |
| z | z1 | 400 | 900 | 400 |
| z | z2 | 500 | 900 | 500 |
Solved! Go to Solution.
Hi,
Here is one way to do this:
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!
Proud to be a Super User!
Hi,
Here is one way to do this:
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!
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 19 | |
| 18 | |
| 11 | |
| 10 |