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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.