Forum Discussion

rafix87's avatar
rafix87
New Member
2 years ago
Solved

Tooltip on bar chart

Hello everyone! I have a problem with tootlip - I know how to create a tooltip, but I can't create the appropriate measures 🙂

I have a bar chart as below.

I need to make a tooltip that will show me a line chart when hovering over each measure, i.e. when hovering over measure1 there will be a line chart for measure1. If I hover over measure2 it will show a line chart for measure2 etc. As below.

Regardless of which period I choose, there should be two points on the line chart

Please, help!

Thank you in advance!

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi, rafix87 

    Thanks for Idrissshatila's concern about this issue.

     

    I am glad to help you.

     

    Unfortunately, visuals have some limitations, you can define your own tooltips to be displayed in a certain visual image, but it's not smart enough to recognize them and it's not possible to multi-select custom tooltips.

     

    Maybe you can refer to my method:
    First create a new table and add a new column Period:

    Table2 = SELECTCOLUMNS(Table1,"Period",Table1[Period])

    Then New a new page to create a tooltip page:

     

     

    Apply the new tooltip page to the Stacked column chart:

    Result:

     

    I have attached the pbix file for this simple example below, I hope it helps.

     

     

     

    I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
    Best Regards,
    Fen Ling,
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies

    • rafix87's avatar
      rafix87
      New Member


      I know how to create a tooltip, but I can't create the appropriate measures to get the expected result.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, rafix87 

    Thanks for Idrissshatila's concern about this issue.

     

    I am glad to help you.

     

    Unfortunately, visuals have some limitations, you can define your own tooltips to be displayed in a certain visual image, but it's not smart enough to recognize them and it's not possible to multi-select custom tooltips.

     

    Maybe you can refer to my method:
    First create a new table and add a new column Period:

    Table2 = SELECTCOLUMNS(Table1,"Period",Table1[Period])

    Then New a new page to create a tooltip page:

     

     

    Apply the new tooltip page to the Stacked column chart:

    Result:

     

    I have attached the pbix file for this simple example below, I hope it helps.

     

     

     

    I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
    Best Regards,
    Fen Ling,
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.