Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I currently have a clustered bar chart that shows sales, quota and pipeline like the screenshot below. I want to stack the pipeline data on top of the sales data like shown below and have them remain different colors to distinguish between the two. How can I do this? Thank you
Hi @Anonymous ,
You can use if or switch statements to create a calculated column.
test = IF('Table'[type]="pipeline","sales",'Table'[type])
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you, but this does not solve my problem. I want the pipeline and sales data combined, but still to be different colors to show the difference.
Hi @Anonymous ,
Well,I mean that set the calculated column as the legend will combine the pipeline and sales.
Look at the first picture. If you don't mean this, please let me know your scenario.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.