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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.