Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an expression SUM(value)
i want to also have an expression that does 2 things
ignores all list box selections except 1 box
and
contains where conditions
(SUM(value) Where category = 'abc'/SUM(TOTAL value Where category = 'abc' OR 'xyz')
and only affected by selections from the yearperiod selection box nothing else
SUM({1<yearperiod = $:: yearperiod, Category = {'abc'} >}Value)/SUM(TOTAL {1<yearperiod = $:: yearperiod, Category = {'abc','xyz'} >}Value)
Hi matt,
Try like this:
sum({<category={'abc'},listbox1=,listbox2=,listbox3=>}value) /
sum({<category={'abc','xyz'},listbox1=,listbox2=,listbox3=>}total value)
listbox1, listbox2 are the listbox whose selection should not be effected.
Mention all the list box apart from yearperiod in set annalysis.
Hope it helps.
Regards
KC
by listbox1 do you mean the object id e.g. LB251 or the title?
SUM({1<yearperiod = $:: yearperiod, Category = {'abc'} >}Value)/SUM(TOTAL {1<yearperiod = $:: yearperiod, Category = {'abc','xyz'} >}Value)
i want to also have where conditions inside the expression and divide by another expression (see question)
your on the right track though
I have edited my reply..