Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Date range filter

$
0
0

Hi Guys,

 

I need to run a report based on 1 sql query that splits into two excel tabs. One tab for all time, next for prior 7 days, I wish to automate this using a date filter. I'm currently using a custom filter with  datetimediff(datetimetoday(),[Publish_Date],"days") <= 7 but for some reason it's not giving me the right numbers. Could someone advise where I'm going wrong, or perhaps suggest a better approach?

 

Thanks,

Alex

 

 


Viewing all articles
Browse latest Browse all 4999

Trending Articles