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.
Hi COmmunity,
I Have a calculation like this:
How to write this? I tried some and worked with 1 filterd value, but I need to filter all those.
Thanks in advance!
Solved! Go to Solution.
Try
Filtered Total =
CALCULATE (
SUM ( 'BI-Despesas'[nVlrNomiB] ) + SUM ( 'BI-Despesas'[nVlrJuroB] )
- SUM ( 'BI-Despesas'[nVlrAbatB] ),
NOT 'BI-Despesas'[nCodCIPg] IN { 201, 999 },
NOT 'BI-Despesas'[nCodGrPg] IN { 1001, 1002, 1003 }
)
Try
Filtered Total =
CALCULATE (
SUM ( 'BI-Despesas'[nVlrNomiB] ) + SUM ( 'BI-Despesas'[nVlrJuroB] )
- SUM ( 'BI-Despesas'[nVlrAbatB] ),
NOT 'BI-Despesas'[nCodCIPg] IN { 201, 999 },
NOT 'BI-Despesas'[nCodGrPg] IN { 1001, 1002, 1003 }
)
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
14 | |
9 | |
7 |