on 2017 Feb 07 11:10 AM
Hi Team,
I am trying to select multiple filter values in our application using setFilter function but are not able to achieve the desired result. I have passed the filter values as an array of values but the data set is not filtered. Please let me know how this can be achieved.
I am trying to apply the filter in the following manner so that data for both US and UK is displayed.
DS_1.setFilter("COUNTRY",["United States","United Kingdom"]);
The syntax for the Filter data type does state that this should be possible but it is not working for me. Please let me know if i am missing anything.
"Specify filter values as follows:
My Design Studio version is 1.6 SP3 P1 and i am using a CSV data source.
Hi Saleh,
Setting multiple filter values via scripting is definitely possible and should be achievable by specifying and array as you indicated. Can you clarify how you have created the CSV file? Did you export it from an existing data source such as BW, HANA or a Universe?
Perhaps if you attached your actual CSV file we could try to replicate the issue.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mustafa,
Thanks for looking into this. I was actually referring to the wrong component in the script.
Thanks,
Waleed
User | Count |
---|---|
71 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.