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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Ibu
Frequent Visitor

When multiple visuals filter a column, how to selectively apply any one filter elsewhere?

Sorry for the mouthful of a title 🙂 It's me again with my ageing report made up of a date slicer, a chart, and a matrix.

 

Both the date slicer and the chart filter the Date[Date] column. It should be possible to select an individual month in the chart to focus on it, as is done in the picture below. That said, the chart is displaying running totals, and "focusing on a month", to the matrix, means it should still consider all transactions in the period (as filtered by the slicer) up to the selected month (in the chart). 

 

In other words, the matrix should consider the start date as defined by the slicer and the end date as defined by the chart. In this example, startDate = 11/23/2012 (beginning value of slicer) and endDate = 11/30/2021 (end of chart selected bucket).

 

I only know how to use ALLSELECTED from the matrix to get the intersection of all outside filters (in this case it would be 11/1/2021-11/30/2021). Is there a filter or strategy that would achieve my goal?

 

Ibu_1-1668606449803.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Ibu , You should use after slicer option in that case .

 

If not you might have to consider an independent date for the slicer

 

//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Date])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_max))

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Ibu , You should use after slicer option in that case .

 

If not you might have to consider an independent date for the slicer

 

//Date1 is independent Date table, Date is joined with Table
new measure =
var _max = maxx(allselected(Date1),Date1[Date])
return
calculate( sum(Table[Value]), filter('Date', 'Date'[Date] >=_max))

 

Need of an Independent Date Table:https://www.youtube.com/watch?v=44fGGmg9fHI

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks @amitchandak , using a separate Date table makes sense. I have yet to try it but believe it should work.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors