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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
amitchandak
Super User
Super User

@Anonymous , isinscope should help

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

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!