on 02-02-2018 10:06 AM
Hi people,
My new challenge is to just show the last 5 months of profits in a CrossTab.
Sound easy but:
2018 - 1
2017 - 12
2017 - 11 ...
Is there some way to implement this in a CrossTab?
Thank you in advance!!
Hi, Andres
In the application launch event, you can get the current month:
month_now= Convert.floatToString(Date.createNow().getUTCMonth(),"#");
Then you can write the algorithm for determining the last 5 months in Global Script.
For example, if month_nov = 05, then the range = [01,02,03,04,05]
Limit this range to the DS data source for Crosstab (DS_1.setFilter(name_dimension, array))
Regards,
Yulia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andres,
The "easy" answer is to create an offset variable in the BEx Query (assuming BEx is your datasource) that will automatically select the past 5 months and then send that to Lumira Designer. Performance in Lumira Designer will be faster too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.