Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
lravikiran
Helper I
Helper I

Ranks displayed wrong when displayed using the Sheet as Tooltip, Interaction as filters

Hi Everyone,

 

 I happen to be facing a very strange issue. I have created a simple Visual with One Bar Graph,A Table and a Card visual. 

 

 

lravikiran_0-1643103026898.png

 

Data Model : I have used one fact and One dim table

lravikiran_1-1643103176827.png

 

The issue is that the ranks seems to appear correctly on the table , but when i hover on any bar or Select on any Bar or any single Parent Client Code the ranks seems to not show up correctly.

 

lravikiran_2-1643103433776.png

 

 

Formula i have used :

 

Client Cost Rank =

RANKX(ALL('Dimension vwClient'[Client Parent Code]),[Cost Measure],,DESC,Dense)

 

 

Cost Measure = SUM('Fact vwClientProfitability'[Cost])

 

 

I have attached PBIX for you ref with Dummy data. Please help me .

@amitchandak , @almohalhel1408 @Greg_Deckler 

 

 

 

 

 

 

3 REPLIES 3
amitchandak
Super User
Super User

@lravikiran , for Rank to be correct you need to have 'Dimension vwClient'[Client Parent Name] in context or as filter, so if that is not there you need to force it.

 

os if the card visual is not getting filtered it will not give correct rank

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Sorry amit , that was wrong dax with the wrong Coloumn. Updated the dax now.

Hi @lravikiran ,

 

I didn't find the PBIX file you shared, could you please share it again?
What is the error? It shows 4, is this incorrect?

 

vkkfmsft_0-1643346898848.png

 

Best Regards,
Winniz

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.