Compare Date and Timestamp in report
Hi,
I have a requirement to generate a report to show Bid Amount for each region for the last 12 months and also for one month time frame. I am using the bid date to compare. The formula/CASE expr in the bid revenue column is as follows:
CASE WHEN "Opportunity - Product".DATE_26 BETWEEN TIMESTAMPADD(SQL_TSI_DAY, -365, NOW()) and NOW()
THEN "- Custom Currency (Opportunity-Product)".LS_CUR_4
ELSE
0
END
This always returns 0. Not sure what am I doing wrong here. If I use the same expression in a bid date field, it gives me the correct bid amount.