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
b_inder
Regular Visitor

Using Measure as a filter in calculate

b_inder_1-1687507341297.png

Facts:

I have this table in which 'See below' rows (marked in yellow) should see the sum of values which are under see below in that group. For example, for first group the sum is 37,534,098,814 (18,343,557,949 + 19,034,919,257 + 155,621,608). 

 

Record check is a calculated measure.

 

Problem:

'See below' rows (marked in yellow) should sum only the rows where the record check is 1. For example, the sum should be 19,190,540,865 (19,034,919,257 + 155,621,608).

 

Please help... I am stuck from last 2 days on it... @Greg_Deckler 

2 REPLIES 2
Mahesh0016
Super User
Super User

@b_inder 
Record Check 1 =
CALCULATE (
SUM ( 'Table'[Estimated Value] ),
FILTER ( 'Table', 'Table'[Record Check] = 1 )
)
##################################

Bench =
IF ( ISINSCOPE ( 'Table'[sub] ), [Estimated Values], [Record Check 1] )
 
#################################
Estimated Values = SUM('Table'[Estimated Value])



Mahesh0016_0-1687518602741.png

@b_inder THANK YOU!!

Hi, thank you for your reply... But may I know which column is 'sub' in the bench measure calculation? 

Helpful resources

Announcements
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.

June 2025 community update carousel

Fabric Community Update - June 2025

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