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.
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 )
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |