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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Eddie9394
Regular 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]?    
 
Capture.JPG
 
 
 
 

 

 

 

 

3 REPLIES 3
MFelix
Super User
Super User

Hi @Eddie9394 ,

 

As in the field values if you double click the Tooltips you can change the name that appears:

 

tooltip.gif

 

In my example I use columns but you can also do it with measures.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Thank you for your reply!  Yes, I did that, but can I change the name dynamically based on selected value (in my case Year)?     

Hi @Eddie9394,

You cannot do that with the default tooltip, the workaround is to create a tooltip page and add it to your visual.

Regards,
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors