Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8507

Re: Use an array to filter on a dimension with multiple values

$
0
0

Hi Alexandre,

 

I was able to achieve this using arrays. I defined a global script object to retrieve and return data as a string, which would take in a single year. I also defined an array of the years (string array) and used a for loop to call and append each value within another string. Finally, I used a setText to display these values within a text component.

 

I have attached the screenshots and the scripts used.

1.png

2.png

3.png

 

Thanks and Regards,

Eshwar Prasanna


Viewing all articles
Browse latest Browse all 8507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>