Forum Discussion
Eddie9394
7 years agoRegular Visitor
Dynamic Data Labels and Tooltips (not title) base on selection
Is it possible to do dynamic data label and tooltip inside a visual?
I have a slicer for years, I like to show 3 years of Margin (SY, SY -1, and SY-2) base on what the user selected from the slicer.
I created new measure columns as follow:
Margin TY = SUM(ClientWeeklySummary[GROSSMARGIN])
Margin LY =CALCULATE (ClientWeeklySummary[CS_Gross Margin TY],DATEADD ( Fiscal[Fiscal], -1, YEAR))
Margin LLY=CALCULATE (ClientWeeklySummary[CS_Gross Margin TY],DATEADD ( Fiscal[Fiscal], -2, YEAR))
I created a dynamic title Gross Margin (SY/SY-1/SY-2) but is it possible to change the name of the data labels?
Margin TY to Margin [SY]
Margin LY to Margin[SY-1]
Margin LLY to Margin[SY-2]?
3 Replies
- Eddie9394Regular Visitor
Thank you for your reply! Yes, I did that, but can I change the name dynamically based on selected value (in my case Year)?