Forum Discussion
Andyr
10 years agoFrequent Visitor
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
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
- ankitpatiraCommunity 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.
- zakirahmanFrequent Visitor
Is there a limitation to the number of values in legend (or number of lines) in a line chart?
- montoyescoHelper I
I'm afraid that the Line Chart doesn't work if you need a legend with multiples measures on values.
- ptadi_48Regular Visitor
So, what to do if we have multiple measures to plot on the same line chart and also need to use a legand?