Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 )
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
9 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |