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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Sajna_M
Frequent Visitor

Dynamic RLS solution is not working for newly added users

Hi All,

 

I created a Power bi solution which integrates with SQL server which stores the user transactional data, Company mapping table, Roles, Participants information.

 

In Roles table RT, I have column like RoleID, RoleName

In partipants table PT, I have column like RoleID, Username, email Id

In user transaction table UTT, I have columns like ticket ID and company name

In company mapping table CMT, I have column like company name and RoleId

 

 

Step 1:

Created a relationship between transaction data and permission master data based on company name and RoleId

 

Step 2:

We have created a RLS and added a condition in user transaction data as lookupvalue(UTT.companyname,  UTT.Companyname, UTT.Companyname, PT.emailID, USERNAME())

 

Step 3: published and added users into roles (RLS part)

 

Output: it started to give right output for role users with right level.

 

Problem: when we add new user in SQL database and refresh data set.  For the newly added users, the respective transaction data is missing. Seems like, we have to publish the report again to apply for the newly added user to view their respective data.

 

Is it right? Is there any solution for this? I wish to see this by refreshing dataset.

 

Regards!

4 REPLIES 4
Seward12533
Solution Sage
Solution Sage

Is this on the service? If so you need to set up a gateway and enable scheduled refresh of the dataset.  The "Refresh Button" on the service does not do this. 

We have power bi reports which use SQL server connection to import the data in the model container. Then I publish this report into workspace.

 

Still the 'refresh now' on dataset won;t work?

 

Regards!

I believe the “Refresh Now” only updates the report from the data set. Are you using the redhead icon on the data set itself and/or do you have scheduled refresh turned on for the data set? Assuming refresh all and rebuild bing works on the desktop. If so this is probably baboybabetter question for the community on the BI Service forum vs desktop.

I tried with refresh now, din't try with schedule refresh.

 

What is redhead icon on the data set itself means?

 

You are right, I missed that part. I will create a request under service.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.