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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
dpc_development
Helper III
Helper III

Custom Visualisation for multiple legends and values

I realise that the default Area Chart in Power BI does not let you add more than one Legend and Values at the same time, but was wondering whether anyone may have made a custom visualisation to overcome this.

 

Looking for a suggested custom visualisation that plots more than one legend and more than one value metric at the same time, as an area chart.

 

I browsed through the list of custom visualisations and personally was not able to find one.

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @dpc_development 

1. In Edit queries, select columns "cr" and "relative cr" , select "Transform->Unpivot columns",Then i get the table as below

10.png2. Select two columns "Attribute" and "item":

click on "Attribute" first, keep "Ctrl" button pressed, then click on "item".

then select "merge columns"

11.pngCLOSE &&APPLY

3.

You could use Line chart or area chart

Go to "Format" pane,

you could change the position of the legend in the Legend property, 

Change the color in in the Data color property

13.png12.png 

Best Regards

Maggie

 

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

View solution in original post

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @dpc_development 

1. In Edit queries, select columns "cr" and "relative cr" , select "Transform->Unpivot columns",Then i get the table as below

10.png2. Select two columns "Attribute" and "item":

click on "Attribute" first, keep "Ctrl" button pressed, then click on "item".

then select "merge columns"

11.pngCLOSE &&APPLY

3.

You could use Line chart or area chart

Go to "Format" pane,

you could change the position of the legend in the Legend property, 

Change the color in in the Data color property

13.png12.png 

Best Regards

Maggie

 

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

v-juanli-msft
Community Support
Community Support

Hi @dpc_development 

As searched, i can't find any visual as you said.

Could you share some example data and draw a simple picture to show your expected visual so that i may work out with a workaround?

 

Best Regrads

Maggie

Hi Maggie ( @v-juanli-msft ). I uploaded a sample here.

 

I guess one work around would be to  re-organise the data with the metric name and legend name concatenated.

 

However, was hoping there'd be an easier solution that sets the colour of the legend the same for both values/metrics.

Hi @dpc_development 

Is this problem sloved?

If not, please let me know.

 

Best Regards

Maggie

 

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

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.