How to compare two information from 2 differentes table

Hello, I have a problem creating a slice to make a filtered view by user. To provide context, I have two tables.

Table 1: Users, on this table I have email addresses next to sector codes

Frdric_2-1737715071956.png

Table 2: 'Sites' I have site names next to sector codes

Frdric_1-1737714793973.png

I can't find a way to display the sites according to the user's email address. I've tried searching the forum but I haven't found my solution.

Thank you in advance, have a good day

Solved Solved
0 5 102
1 ACCEPTED SOLUTION

Try this instead:

IN(
  [codesect],
  SELECT(
    Table 1[codesect],
    (USEREMAIL() = [mail])
  )
)

View solution in original post

5 REPLIES 5
Top Labels in this Space