Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Tooltip value showing on wrong line

On my visual, the tool tip value is not showing up on the correct line.  For example, in the picture below, "August" should be on the TransactionPostMonth Line but shows up on the TransactionPostYear line instead.  Is there a way to force August onto the correct row of the tooltip?  Any suggestions or help are appreciated.

 

 

  • Hi Anonymous ,

     

    Did you put TransactionPostYear  and  TransactionPostMonthName   in x-axis? Based on my test, it will put all values in x-axis together:

     

    But if you put the field with long name, it will result in line feed.

     

    As a workaround, try to shortened field name.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    Best Regards,

    Dedmon Dai

     

7 Replies

  • Anonymous 

    You have no control over shifting the place where the Tool Tip appears.

    You have used Clustered Column Chart, the light and dark blue values can be on the Primary axis as they are higher and the other two could be on the secondary axis, this way it would not be tiny. 

    Try  Line and Clustered Column Chart.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for the reply.  My question isn't about where the tooltip shows up on the chart but the text inside the tool tip.  Currently, the year and month are showing up on the first row of the tool tip even though they are 2 separate data fields.  I would like the month (in this case "August") to show up next to the month field inside the tooltip text box.  For example:

       

      The text inside the tooltip currently shows:

       

      TransactionPostYear                        2020 August

      TransactionPostMonthName          

      #Charge                                           94,000,000

       

      I'd like it to show:

       

      TransactionPostYear                        2020

      TransactionPostMonthName          August

      #Charge                                           94,000,000

       

       

      Hope this clarifies my issue.

       

      thanks.  

  • v-deddai1-msft's avatar
    v-deddai1-msft
    Community Support

    Hi Anonymous ,

     

    Did you put TransactionPostYear  and  TransactionPostMonthName   in x-axis? Based on my test, it will put all values in x-axis together:

     

    But if you put the field with long name, it will result in line feed.

     

    As a workaround, try to shortened field name.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    Best Regards,

    Dedmon Dai

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Your first example where each item on the x axis shows up on a single line is what I'm trying to solve/prevent.  I'd like each item on the x axis to be it's own line.  Is there a way to do that?

      Thanks.

      • v-deddai1-msft's avatar
        v-deddai1-msft
        Community Support

         Hi Anonymous,

         

        It is designed by default if you put these two column in x-axis,so if you want to show them in different lines, you can't use the default tooltips. There is a workaround, but it is a little complex. you can try to create a custom tootips, with these two fields in different lines. For more details, please refer to https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-tooltips

         

        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

         

        Best Regards,

        Dedmon Dai