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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ConnieMaldonado
Responsive Resident
Responsive Resident

Filter a slicer visual based on a measure

I need to filter my date table based on the MIN and MAX dates from another table.

I have a slicer for the date table and have created measures for the MIN and MAX dates from the other table:

DATE Filter Begin = MIN('Other Table'[DATE])
DATE Filter End = MAX('Other Table'[DATE])

 

Is it possible to filter the slicer based on these measures?

 

Thanks!

1 ACCEPTED SOLUTION
v-tangjie-msft
Community Support
Community Support

Hi @ConnieMaldonado ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data.  

Other table:

vtangjiemsft_0-1670985594920.png

(2) We can create a table [SlicerDates] and place the table's date field on the slicer.

SlicerDates = CALENDAR(MIN('Other Table'[Date]), MAX('Other Table'[Date]))

Picture1.png

(3) Then the result is as follows.

vtangjiemsft_1-1670985824491.png

Best Regards,

Neeko Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

View solution in original post

2 REPLIES 2
ConnieMaldonado
Responsive Resident
Responsive Resident

Wow!  I would have never thought of that and didn't think it possible.  Thank you!

v-tangjie-msft
Community Support
Community Support

Hi @ConnieMaldonado ,

 

According to your description, here are my steps you can follow as a solution.

(1) This is my test data.  

Other table:

vtangjiemsft_0-1670985594920.png

(2) We can create a table [SlicerDates] and place the table's date field on the slicer.

SlicerDates = CALENDAR(MIN('Other Table'[Date]), MAX('Other Table'[Date]))

Picture1.png

(3) Then the result is as follows.

vtangjiemsft_1-1670985824491.png

Best Regards,

Neeko Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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