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 have created a new measure for my matrix table to replace blanks with 0s.
My table has columns Direction, Date and Category. A new date table was created where date = Distinct([example[Date]).
New measure count category = SWITCH(
Thank you!
does the sort work if you use
COUNT(example[Category]) + 0
to get rid of blanks? it should also be more performant, as it has no conditionals
User | Count |
---|---|
14 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
28 | |
19 | |
13 | |
8 | |
5 |