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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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 =

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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



Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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