Sounds like a syntax error . "Cannot convert to Date from: int" you could confirm if it is syntax by removing this line dataSourceOptions=(dbmswhere="posted_on_dt=201902")
... View more
I think you can do that with an aggregated measure showing YTD.
Right-click on the measure and select "Create-YTD" (or what it is called in english).
//Fredrik
... View more