Variable in the filter

Hi,
is there a way to set a variable in the filter? Specifically, for example doo.currentUser.login in the speedometer widget filter. Something like {doo.currentUser.login}…

The widget should display the number of clients, but for the “manager” role (which displays not only own clients but also clients of all subordinate users) it displays the total number. I would need to filter out something like “number of own clients”… :slight_smile:

Thanks…
Kuba

Hi,

you can’t write an object or Type script into the filter as you have in the example. The only way to do this is if the currentLogin is an Email type field and the system currentUser can be assigned to it.

Thanks, I understand that it can’t be set in the filter. But I don’t understand how assigning currentUser to the currentLogin field will help?
Can you please explain this somehow?

Thanks, Kuba