Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ashishg
Advocate I
Advocate I

Showing Error in Manage Role - The end of the input was reached

While using below dax its showing an error when I want to create a role

 

FILTER(
ALL('ReportFACT'),
'ReportFACT'[State] IN (
SELECTCOLUMNS(
ALL('StateRLS'),
"State", 'StateRLS'[State],
"Email", 'StateRLS'[Email]
)
 'StateRLS'[Email] = USERPRINCIPALNAME() )
&&
'ReportFACT'[Company] = (
SELECTCOLUMNS(
ALL('CompanyRLS'),
"Company", 'CompanyRLS'[Company],
"Email", 'CompanyRLS'[Email] )
 'CompanyRLS'[Email] = USERPRINCIPALNAME() )
)

 

 

@amitchandak , @Greg_Deckler 

2 REPLIES 2
selimovd
Super User
Super User

Hello @ashishg ,

 

what exaclty do you want to do?

There is no WHERE command in DAX, so what you did is not proper DAX code.

 

Also you have to make sure that the expression returns a boolean value. So it has to return TRUE or FALSE for every row in the specific table.

 

Best regards

Denis

 

@selimovd 
I want to apply RLS for my previou quetion if you suggest me anything it would be helpful
here is link of my previous quetions 

https://community.powerbi.com/t5/Desktop/RLS-security-based-on-State-and-Company-table/m-p/3008649#M...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors