Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

exception elements

Hi

I would like to display the total products ( in group) in the table

For 1 situation -Product2

1 situation.png

if i use filter Group, i have situation 2

we see Product2 and Product3 in table

2 situation.png

1 Solution

Accepted Solutions
Not applicable
Author

Sum( {<Product = {'=aggr(count (distinct Grooup ),Product )=GetSelectedCount(Grooup)'} >} Vol)

View solution in original post

5 Replies
Anonymous
Not applicable
Author

do mean

Situation 1:

You want to see all groups A-D but only for product 2

Situation 2:

You want to see all groups A-D but only for product 2 & product 3

??

Anonymous
Not applicable
Author

If so try these in your expressions:

Situation1:
sum({<Product = {'Product2'}>}Vol)

Situation2:
sum({<Product = {'Product2','Product3' }>}Vol)

Not applicable
Author

it's too easy situations

For example I'm choosing the D and C in the filter

Not applicable
Author

if( Count( Total <Product> Product)=Count(TOTAL DISTINCT Grooup) ,Sum( Vol),0)

It's my idea, but I look for another

Not applicable
Author

Sum( {<Product = {'=aggr(count (distinct Grooup ),Product )=GetSelectedCount(Grooup)'} >} Vol)