Forum Discussion

ianpro's avatar
ianpro
Frequent Visitor
2 years ago
Solved

New Card - Reference Label trend images not working

For the life of me, I can't get the automatic trend icons/indicators (up/down arrows) to show on a new card visual for the reference labels. Ever since the November 2023 update announcment (https://powerbi.microsoft.com/en-us/blog/new-cards-reference-labels-public-preview/) that shows these, they simply don't work for me.  How do you make the trend icons appear? I have detail data with a previous year comparison percentage and there aren't any specific formatting options I can find to make these appear. 

 

Any guidance? Do these work for anyone?

 

Cheers,

- Ian

4 Replies

  • Hi ianpro 

    The trend arrows are not created using any built-in feature of the new card visual itself.

     

    I believe they would have been created using appropriate format strings for the percentage change measures that are used as "Detail" fields.

     

    Here is an example of such a format string you could use for the percentage change:

     

    +#,0%" ๐Ÿกน";-#,0%" ๐Ÿกป";0%

     

     

    Here's an article discussing this topic:

    https://www.sqlbi.com/articles/improving-data-labels-with-format-strings/

     

    You could also create text measures using the FORMAT function, but I would personally prefer using format strings for numerical measures.

     

    Regards

  • ianpro's avatar
    ianpro
    Frequent Visitor

    Thanks Owen, I'll give that a try. But I am surprised, given how MS has touted the ability to extensively format the reference labels and details, that it's not easier than that - they make no mention in their blog of custom format strings. Adam Sexton, in a Guy In a Cube video about the new card, uses the rference label and the trend icon just appears automatically as he builds the visual (jump to about 5:40 here: https://www.youtube.com/watch?v=aPrh4sK8CX4 ). 

     

    Is anyone else noticing whether or not these trend icons appear automatically in the new card? Maybe it's only when the increase or decrease amount is over a certain percentage?