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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Calculate filter dosnt work on summarize table

Hi, I hope someone can help me with this one. I wanna make a measure over table A, applying a filter over table C. Table A is connected with table B and B with C.

The measure is:

msr = CALCULATE(AVERAGE('A'[S]);'C'[flag]=1) 

The table A comes from a summarize of table B.

A = SUMMARIZE('B'

;'B'[col1]

;"S";sum('B'[col2])

)
I have all tables linked with cross filters option set as both.
 
The problems is with the filter in the Calculate, it doenst work. The measure is just the average but without filtering any data. The behavior I'm expecting is the "summarize table" recalculate with the filter applied in the Calculate.
 
Thanks!

 

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

Perhaps using RELATED or RELATEDTABLE? Would need sample data to test. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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