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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
gracehutchinson
New Member

Advanced filtering slicer

Hey! I have a sliding slicer where you can select a range of dates you want to see the visuals in. I am trying to make another visual (a table) that shows how many tickets were open during a specific time frame. I was thinking about using advanced filter settings on the table, such as only counting those in which the closing date is greater than that of the maximum slicer value, however the advanced settings only allows for a manual input. If anyone knows how to help/has any ideas that would be greatly appreciated 🙂

1 ACCEPTED SOLUTION
ValtteriN
Super User
Super User

Hi,

Here is one way to do this:

Data:


 ValtteriN_4-1689056285040.png

 


Relationships:

Calendar and table 33 don't have any relationship

Dax:

Filter based on max date = var _mdate = MAX('Calendar'[Date]) return
IF(MAX('Table (33)'[Date])>=_mdate,1,0)

Place the measure like this:

Now since the range has 9.9.2023 selected only the last two values are shown.

When another date is selected the values change:

ValtteriN_3-1689056232695.png

ValtteriN_2-1689056175270.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
ValtteriN
Super User
Super User

Hi,

Here is one way to do this:

Data:


 ValtteriN_4-1689056285040.png

 


Relationships:

Calendar and table 33 don't have any relationship

Dax:

Filter based on max date = var _mdate = MAX('Calendar'[Date]) return
IF(MAX('Table (33)'[Date])>=_mdate,1,0)

Place the measure like this:

Now since the range has 9.9.2023 selected only the last two values are shown.

When another date is selected the values change:

ValtteriN_3-1689056232695.png

ValtteriN_2-1689056175270.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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