Forum Discussion

Nigel's avatar
Nigel
Advocate II
3 years ago

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

  • ShabibAH's avatar
    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]))