Forum Discussion
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
When In Quarter
Please help me to solve this issue.
Regards,
3 Replies
- FowmySuper 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 🙂
- amitchandakSuper User
Anonymous , isinscope should help
https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/
- AnonymousNot 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