Forum Discussion

Paramjit's avatar
Paramjit
Helper II
4 years ago
Solved

Tooltip in LineChart

Hello,

 

Power BI shows the parallel data points for all the lines together in one tooltip. Is there any way to show only single datapoint in tooltip where the mouse hover rather it shows all together.

 

Thank you,

Paramjit

  • Thanks for the link. As per below, there is no way to get the seperate tooltip for each data points.

     

    Report tooltips and line charts

    When a report tooltip is displayed for a line chart, only one tooltip for all lines in the chart is displayed. This is similar to the default tooltip behavior for line charts, which also displays only one tooltip.

    This is because the field in the legend does not get passed through as a filter for the tooltip. In the following image, the tooltip being displayed is showing all units sold on that day across all three classes displayed in the report tooltip (in this example, Deluxe, Economy, and Regular).

4 Replies

    • Paramjit's avatar
      Paramjit
      Helper II

      Thanks for the link. As per below, there is no way to get the seperate tooltip for each data points.

       

      Report tooltips and line charts

      When a report tooltip is displayed for a line chart, only one tooltip for all lines in the chart is displayed. This is similar to the default tooltip behavior for line charts, which also displays only one tooltip.

      This is because the field in the legend does not get passed through as a filter for the tooltip. In the following image, the tooltip being displayed is showing all units sold on that day across all three classes displayed in the report tooltip (in this example, Deluxe, Economy, and Regular).

      • Martin_D's avatar
        Martin_D
        Solution Sage

        You can show a single data point tooltip on a line chart, but it requires some really mad hack.

        You need to switch the x-axis to "Continuous" and then make sure, besides values for the dates that you want to show, also a value for the "blank" date is returned. This will not appear in the chart, because on a continues axis there is no blank anywhere, but it will trick the chart into overflow mode, and in overflow mode it shows only per data point popups.