Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Web Intelligence
Viewing all articles
Browse latest Browse all 5402

Passing list prompt to InList function

$
0
0

Hi,

 

I have two queries - qry_1 brings back all brands; qry_2 brings back brands via a list prompt to select the key brands

 

qry_1 result:

brand 1

brand 2

brand 3

brand 4

 

qry_2 prompt: Select Key Brands

qry_2 result

brand 2

brand 4

 

Within the report I have merged the brands, I want to display the values for the key brands and roll up the other brands into "Other" e.g.

 

brand 2...

brand 4...

Other...

 

I have tried to do this with a variable with the following code:

 

=IF(brand InList(UserResponse("Select Key Brands"));brand;"Other") - however, the value returned by UserResponse is not suitable for passing into a list.

 

Does anybody know a workaround for this at all?

 

Many thanks

David


Viewing all articles
Browse latest Browse all 5402

Trending Articles



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