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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Rank

Hi Team, 

 

Right now i am working with One bar chart it is between Date and Revenue.

I am using Date Hirarchy in Axis and Revenue in Values. Now i want to show rank in tooltp for selected hirarchy that is when i am in Year it as to show Rank based on year, When i drill down Quarter it as to show rank based on Quarter and same for months also.

Attached the screenshot for reference.

When in Year

uchappidi_1-1606654773630.png

 

When In Quarter

uchappidi_0-1606654715171.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Please help me to solve this issue.

 

Regards,

 

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous,

You can refer to the following link to know how to check the current row content level on hierarchy fields then you can write different expressions for different row content levels. 

Clever Hierarchy Handling in DAX 

After these steps, you can create a custom report tooltip with visuals to show category with this measure formulas.

Create tooltips based on report pages in Power BI Desktop 
Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@Anonymous , isinscope should help

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

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
Fowmy
Super User
Super User

@Anonymous 

Hope this link will be of helo to you: https://dataninjago.com/2017/12/11/dax-ranking-with-hierarchy-drill-down/

 

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.