Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 219416

Query Editor Custom Column If function on Date

$
0
0

Hi, I have to create a custom column in the query editor which will show an indicator for the number of days, based on date.

 

Str.PNG

If using calculated columns the formula will show as below... 

Last Two Months = IF(TODAY()-[Date]<=30,1,IF(TODAY()-[Date]<=60,2,0))

How can I get the same result when creating a custom column in the query editor?

Thank you in advance.


Viewing all articles
Browse latest Browse all 219416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>