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
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
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.