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

Re: Disable Range in Dimension Filters

$
0
0

Hi,

Indeed, I'm sorry it appeared I didn't fully understood your issue.

 

I tried this code, to catch me a "string".

i used var_start and var_end insteadof low and high and the dimension "year" as values

 

var array = DS_1.getMembers("Year",20);

var check = 0;

var string = var_start;

 

if (var_end != ""){

   array.forEach(function(element, index) {

           if (element.text == var_start){

         check = 1;

           }else{

                   if (element.text !=var_end && check == 1){

                           string = string + ";" + element.text;

          }else{

                          if (element.text == var_end && check == 1){

                                     string = string + ";" + element.text;

                   check = 0;

              }           
          }

     }

    });

}


Viewing all articles
Browse latest Browse all 8623

Trending Articles



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