Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Please help me to modify expression avg({1} MyField)
I want to show avg of all, but manage by Filter MYear.
In my case if I select any month in MYear, it shows trend for all month.
Thanks,
=avg({1<MYear=P(MYear)>}MyField)
did you try creating a bookmark (Clear Other Fields - MYear)
and changing your expression to : avg( {MyBookMark} MyField) ?
Thanks for reply,
Bookmark doesn't work when you publish it.
Cheers,
did you try combine getfieldselection() ?
something like
avg({1<MYear={getfieldselections(MYear)}>} MyField)
Something's wrong.
avg({1<MYear={getfieldselections(MYear)}>} MyField)
getfieldselections(MYear)}>} ----it doesn't reconise command.
it was only an idea
but i'll try to write it myself
I tried like it
avg(TOTAL<MYear> MyField).
It doesn't work with Filter
if you select always one year this should work
sum({1<MYear={'$(=GetFieldSelections(MYear))'}>}MyField)
does this satisfy you?
=sum({1<MYear={$(=GetFieldSelections(MYear,','))}>}MyField)
//i just remove ' sign
It doesn't work.
I just copied your expression and fixed MyField.