The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
Below expression is working and sums qty for "Demand" and "Stock" but I need to sum for "Demand","Stock", and "Supply".
Please help to rewrite in order to filter the Rollup Field for all three conditions. Thank you.
Solved! Go to Solution.
Hi @ahipon
you can use
Demand+Stock =
CALCULATE (
SUM ( 'Table1'[Rec./reqd quantity] ),
Table1[Rollup] IN { "Demand", "Stock", "Supply" }
)
Hi @ahipon
you can use
Demand+Stock =
CALCULATE (
SUM ( 'Table1'[Rec./reqd quantity] ),
Table1[Rollup] IN { "Demand", "Stock", "Supply" }
)
Thanks! Most appreciated!
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
21 | |
14 | |
14 | |
9 | |
7 |