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.
Hello,
I would like to ask how to create a measure like this. If column A="Yes', then measure [sum1], else [sum2]?
Hello @Analitika ,
You can create a measure as follows:
Measure = IF (SELECTEDVALUE(Table[ColumnA])="Yes",[Sum1],[Sum2])
Please let me know if this didn't help.
Yes it didn't help. Because with condition Yes I expected to see result of sum1 but output is sum2.
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
183 | |
80 | |
62 | |
46 | |
38 |