The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
87 | |
84 | |
36 | |
35 | |
32 |
User | Count |
---|---|
96 | |
75 | |
67 | |
52 | |
52 |