Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
This is my data set (e.g.)
Product, Seller
AB_12, A
AB_13, B
AB_14, C
BB_11, D
BB_12, E
BB_13, F
CC_12, G
DD_12, H
I'd like to build a sales table with a dimension that only displays those Sellers that sold a product starting with "AB*" and "BB*"
I get the set analysis part of it ... {<Product= {"AB*", "BB*"}>} but get an error when trying to display only relevant Sellers.
How can I build this dimension to show only relevant Sellers?
Many thanks!
Hi,
You are getting an error because u need to apply aggr function in dimension.
I hope attached application will help you
Thanks
Vivek
Hi,
try the expression if(left(Product,2) = 'AB' OR left(Product,2) = 'BB', Seller) in your dimension and the e.g. Sum(Sales).
You can do it in the expression with your Set Analysis.
In both cases you have to uncheck "show zero values" for the dimension.
Regards
Hi,
You are getting an error because u need to apply aggr function in dimension.
I hope attached application will help you
Thanks
Vivek
Use the only function with this to get the appropiate results.
Hope this will help you.
You can find the attachement below.
regards
Kamal
Thanks. The Test1 application is useful and isa good tip for us all.
Many thanks Vivek and Kamal. Both approaches work just fine!