Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a requirement to display the count of team members for all the managers other than selected manager.
I have written this expression - Count(DISTINCT{<manager-={'$(VGetManager)'}>} memberid)
Variable VGetManager = GetFieldSelections(manager)
But this is working exactly opposite. If i select manager name than it gives me count of members associated with that manager. I want the count of not associated members.
I read about P and E function but not understand how to use in my case.
Please suggest the expression.
Thanks.
Regards,
Neha
try this
Count(DISTINCT{<manager={'*'}-{'$(VGetManager)'}>} memberid)
Hi,
Use '1-$' in place of '$' this will give you excluded results,
Thanks
Try like:
Count(DISTINCT{<manager=-$::manager>} memberid)
Hi Neha,
Try the below expressions,
count({$<manager=E({<manager={$(=getfieldselections(manager))}>}manager)>}memberid)
Thanks
just this will do
Count(DISTINCT{<manager=E(manager)>} memberid)
Hi Vineet,
Not an offense but your expression will show 'No data to display' when there is no selection made in the filed 'manager'
Thanks
None taken; but there is no need to complicate it unnecessarily it's for the OP to decide what he want
Thanks Vineeth. I used this because we want to show data only when manager is selected.
This expression is not working