Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

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

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

 

TableTable

 

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 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , As of now you can not have two measures with legend. The workaround is, if legends are limited create that many measures.

Or check for custom visual https://appsource.microsoft.com/en-us/marketplace/apps?product=power-bi-visuals

View solution in original post

v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

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

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@Anonymous , As of now you can not have two measures with legend. The workaround is, if legends are limited create that many measures.

Or check for custom visual https://appsource.microsoft.com/en-us/marketplace/apps?product=power-bi-visuals

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.