I want to plot revenue for two time periods "Last 30 Days" and "Last 60 Days" on the same diagram. The problem is that for "Last 60 Days" all the data that already is in "Last 30 Days" will not be included.
This is due to my IF clause which looks like this:
IF [Auftragsdatum] >= DATEADD('day', -30, NOW()) AND [Auftragsdatum] <= DATEADD('day', 0, NOW()) THEN 'Last 30 Days'
ELSEIF [Auftragsdatum] >= DATEADD('day', -60, NOW()) AND [Auftragsdatum] <= DATEADD('day', 0, NOW()) THEN 'Last 60 Days'
END
Does anybody know how to work around this?