Forum Discussion

Andyr's avatar
Andyr
Frequent Visitor
10 years ago
Solved

How to plot multiple lines on a chart

Hi, I'm totally new to power bi so I'm sorry if this is really obvious.

I'm trying to create something very similar to the airline engine part maintenance analysis report in the industry/airline example (see page 4 of the link below) i.e a line chart with multiple lines plotted on in.

I cant find a way to do this out if the box in power bi, can anyone tell me if this is possible without creating a custom visualisation?

https://app.powerbi.com/view?r=eyJrIjoiN2Q1OWM3OGItMGRhNi00YzI1LTkyZjUtMDQwOWE5Mzk1MjJiIiwidCI6IjU3NGMzZTU2LTQ5MjQtNDAwNC1hZDFhLWQ4NDI3ZTdkYjI0MSIsImMiOjZ9
  • Andyr You simply need to use line chart visual in power bi desktop and drop a column to Legend section to get multiple lines.

4 Replies

  • ankitpatira's avatar
    ankitpatira
    Community Champion

    Andyr You simply need to use line chart visual in power bi desktop and drop a column to Legend section to get multiple lines.

    • zakirahman's avatar
      zakirahman
      Frequent Visitor

      Is there a limitation to the number of values in legend (or number of lines) in a line chart?

      • montoyesco's avatar
        montoyesco
        Helper I

        I'm afraid that the Line Chart doesn't work if you need a legend with multiples measures on values.

  • ptadi_48's avatar
    ptadi_48
    Regular Visitor

    So, what to do if we have multiple measures to plot on the same line chart and also need to use a legand?