Skip to Content
0
Former Member
Mar 11, 2015 at 04:21 PM

getDataString dimension for current year

20 Views

Hi masters,

I need to get specific year for a mesure on text element, I guess to do it with script on Startup, something like this:

Text_1.setText(DS_1M.getDataAsString("Dimension", {"0CALYEAR":Convert.subString(APPLICATION.getInfo().dateNowInternalFormat, 0,4)}))

But unfortunately it doesn't work. Do you know best way to filter current year on the dimensión?

thank you by advandce