Hi All,
My app has related to field delivery in which drivers and admin can login:-
I have created Six Primary Views that are listed below:-
Active Job's -> Admin
Driver's -> Admin
Finished Job's -> Admin
Active Jobs -> Driver
Driver -> Driver
Finished Job - > Driver
Now the condition is if Admin login into the app then [Active Job's], [Driver's] & [Finished Job's ] views should be seen
and If Driver login into the app then [Active Jobs], [Driver] and [Finished Job] views should be seen.
Please help me.
Solved! Go to Solution.
You can conditionally show/hide you views by setting the below in your view definition
For each slice, just add another condition ANDed with your user name setting such as blelow
AND(USERSETTINGS(USER NAME)=[Driver Name], [STATUS]="Finished")
The above assumes that your table has a col named STATUS and it takes the value "Finished" (and "Pending", of course)
User | Count |
---|---|
17 | |
11 | |
7 | |
5 | |
5 |