Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |