Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 8 | |
| 8 | |
| 8 |