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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
raja_94
Frequent Visitor

RLS with Numerical values based

HI all

i want to implement RLS dynamic with numerical values ,

raja_94_0-1632895005064.png

 i want 11 series can see one person 12 series can see one person like this 

suggest us.

 

thanks,

raja.

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @raja_94 

 

Create two roles and write below DAX expressions for them separately.

 

LEFT('Table'[ColumnName],2) = "11"
 
LEFT('Table'[ColumnName],2) = "12"
 
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @raja_94 

 

Create two roles and write below DAX expressions for them separately.

 

LEFT('Table'[ColumnName],2) = "11"
 
LEFT('Table'[ColumnName],2) = "12"
 
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
VahidDM
Super User
Super User

Hi @raja_94 

 

Use LEFT DAX to find 2 characters from the start of a text string in your first column in the image.

Then Add 2 roles for 11 and 12, and after that, add members to those 2 roles.

 

https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos!!

 

could you help me to write sample dax for that.

 

thanks,

raja.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.