Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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!
User | Count |
---|---|
82 | |
78 | |
67 | |
46 | |
45 |
User | Count |
---|---|
105 | |
44 | |
39 | |
39 | |
39 |