on 10-23-2018 9:03 AM
Hello Experts,
I'm working with Lumira Designer and am trying to get a value from a DataSource that is based on multi-member selection for a particular dimension. I have not seen any examples of it so I'm wondering if it's even possible. For example I want to get Net Sales for years 2017, and 2018. I've tried the selection: {"0CALYEAR":["2017,""2018"]} without success. If someone can shed some light on the matter, I will greatly appreciate it
Thanks,
Dimitar
Hi,
I ran in to the same problem, what i did was instead of using Year i used date range ["2017-01-01 - 2018-01-01"] .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I've seen it! I'm not iterating over anything. I just want to have a selection for a Measure(eg Net Sales) that uses multiple members for a dimension(in this case 0CALYEAR: 2017 and 2018). I see that the value part of the key-value pair in the JSON has to be Member which makes me think the API is designed to work with a single member only. I guess the workaround would be to set a filter as an inputString on the data source and call DS.getData(Measure,{}). That way you will simulate your selection using a filter and you will retrieve all data available in the data source for Measure after applying the filter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
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.