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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Badger43
Frequent Visitor

Clustered Column Chart Help

Hi All,

I am stuck on a request and hoping someone can help me find a solution, I have searched online without any luck.

 

I am using a clustered column chart to show actual vs budget by month (example below).

The page the chart sits in, contains a month slicer, which in order to show values for future budget months I have set not to interact with this slicer.

 

I have now had a request to only show values for actuals equal to or before the slicer value selected.  Therefore if someone selected February then the March actual bar would disappear but all months of budget can remain.

 

Is there anyway of doing such a thing?  If I make the month slicer interact with the visual, it would filter to only show the selected month.

 

Thanks in advance for any help available

 

 

 

ClusterChartDemo.JPG

2 REPLIES 2
amitchandak
Super User
Super User

@Badger43 , Create an independent date table and use that in slicer

 


new measure =
var _max = maxx(allselected(Date1),Date1[Date])
return
calculate( [Actual], filter('Table', 'Table'[Date] 'Table'[Date] <=_max))

 

if you have joined date table

 


new measure =
var _max = maxx(allselected(Date1),Date1[Date])
return
calculate( [Actual], filter('Date', 'Date'[Date] 'Date'[Date] <=_max))

 

 

Same way you can measure for target too

 

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

Thanks for your help.  I have a joined date table and this is also used to filter various other views.

 

If I try and use your second solution would I filter the clustered chart by the month or not?  Thanks.

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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