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

Where statement in load

I wanted to add a where statement that loads data that have the timestamp within the last 60 days.

What would this look like?

2 Replies
beck_bakytbek
Master
Master

Hi Chris,

check this: everyday sum of past 5 days

i hope that helps

Beck

passionate
Specialist
Specialist

Hi Chris,

Do you mean you want to load last 60 Days Data.

In that case use

LET vPeriod=  Today()-60


Load .....

From Source

Where Timestampfield = $(vPeriod);

Make sure timestamp format of both is same.

Regards,

Pankaj