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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
FFODATA
Regular Visitor

Calculated columns not updating by crossfiltering

Hi, 

 

I am having issues with calculated columns in a product table which are based on another table. The idea is to rank the products based on the largest volume. Therefore the two calculated columns are added to the product table.

 

Demand Volume = CALCULATE(SUM('Demand Table'[Qty]); FILTER('Demand Table'; 'Product'[Product Name]='Demand Table'[Product ]))

 

Ranking = RANK.EQ('Product'[Demand Volume];'Product'[Demand Volume];DESC)

 

Unfortunately, when filtering on the date in the demand table, the two calculated columns from the product table are not linked dynamically. Therefore, product A demand volume should be 245 instead of 345. 

 

Is there a way to ensure that this crossfiltering works dynamically on the calculated columns?

 

 

Calculated Column.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @FFODATA,

You can create the ranking measure using the following DAX, then you will be able to get expected result when filtering date.

Ranking = RANKX(ALL('Demand Table'[Product]),'Product'[Demand Volume],,DESC)
1.PNG

Thanks,
Lydia Zhang

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

Not calculated columns, you will have to convert your columns to measures.



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

Thanks for your reply. 

 

For the demand volume, a measure seems to work fine. However, how would the rank measure needs to look like? I am not able to make this one work.

Anonymous
Not applicable

Hi @FFODATA,

You can create the ranking measure using the following DAX, then you will be able to get expected result when filtering date.

Ranking = RANKX(ALL('Demand Table'[Product]),'Product'[Demand Volume],,DESC)
1.PNG

Thanks,
Lydia Zhang

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors