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

The 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.

Reply
MuhammadImran
New Member

PowerBi Comparing two data sets in clustered bar chart, where one data bar shall change with slicer.

Dear all,

 

I am comparing two data sets in clustered bar charts. One let’s say "Target" for a year and other "Achievement" with cumulative monthly figure. The target is static number for whole year, whereas achievement is progressing every month.

So, I want to compare the data by changing month in slicer, but I want only the achievement bar to change. Would it be somehow possible?

Thanks
Imran

2 REPLIES 2
MuhammadImran
New Member

Thanks @amitchandak 

Attached are snaps of sample data and of the graph.

 

In graph, "Gray" bar is "Target" whereas "Orange" bar is achievement against target in Jan, Feb and March. I want it to be in one graph and add a slicer with names of Months (lets say comun headers in this case) in which when we select a month, it shall just change the orange bar.

Best
Imran

 

MuhammadImran_0-1666848266848.pngMuhammadImran_1-1666848308165.png

 

amitchandak
Super User
Super User

@MuhammadImran ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

See if these can help

Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-C...

 

Power BI Distributing/Allocating the Monthly Target(Convert to Daily Target): Measure ( Daily/MTD): https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Monthly-Target-...

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.