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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
hello everyone i have 3 tables , campaigns , time of day , fact table
i have this table visual
which the ranking is correct
but when i ad time code to the table i get wrong ranking
how can i keep the same ranking as first table even after adding code
note that i have a relationship between fact table and both time day table and campaigns table
so campaign name comes from campaigns tables , the code comes from time of day table and my calculation is from fact table
how can i keep the ranking before adding code
here is the measure
Ranking Campaigns By Time =
RANKX(
ALLSELECTED(Campaigns[Campaign Name]),
[Time CTR],
,
DESC,Dense
)
Solved! Go to Solution.
Hello @eliasayyy
Please try
Ranking Campaigns By Time = RANKX( ALLSELECTED(Campaigns[Campaign Name]), CALCULATE([Time CTR],All('Time'[Code])), , DESC,Dense )
Hello @eliasayyy
Please try
Ranking Campaigns By Time = RANKX( ALLSELECTED(Campaigns[Campaign Name]), CALCULATE([Time CTR],All('Time'[Code])), , DESC,Dense )
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 8 | |
| 7 | |
| 7 |