Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have the below calculation that should take an email address, filter the roles table for that email. It should then filter the Master table Company column for the same companies as in the filtered roles table.
Note, testing@test.com can have multiple companies.
The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
FilteredMasterTable =
VAR SelectedEmail = "testing@test.com"
VAR SelectedRoles =
CALCULATETABLE(
VALUES('Roles Table'[Company]),
'Roles Table'[Email] = SelectedEmail
)
RETURN
FILTER(
Master,
Master[Company]IN SelectedRoles
)
Hi, @obriaincian
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Note: I want to implement this as Row Level Security but I am testing it in a measure first
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
61 | |
52 | |
50 | |
36 | |
33 |
User | Count |
---|---|
84 | |
71 | |
55 | |
45 | |
43 |