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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
rpeleg
Frequent Visitor

data sets cache with security roles

Hi eb

Should the addition of security Roles (filterring specific rows to specific users), prevent early caching of visualization data (prior to users request) based on the same data set? Or the power bi service cache includes data of all users.

Filterring vizualization per username() is done later on demand of visualization by some user (at that point specific caching per user occures)?

I am referring to early caching of vizualizations as described here

Thanks a bunch!

Rea

 

1 ACCEPTED SOLUTION

Thanks Maggie

It seems like there is a distinction between data sets FREE of Role level security (RLS) -  where caching is supported for visualizations

- and then RLS datasets where such caching is NOT supported (probably because the visualization cache mechanism does not cache row level data but rather a summary only needed for final visualization).

Read through section 'User authentication to data sources' in the Power BI Security whitepaper (download from the link over there).

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @rpeleg

If i understand you right, RLS may not prevent early caching of visualization data.

When the owner of the dataset configure RLS for users in this dataset, changes of the dataset which users can view would come with the refresh happen.

According to this linkIt says "If there is no user interaction in a visualization, data is refreshed automatically approximately every hour. You can change that refresh frequency using the Scheduled cache refresh option, and set the refresh frequency."

The refresh mentioned above is for the dataset, not the visuals on the report. the refresh only change the data displaying in in the visuals instead the types or items of the visuals.

 

 

 

Best Regards

Maggie

 

 

 

Thanks Maggie

It seems like there is a distinction between data sets FREE of Role level security (RLS) -  where caching is supported for visualizations

- and then RLS datasets where such caching is NOT supported (probably because the visualization cache mechanism does not cache row level data but rather a summary only needed for final visualization).

Read through section 'User authentication to data sources' in the Power BI Security whitepaper (download from the link over there).

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.