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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
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/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.