Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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?
Solved! Go to Solution.
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)
Thanks,
Lydia Zhang
Not calculated columns, you will have to convert your columns to measures.
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.
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)
Thanks,
Lydia Zhang
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 83 | |
| 48 | |
| 36 | |
| 31 | |
| 29 |