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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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 =

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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



Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.