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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Pradeep_757
Regular Visitor

Custom Legend grouping color change

Hi Power BI Experts,

 

I am new to Power BI

I have one requirement, which is one dimension that is no. of days field and one measure that is average of amount field, and one legend that is account number field as of now line chart looks good, but here I want differentiate account numbers colors based on region.

This requirement needs fullfill in Power BI Line chart.

 

Please help me, thanks in advance.

Expected Output. 

Pradeep_757_1-1662028474580.png

@Amit @pavan

 

 

Regards

Pradeep

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Pradeep_757 ,

Based on my research and testing, the default line chart currently only supports one field on the Legend option of the line chart visual. Here's a similar idea shared on Power BI Ideas where you can vote and add your comments to improve Power BI's improvements to this feature.

Line Chart with multiple values fields and legends

 

And could you please provide some sample data(exclude sensitive data) and your final expected result? Later we can check if there is any workaround or alternative to achieve it. Thank you.

Best Regards

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Pradeep_757 , Not very clear to me. But you can have legend or multiple measures, not both

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Can we have multiple legends in Power BI line chart.

Anonymous
Not applicable

Hi @Pradeep_757 ,

Based on my research and testing, the default line chart currently only supports one field on the Legend option of the line chart visual. Here's a similar idea shared on Power BI Ideas where you can vote and add your comments to improve Power BI's improvements to this feature.

Line Chart with multiple values fields and legends

 

And could you please provide some sample data(exclude sensitive data) and your final expected result? Later we can check if there is any workaround or alternative to achieve it. Thank you.

Best Regards

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.