Join 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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!