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 September 15. Request your voucher.
Hi,
I'd like to exclude sales (amount) based on a related field (SellToCustomerNo). So if the SellToCustomerNo is listed in the other table, how can sales from these be excluded?
Thank you
Solved! Go to Solution.
Hi @Tob_P
If the other table is not related then you can try something like
=
CALCULATE (
[Sales Amount],
FILTER (
Sales,
NOT ( Sales[SellToCustomerNo] IN VALUES ( TableName[Customer No.] ) )
)
)
Hi @Tob_P
If the other table is not related then you can try something like
=
CALCULATE (
[Sales Amount],
FILTER (
Sales,
NOT ( Sales[SellToCustomerNo] IN VALUES ( TableName[Customer No.] ) )
)
)
User | Count |
---|---|
14 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
13 | |
7 | |
5 |