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.
I am trying to add more filter on the bottom measure:
Bottom measure is working fine, but I would like to add more criteria:
Solved! Go to Solution.
Please try
Revenue =
SUMX (
VALUES ( TableA[AMOUNT] ),
CALCULATE (
SELECTEDVALUE ( 'TableA'[AMOUNT] ),
'TableA'[CLASSID] = "114",
'TableA'[ACCOUNTNO] IN { "4", "5" }
)
)
Please try
Revenue =
SUMX (
VALUES ( TableA[AMOUNT] ),
CALCULATE (
SELECTEDVALUE ( 'TableA'[AMOUNT] ),
'TableA'[CLASSID] = "114",
'TableA'[ACCOUNTNO] IN { "4", "5" }
)
)
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
27 | |
12 | |
12 | |
12 | |
6 |