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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Peterdstraw
Frequent Visitor

Measure-driven data label with multiple lines

Hello,

I'm trying to make use of the new measure-driven data labels to add a label to a line chart with the actual value and then the percentage variance from target underneath it.

I can create a measure that will do this in a card but in the chart both elements of the label appear on the same line still. Is there a way to get them on two lines or is this not implemented?

This is my measure code:

 

 

Label = 

VAR newline = 
"
"

RETURN

[Target] & newline & [% variance to target]

 

 


Thanks!


0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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