Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi folks,
I am trying to create an expression which should count all the records based on the values selected in the filter panel.
I have a variable which stores field selections as
varName=GetFieldSelections(AgencyName)
My expression is:
COUNT({1<AgencyName={"$(varName)"}>}Status)
This expression works perfectly fine when only single value is selected in the AgencyName filter. The expression fails when multiple values are selected. Any ideas how to solve this?
Thanks in advance!
Try this instead
Count({1<AgencyName = p(AgencyName)>} Status)
or this
Count({1<AgencyName = $::AgencyName>} Status)
Thanks Sunny!
Both of your expressions do the job! Thanks so much!