Forum Discussion

DFC's avatar
DFC
Frequent Visitor
6 years ago

Tooltip in Line and Clustered Column Chart

Hello everyone,

 

I am relatively new to Power BI. I was asked to have a tooltip for the bars and another one for the line. I looked around and the best I found was creating a report page of the type tooltip and associating it to the graph customization options. However I did not find a way to differentiate tooltips between the two "shapes". Is it even possible?

 

Explanation with an example:

My task was to display the number of complaints (made and resolved) over a set of schools and, in each school, to clearly display the place (classroom A, classroom B, classroom C, cafeteria, principal's office, ...) with the most complaints.

 

What i came up with was a Line and Clustered Column Chart where the columns will show the complaints and the line (it is not really a line, just the dot) will be showing the max in that school.

 

The tooltip would be a standard one in the bars but in the "line" would also show what is the name of the place with the most complaints. If I just add the "place" variable in the Tooltip option in the "Fields", it will also show "place" in the bars which makes no sense since the bars aggregate all places in that school.

 

 

Hope i was clear with my explanation.

5 Replies

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

    Hi DFC ,

     

    Sorry for that, But we cannot understand your data model clearly, Could you please provide a mockup sample based on fake data or describle the fields of each tables and the relations between tables simply? It will be helpful if you can show us the exact expected result based on the tables. Please upload your files to One Drive and share the link here.

    Please don't contain any Confidential Information or Real data in your reply.


    Best regards,

     

  • Hi DFC ,

     

    Here is Dot and clustered column chart which will help you get different tooltip for dot and clustered column chart.

    Dot and clustered column chart, PBIVizEdit.comDot and clustered column chart, PBIVizEdit.com

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Download link for the custom visual file in this page,

    https://pbivizedit.com/gallery/custom-tooltip-for-dot-and-clustered-column-chart 

     

    This was made with our Custom Visual creator tool PBIVizEdit.com. With this tool,

    • anyone, irrespective of technical skills, can create their own visuals
    • 15 minutes to create a visual from scratch
    • opens up many additional attributes to edit (for e.g. labels, tooltips, legends position, etc)

    Give this a shot and let us know if you face any problem/errors.
    You can use the editor to modify your visual further (some modifications cannot be done in Power BI window and have to be in editor).

    Thanks,
    Team PBIVizEdit