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
ROG
Responsive Resident
Responsive Resident

True/false measure not giving total

Hello,

 

What do I need to do to have a correct total on the highlighted table? It should be 7. 

 

ROG_0-1674054934797.png

Thanks!

 

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You need to add up the individual values, not compute the whole thing at the aggregate level. Try

Active GA+1 =
SUMX (
    VALUES ( 'Table'[Sales partner code] ),
    IF ( [Gross Addition Daily] >= 1, 1, 0 )
)

where 'Table'[Sales partner code] is the column you are grouping by in the matrix

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

You need to add up the individual values, not compute the whole thing at the aggregate level. Try

Active GA+1 =
SUMX (
    VALUES ( 'Table'[Sales partner code] ),
    IF ( [Gross Addition Daily] >= 1, 1, 0 )
)

where 'Table'[Sales partner code] is the column you are grouping by in the matrix

ROG
Responsive Resident
Responsive Resident

Thank you @johnt75 

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.