Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I know how to use $ and 1 in set analysis. But how do I make it so that only certain fields can alter the calculation. i.e. If the user selects Region, the value changes, but if they select Product it doesn't.
You may use like below. Below expression will ignore the value of Product selected.
sum({<Product= >} SalesAmount)
You may use like below. Below expression will ignore the value of Product selected.
sum({<Product= >} SalesAmount)
Maybe like
=sum({1<Region = $::Region>} VALUE)
By pass your selection or ignore the selection like
Sum({<Year=,Month=,Product= >} Value)
Is it possible to do the inverse? So instead of telling it what fields to ignore, tell it what fields to not ignore?
please see Swuehl's answer. sum({1<Region = $::Region>} VALUE)
you can try this:
sum({1<REGION = {$(=GetFieldSelections(REGION))}> sales}
This will alter the calculation only if one or several regions are selected.
you could use alternate states