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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Dear All,
i have the following table:
| Order number | Item | Value |
| 1 | a | 12 |
| 1 | b | 15 |
| 2 | b | 15 |
| 2 | c | 20 |
| 3 | d | 11 |
| 3 | a | 12 |
I need the total order values of the order which contains item "a".
So my calculated measure shall give back 50 (because it sums all values of order 1 and 3).
Thank you very much
Solved! Go to Solution.
You can create a measure like
Value all orders =
var orderIDs = VALUES('Table'[Order number])
return CALCULATE( SUM( 'Table'[Value]), REMOVEFILTERS('Table'), orderIDs )
You can create a measure like
Value all orders =
var orderIDs = VALUES('Table'[Order number])
return CALCULATE( SUM( 'Table'[Value]), REMOVEFILTERS('Table'), orderIDs )
Exactly what I was talking about! Thank you a lot!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 51 | |
| 41 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 130 | |
| 111 | |
| 48 | |
| 30 | |
| 28 |