Forum Discussion

FR5702's avatar
FR5702
Helper I
8 years ago
Solved

Problem with tooltip, multi value don't work anymore

Hi all, 

 

I need your help with a problem I didn't have before.

I created a tooltip with multiple values for a same display name, it worked before without any problem and now it's not working. I checked with my old code version and it's still not working...

My chart should show me (it's the data I use for my point) : 

And it only shows me :

What is the reason for this change ? Has there any tooltips-related changes in an update recently ? 

Thank you !

 

EDIT: It seems to be related to the fact that my two last arrays have the same display name, but it wasn't a problem before, so what has change ? 

  • Tooltip Service does not support the same display names. We recommend to add a number or additional space into duplicated displayName to avoid collision.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

5 Replies

  • v-viig's avatar
    v-viig
    Community Champion

    Tooltip Service does not support the same display names. We recommend to add a number or additional space into duplicated displayName to avoid collision.

     

    Ignat Vilesov,

    Software Engineer

     

    Microsoft Power BI Custom Visuals

    [email protected]

    • FR5702's avatar
      FR5702
      Helper I

      Thank you v-viig,

       

      That's what I did, I add 1,2,3,... in my displayname when there is more than 1 with the same displayname.

      • v-viig's avatar
        v-viig
        Community Champion

        Could you please describe use case? What do you show the same displayNames for?

         

        Ignat Vilesov,

        Software Engineer

         

        Microsoft Power BI Custom Visuals

        [email protected]