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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
jdivina
New Member

Report Builder Data Set Query Designer Date Filter Expression

Hi,

 

In the report builder I am using the Query Designer to build tables. But I can't figure out the "filter expression" to show anything created after 5/1/2020. I've tried normal DAX expressions but I keep getting errors(I'm new at them so I could have gotten them wrong). I have been using "Contains" under the field "Operator" and tried using excel forumals <5/1/2020. Im just not getting it right. Any help would be appreciated.

 

Side question. Is there a DAX expression tool maker?

 

Thanks,

Jeremy

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User


@jdivina wrote:

I have been using "Contains" under the field "Operator" and tried using excel forumals <5/1/2020.


Contains is not correct. It will be looking for the literal text "<5/1/2020" in your date column.

 

If you use the "Range (Exclusive)" operator and then just pick a start date it will produce a query that returns everything after the specified date.

 

2020-05 report builder date range.png

 


 

Side question. Is there a DAX expression tool maker?

Not really, the query builder is the closest tool that does this. 

View solution in original post

1 REPLY 1
d_gosbell
Super User
Super User


@jdivina wrote:

I have been using "Contains" under the field "Operator" and tried using excel forumals <5/1/2020.


Contains is not correct. It will be looking for the literal text "<5/1/2020" in your date column.

 

If you use the "Range (Exclusive)" operator and then just pick a start date it will produce a query that returns everything after the specified date.

 

2020-05 report builder date range.png

 


 

Side question. Is there a DAX expression tool maker?

Not really, the query builder is the closest tool that does this. 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.