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

Re: Filter on dimension at run time

$
0
0

Hi Elizabeth,

 

You could try an approach like this:

 

1)  In your BEx Query, create a Formula Variable based on dimension Instance

 

2)  Create a Calculated Key Figure based on the formula variable and set Calculate Single Values as Maximum

 

3)  Apply the getDataAsString() method to obtain the value of the Calculated Key Figure in 2

 

4)  Apply setFilter("Instance", value from Step 3)

 

 

Regards,

 

Mustafa.


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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