Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
danny4202001
Contributor II
Contributor II

Where Condition

hello friends,

How to change the below where condition if we need data starting last week to future infinite everything available in the source 

 

Weekstartdate = WeekStart(Now(),-1,0)

 

Thanks,

D

Labels (1)
2 Solutions

Accepted Solutions
QFabian
Specialist III
Specialist III

Hi @danny4202001 maybe this :

Where

datefield  >= today()-7

Weekstartdate = WeekStart(Now(),-1,0)

QFabian

View solution in original post

danny4202001
Contributor II
Contributor II
Author

Hello Fabian, 

Thank you for the reply, What if you need data from YTD?

Thanks

 

 

View solution in original post

3 Replies
QFabian
Specialist III
Specialist III

Hi @danny4202001 maybe this :

Where

datefield  >= today()-7

Weekstartdate = WeekStart(Now(),-1,0)

QFabian
danny4202001
Contributor II
Contributor II
Author

Hello Fabian, 

Thank you for the reply, What if you need data from YTD?

Thanks