Show Specific row for each user

Hello Everyone,

I have two table 
First Table name: Report malfunctions
The Second Table Name: User Role
I give every user some role at table "User Role"

MohamedSalem999_0-1723395403037.png

 

at first table the users just applied some malfunctions and show like this:

MohamedSalem999_1-1723395402533.png

 

i want to show every specific row for the Responsible for type Equ. like:

- If user has role Engineer i just want to show him Type equ. = "BM"

- If user has role Technician i just want to show him Type equ. = "Other"

Solved Solved
0 3 123
1 ACCEPTED SOLUTION

SECURITY FILTER or SLICE

Try something like

SWITCH(
 LOOKUP(USEREMAIL(), "User Role","Email","Role"),
 "Engineer", [Type Equ] = "BM,
 ....
)

 

View solution in original post

3 REPLIES 3

SECURITY FILTER or SLICE

Try something like

SWITCH(
 LOOKUP(USEREMAIL(), "User Role","Email","Role"),
 "Engineer", [Type Equ] = "BM,
 ....
)

 

Thank you for help but i have issue 

MohamedSalem999_0-1723480915988.png

at third case "Stuff", [Type EQU.] = "MG"
He just shows the second how can i make it to show both EM & MG
@TeeSee1 

Use OR() or IN()