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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
anshkapoor143
Frequent Visitor

Unable to see data after applying row level security in Power BI service

Hi, after bulit the row level security unbale to see the data getting below mentioned error. even while testing in Power Bi desktop row level security is working fine.

 

An error was encountered during the evaluation of the row level security expression defined on table 'Test Data'. Error message: Function 'CONTAINSROW' does not support comparing values of type Text with values of type Integer. Consider using the VALUE or FORMAT function to convert one of the values.

5 REPLIES 5
Idrissshatila
Super User
Super User

Hello @anshkapoor143 ,

 

the issue is clear, you're comparing a text with an integer, so go see where is the fields you're comparing in the Dax, and check the type of each and make them match.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Sure I will, but Row level security is working fine in power Bi desktop, they show what we need and also when we published the PBIX in workspace and apply the Row level security and test its working fine too but when I give access to other user who is viewer they are getting this error.

@anshkapoor143 ,

 

you need to assign these users to the row level in the service.

 

check this video from minute 2:53 to see how

https://www.youtube.com/watch?v=3jQiWHWZrNM&t=173s

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




I already did that and test as well

@anshkapoor143 ,

 

then they should view the report, if there's an error please show us the error.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.