Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a date expression which I would like to restrict from 2017 onwards.
=date(FLOOR(MonthEnd(StockDate)),'MMMYYYY')
Is it possible to add 'YEAR(StockDate)>2016 ' to the above expression?
Thank you in advance!
what's your goal?
At the moment I have data going back to 2012, so hoping to update this expression to only show data from 2017.
In back end you can add where condition to your script
Load
Year,
....
From ABC
Where Year >='2017';
Or in front end use
if(Year>=2017,Year) as your dimension
or You can create same dimension in your script if you want to allow all the years data but in one table if you only want data from 2017
Load
Year,
if(Year>=2017,Year) as Years
From ABC;