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.
Hi Guys,
I have the follow Table filter DAX expression to meet some RLS requirement.
I would like to one more filter that return me any employee from Authorizationmanagers table that has "FA" as value from column Responsibility. In the following DAX code the PBIX doesnt accept this way of formula.
Any suggestions how i can add the responsiblity = "FA"?
Many thanks
VAR authorisationPersonel=
SUMX (
FILTER ( 'Authorization managers', 'Authorization managers'[e-mailadres] = USERPRINCIPALNAME () ),
'Authorization managers'[responsibility] = "FA"),
IF (
PATHCONTAINS ( 'Authorization Occupation'[Org pad], 'Authorization managers'[Organization] ),
1,
0
)
)
RETURN
IF ( authorisationPersonel> 0, TRUE (), FALSE () )
Solved! Go to Solution.
@rsanyoto
Are you sure the your original measure can run properly? Try this:
@rsanyoto
Are you sure the your original measure can run properly? Try this:
@rsanyoto Give this a try
VAR authorisationPersonel =
SUMX (
FILTER (
'Authorization managers',
'Authorization managers'[e-mailadres] = USERPRINCIPALNAME ()
&& 'Authorization managers'[responsibility] = "FA"
),
IF (
PATHCONTAINS (
'Authorization Occupation'[Org pad],
'Authorization managers'[Organization]
),
1,
0
)
)
RETURN
IF ( authorisationPersonel > 0, TRUE (), FALSE () )
Hi @jdbuchanan71 ,
Thanks for your response but unfortunatly i received a syntax error... which : The syntax for ',' is incorrect.
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 |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
79 | |
67 | |
60 | |
45 | |
45 |