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,
I have a measure (Measure 5) which I put in a matriz. It gives me numbers of 0 and 1s.
Now what I need is to count or sum only the 1. In this case I should have 8 instead of 0.
Thanks for advising me
Depending on which category of data you are reporting the numbers by in your Report Table, try the approach below. If it works for you, please mark as solution so anyone with similar issue can easily find it.
SUMX(ALL(DataTable[DataColumn]), [Measure 5])
It should work if you create it as a calculated column instead of a measure
User | Count |
---|---|
78 | |
77 | |
38 | |
31 | |
28 |
User | Count |
---|---|
106 | |
98 | |
55 | |
49 | |
47 |