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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kt3734
Frequent Visitor

filter

Hi, I run my dax query query returned the result with all the  dates below.  However, when I add the addition below  to the query then then it  keeps Executing the query for a long time then I have to stop it.  Can you tell me why?- Thanks

 

FILTER ( 'Backlog','Backlog'[InvDate] <=TODAY()-15) 

 

Result before adding the filter above.

kt3734_1-1676316684805.png

 

1 ACCEPTED SOLUTION
BrianConnelly
Resolver III
Resolver III

Not sure as there is not enough detail, but we could modify your filter.   What does the performance analyzer tell you?

 

 

Try this....

VAR dateMarker = TODAY()-15

 

CALCULATE( .........

FILTER ( ALL('Backlog'[InvDate]), 'Backlog'[InvDate] <= dateMarker ) 

)

View solution in original post

1 REPLY 1
BrianConnelly
Resolver III
Resolver III

Not sure as there is not enough detail, but we could modify your filter.   What does the performance analyzer tell you?

 

 

Try this....

VAR dateMarker = TODAY()-15

 

CALCULATE( .........

FILTER ( ALL('Backlog'[InvDate]), 'Backlog'[InvDate] <= dateMarker ) 

)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.