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! Request 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 )
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 |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |