Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
for the above 2 tables connected with "Customer", the sales amount sumif from the first table.
sales = CALCULATE(SUM(Table1[sales]),Table1[Customer]=EARLIER(customer[Customer]))
how to rank the customer by sales in the second table that when I select different factory in first table, the ranking will be updated in the second table presented in the visual? thanks
Solved! Go to Solution.
Hi @erihsehc,
If you want to select factory dynamically, you have to use a measure and a report.
Ranking = RANKX ( ALL ( 'Table1'[Customer] ), CALCULATE ( SUM ( 'Table1'[Sales] ) ) )
Best Regards!
Dale
Hi @erihsehc,
If you want to select factory dynamically, you have to use a measure and a report.
Ranking = RANKX ( ALL ( 'Table1'[Customer] ), CALCULATE ( SUM ( 'Table1'[Sales] ) ) )
Best Regards!
Dale
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.