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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
SafetyEv
Helper I
Helper I

Help with Manage Roles - Syntax error, unrecognized expression: .o-content-listItem

I am working on a report and adding row level security via a DAX expression. One of my tables I am getting an error. "Syntax error, unrecognized expression: .o-content-listItem"

 

Not quite sure how to handle this or really what it means.  Any help would be greatly appreciated.

 

Thanks

Wade

8 REPLIES 8
amitchandak
Super User
Super User

@SafetyEv , Can you share the formula

Hello,
I am wanting to add this "[company_id] = VALUE(USERNAME())" however I do not get the opportunity as when I click on the table under manage roles I get "

SafetyEv_0-1610947491037.png

Which is just identifying the table ID.

 

@SafetyEv , it can be

[company_id] in VALUE(USERNAME())

 

[company_id] = USERNAME()

 

I think it should be =

That part isn't really relevant because I do not get the opportunity to add anything because of the error.

@SafetyEv , Open power query and check do see more issue details there. Share those

 

refer how to handle error in power query
https://www.youtube.com/watch?v=OE6DPmKqN7s
https://www.youtube.com/watch?v=9-Lag0VOiTs

 

debug issue
https://www.youtube.com/watch?v=OE6DPmKqN7s



I do not see any errors in power query. 

I tried going back to an older version of the pbix file, and found that I can add the table I am having issues with and I do not have the same issue, so I'm not sure if it wouldn't be quicker to rebuild everything I have although painful. Then I can see step by step if the issue reappears.

 

Anonymous
Not applicable

Hi SafetyEv

 

I had the same issue and I fixed it removing apostrophes from the table name. In your case, you could rename SE_Client_FLHA's to SE_Client_FLHA. Hope it will fix your issue. Let me know.

Have an amazing day!

Anonymous
Not applicable

It was solved by removing apostrophes from the table name. Thank you

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.