Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Tatibella
Frequent Visitor

count of numbers in a matrix

Hi,

 

I have a measure (Measure 5) which I put in a matriz. It gives me numbers of 0 and 1s.

Measure 5 = IF('Results'[Measure 5 Blanks]=2, 1,0)

Now what I need is to count or sum only the 1. In this case I should have 8 instead of 0.

Tatibella_0-1680269400968.png

Thanks for advising me

 

2 REPLIES 2
ahmedoye
Responsive Resident
Responsive Resident

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])

DOLEARY85
Resident Rockstar
Resident Rockstar

It should work if you create it as a calculated column instead of a measure

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.