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

InList () ---Both, And, Or, Only

$
0
0

I have a table like this.

 

Customer IDProduct
1Apple
2Apple
2Orange
3Apple
4Orange

 

As you can see, Customer 2 bought both Apple & Orange.


I want to count these customers who bought BOTH Apple & Orange.

 

To do that, I made the following variable.

 

No. of Customer

=count([ID]) Where ([Product] InList("Apple";"Orange")

 

Problem is that it counts every customer who has apple OR orange.

 

How can you do Both in Inlist()?

 

Is there such thing as:

InList(Both())...

InList(All())...

 

Could anyone please help me...?


Viewing all articles
Browse latest Browse all 5402

Trending Articles