Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have Sales by Products.
For example:
Product, Sales
A, 1
B, 2
C, 3
I wrote set analysis with Sum of Sales for the Product A
=Sum ({<Product = {A}>} Sales)
Now, set analysis shows me the Sales of Product A when Product A selected or there is no selection for the Product.
Problem is when I select the Product B or C then I don't see anything in the set analysis it shows me -.
Object is to show the Sum of Sales for the Product A whether the Product A selected or not also show me the sales for the Product A even Product B or C selected. I mean I don't want to include Product B or C in any case.
Thanks
If your data model and expression is as you describe then Sum ({<Product = {A}>} Sales) should be enough, but if you are making selections in any other field then that will effect your measure.
Example:
If you set analysis is done on product_id, but your users filter on Product then the - will appear.
If possible change either the set expression or the filter given to the users. Or clear out the user filter in the modifier like this:
Sum ({<Product=, product_id = {A}>} Sales)
Hi @Vegar,
There is no parent category. Just as simple as it is.
But, how to write an expression where I would like to say just select this product and whatever the selection is inside the same dimension just ignore it.
I tried these modifiers but no luck:
Product = {'A'}, Product =
Product = {'A'}, Product -= {'B', 'C'}
Product = {'A'}, Product = e(Product)
Thanks