Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have an expression:
SUM({1<sg.yearmonth= $:: sg.yearmonth>}sg.cost)
This makes it so the only selections that can affect the results are from the sg.yearmonth list box.
I would like to add to that sg.year as well
May be this:
Sum({1<sg.yearmonth= $:: sg.yearmonth, sg.year = $::sg.year>} sg.cost)
May be this:
Sum({1<sg.yearmonth= $:: sg.yearmonth, sg.year = $::sg.year>} sg.cost)
IS it not just
SUM({1<sg.yearmonth= $:: sg.yearmonth,sg.year>}sg.cost)
I've not used to the $:: notation but simply separating with a comma is the usual way for adding things to set
Sunny what does the $:: notation do?
Hey there,
Try this:
=SUM({1<sg.yearmonth= $:: sg.yearmonth, sg.year= $:: sg.year>}sg.cost)
If that doesn't work, please send us a QVW sample or data sample and a further explanation...
Best regards,
D.A. MB
Adam without $:: ... You are ignoring the selection in those fields (which is currently getting handled by 1). This is doing the exact opposite of that. ignore selection in everything except sg.yearmonth and sg.year
Almost perfect Sunny
Just missed the '='
Sum({1<sg.yearmonth= $:: sg.yearmonth, sg.year= $:: sg.year>} sg.cost)
Hi Sunny,
Cool, so its just a fixed notation to be aware of then
somefield = $:: somefield
Handy to know thank you.
Its added now
Yup, you got it