Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

How to replicate information represented as a table in a Line Chart?

I have created a table in PowerBI as per picture below.

 

Table

 

Now I am trying to display the same information as a Line Chart.

Date -> X-axis

ActualGnrtn -> Y-Axis

PASAAVAILABILITY -> Y-Axis

Attribute -> Legend

 

However, after I populate Axis with Date and Values with ActualGnrtn and PASAAVAILABILITY in the Line Chart, PowerBI won't let me alocate Attribute to Legend.

If I include a Slicer for Attribute, I can only get the sum of Values when I select more than one Attribute.

How do I replicate the table's data as a line chart?

 

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    The Line chart is not supported to have both legend and multiple values.

    You could consider to create multiple measure instead of using legend.

     

    Best Regards,

    Jay