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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
garzjnc
Frequent Visitor

Filters

Hi all,

I need help with creating filters in PowerBi that only apply to future dates. The filter will filter out certain appointment types for 2024 and on. I don't want the numbers to change for the historical data. Any help will be appreciated.

1 REPLY 1
Anonymous
Not applicable

Hi @garzjnc ,

If I understand correctly, the issue is that you want to filter the future dates. Please try the following methods and check if they can solve your problem:

1.Create a calculated column to classify each date as either a future date or not. Enter the following DAX formula.

IsFutureDate = IF([DateField] >= DATE(2024, 1, 1), TRUE, FALSE)

 

2.Create a column to exclude the appointment types.

ExcludeAppointmentType = IF([AppointmentType] IN {"Type1", "Type2"}, TRUE, FALSE)

 

3.Add both IsFutureDate and Exclude columns to the filters pane.

 

4.For IsFutureDate, set the filter to show items when the value is true. For Exclude, set the filter to show items when the value is false.

 

5.Applying the filters.

 

If the above ones can’t help you get it working, could you please provide more raw data(exclude sensitive data) with Text format to make a deep troubleshooting? It would be helpful to find out the solution.

 

Looking forward to your reply.

Best Regards,

Wisdom Wu

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.