Dear experts
I am building an application linked to two SPL Mail lists for the database and the other list for user access live
in the main gallery of the application, I have a combo box for departments
My goal was to show only the department that belongs to the user in the department combo box based on the access level list.
The fourmla am using
On start
ClearCollect(colDep,SortByColumns(Distinct(Expenses,Department),"Result"));
"Expenses is the main list"
ClearCollect(colUser, Filter('User Access Level', UserName = User().Email));
"The User Access Level is the list of the users containing the user name column which email and another column for user department
For the department combobox item : Filter(colDep,Result exactin colUser.Department)
It works fine but I want to keep the the user for Management department to see all departments
Thanks a lot