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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
admin11
Memorable Member
Memorable Member

How to combine 3 chart into 1 ?

Hi All

I have 3 chart , the purpose of the 3 chart , it allow me to know the trend sales by brand. For example YTD the rank no 1 brand is Beckhoff , and during 2020 and 2019 Beckhoff sales is rank number 2. 

 

admin11_0-1618491266846.png

 

Now i like to know how to plot this chart in one chart. Reasons is more easy to create. Since 3 in 1.

 

Below link is my PBI file :-

https://www.dropbox.com/s/wemhzeuqlcreymu/PBT_V2021_398_%20TI_SI_SAMPLE.pbix?dl=0

 

Paul 

 

9 REPLIES 9
Anonymous
Not applicable

Hi @admin11 ,

 

The file was deleted. You may consider to create 3 measures for 2019, 2020, YTD values. Put the measures in Values and use BRAND_C as Axis.

 

Best Regards,

Jay

@Anonymous 

will you be able to share with me it is possible to do it ?

@Anonymous 

 

Thank you for sharing .

I have try the top chart base on your advise. i still cannot get it .

admin11_0-1618997578834.png

 

 

 

My PBI file :-

https://www.dropbox.com/s/5buf2tq896soh5e/PBT_V2021_400%20SI_TI.pbix?dl=0

 

dedelman_clng
Community Champion
Community Champion

Hi @admin11 -

 

Building on what @DouweMeer said, you can also try these. In both cases you would use [SALES_] as the value, not the separate measures you have for each year:

 

Clustered Column chart with Axis = Year and Legend = BRAND_C

2021-04-15 10_25_28-PBT_V2021_398_ TI_SI_SAMPLE (1) - Power BI Desktop.png

 

Clustered Column Chart with Year and BRAND_C as 'hierarchy" axes (no legend)

 

2021-04-15 10_26_53-PBT_V2021_398_ TI_SI_SAMPLE (1) - Power BI Desktop.png

 

Hope this helps

David

@dedelman_clng 

Noticed it wasn't solved yet. He needs to have to sort on the legend behave differently. Now, I don't know whether it works dynamically, but perhaps use the 'sort by column' function to make the legend sort different than alphabetically. You could perhaps create a sort per context by pre-calculating the results in a custom column and make it work by that. 

Doubt the functionality though when it can't be done dynamically as you would need different figures through the years if they are not consistent.  

@dedelman_clng 

 

Your proposal is great , but i need to sort from high sales on the left . if you notice from the image i posted when i first post this , all the 3 chart are sort from high to low. so very easy for me to notice that brand the sales drop from top 1 to 2.

admin11_0-1618545649334.png

 

DouweMeer
Impactful Individual
Impactful Individual

Theoretically you could do a line chart with the years on the x-axis and the brand in the legend as well. But those are not columns :). Lines would be good if you have multiple year. 

Pic_2.png

Your choice :). But you don't have to follow thesse of course. 

@DouweMeer 

Thank you for share the the very informative chart.

Paul

DouweMeer
Impactful Individual
Impactful Individual

Like so? 

Untitled.png

Just ditch the year in the measure I guess and then use the clustered column chart. 

Haven't checked on your pbi file as I don't have access to dropbox here :). 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.