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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Nigel
Frequent Visitor

Potential Defect in the Newly launched Custom Labels for Chart Series Data Values

Hi All,

 

It seems that there is a defect (or feature) when you use the new Custom Label option when formatting a Data Label for a Series.

 

Your series has values for each x-dimension but the Custom Label Measure may have gaps which evaluate to BLANK() for some x-dimensions (i.e. your Label Measure may have just the first and last points of a series line). If so, the underlying series labels are shown in place of the Custom Label Measure.

 

If you want to only ever show the Custom Label values (including the points where you want no label to be shown), you have to set the label to " " rather than BLANK().

 

Is this a defect or a feature? Either way, this may help you of you come across this.

1 REPLY 1
ShabibAH
Frequent Visitor

run across the same

this measure resolve it. Where it allow only non-blank value to show as a custom lable in the line chart

 

Measure = IF(ISBLANK(
            SELECTEDVALUE('Table'[Text])),
                " ",
                SELECTEDVALUE('Table'[Text]))

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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