Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello all,
I'm trying to use a clustered and stacked chart to compare 2 segments of same company in 2019 and 2020, and after sort by value and company name
I already have 2020 in a stecked chart divided by company and segment.
How can i insert 2019 at same chart?
Both file are avaliable in:
2019 - http://www.anfavea.com.br/docs/siteautoveiculos2019.xlsx
2020 - http://www.anfavea.com.br/docs/siteautoveiculos2020.xlsx
at table IV. ( in itens Automóveis (Passanger Vehicles) and Comerciais leves (Light commercial Vehicles)
Thanks,
Solved! Go to Solution.
Please see the below photo for reference. You need to click the three dots on the visual to change it to sort by Company Year, and expand the drill down to the year level in the hierarchy. In the screenshot below SalesTerritoryCountry = Company, Quarter=Year, Color= whatever column gives you PV and light CV
Other options is to use a custom visual from marketplace, some of these allow tiling of the visuals with the small multiple feature which may be more in line to what you want: https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381825?tab=Overview
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi @robertokzl ,
In Power BI Desktop, it’s not possible to create a chart which can combine both Clustered and Stacked column chart together. The expected result as you posted can’t be achieved.
As a workaround, as mentioned by AllisonKennedy , create a DimDate table and create a custom hierarchy like: year - company. Use it in x-axis, and you can use drill down to view detailed message.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi Allison,
I already have chart below and i just would like to see 2019 exactly like 2020 but without pareto line.
Like FCA with 2 collumns one for 2020 and other for 2019 stacked with PV and Light CV like current chart.
If i user a DimTable and drill down i can not compare 2020 and 2019 side by side with all company overview that what i expect to have!
Thanks Allison.
Please see the below photo for reference. You need to click the three dots on the visual to change it to sort by Company Year, and expand the drill down to the year level in the hierarchy. In the screenshot below SalesTerritoryCountry = Company, Quarter=Year, Color= whatever column gives you PV and light CV
Other options is to use a custom visual from marketplace, some of these allow tiling of the visuals with the small multiple feature which may be more in line to what you want: https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381825?tab=Overview
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi @robertokzl ,
In Power BI Desktop, it’s not possible to create a chart which can combine both Clustered and Stacked column chart together. Because it can’t determine which group of series need to be “clustered”, which group of series need to be “stacked”. And it’s still not supported to add multiple fields into Legend of a chart.
Please vote for the similar idea: https://ideas.powerbi.com/ideas/idea/?ideaid=db76a137-4324-4d6c-b5c5-cb85f9b6950a to improve the power bi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.