on 01-14-2016 12:58 PM
Hi Folks, Super Novice here.
I have a report in webi which I would like to add a filter. I Only want to show the product that has a forecast count greater than 4.
When I filter on count = greater than 4, all the data on the table goes away.
I tried the following as my count variable definition: And I got the same result
***Forecast in the table = Totalsalesforecast*****
=Count([Totalsalesforecast];All) In([Shop];[Product])
=Count([Totalsalesforecast]) In([Shop];[Product])
=Count([Totalsalesforecast])
Can Someone please help?.
SHOP | Product | Description | key Figure | 2/1/2016 | 2/2/2016 | 2/3/2016 | 2/4/2016 | 2/5/2016 | 2/6/2016 | 2/7/2016 | 2/8/2016 | 2/9/2016 | Count |
SHOP A | 111111 | item a | Forecast | 2 | 8 | 9 | 8 | 9 | 4 | 2 | 1 | 8 | |
SHOP A | 111111 | item a | Actual | ||||||||||
SHOP A | 222222 | Item B | Forecast | 1 | 2 | 2 | |||||||
SHOP A | 222222 | item B | Actual | ||||||||||
SHOP A | 333333 | Item C | Forecast | 2 | 1 | ||||||||
SHOP A | 333333 | Item C | Actual | ||||||||||
SHOP A | 444444 | Iitem D | Forecast | 1 | 4 | 2 | |||||||
SHOP A | 444444 | Item D | Actual | ||||||||||
SHOP A | 555555 | item e | Forecast | 1 | 1 | ||||||||
SHOP A | 555555 | item e | Actual | ||||||||||
SHOP A | 666666 | item f | Forecast | 1 | 1 | ||||||||
SHOP A | 666666 | item f | Actual | ||||||||||
SHOP A | 777777 | item g | Forecast | 1 | 1 | ||||||||
SHOP A | 777777 | item g | Actual | ||||||||||
SHOP A | 222222 | item h | Forecast | 1 | 1 | ||||||||
SHOP A | 222222 | item h | Actual | ||||||||||
SHOP A | 333333 | item i | Forecast | 1 | 4 | 4 | 4 | 4 | 2 | 1 | 1 | 1 | 9 |
SHOP A | 333333 | item i | Actual |
Hi,
try this.
Var=If(sum(Count([Totalsalesforecast] In([Shop];[Product];[Date]))>4)) then "Show" else "Hide"
Filter on Var where equal to Show.
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Key Figure and Description are not objects of the report, they are just text i Keyed in as a header for the column
If I substitute these with the objects they represent, then Ill end up with this:
=Count([Totalsalesforecast]) In([Product];[Product descr];[Shop]) When I filter Total to = greater than 4. nothing changes.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.