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
ecoast16
Frequent Visitor

Embedded/ISV using RLS with Generic Datasets

Hello - 

 

I am working in a Embedded BI/ISV environment, we use a single PBI instance/dataset with RLS to determine which information is shown to which client through our application.

 

We are in financial tech, and want to show Foreign Exchange (FX) rates to clients, which are not client specific, and so do not have any RLS applied. However, clients can also enter their own "custom" rates, which are client specific, and should only be shown to the clients who own that particular rate. The "custom" rate should override the rate on the generic table.

 

Our original thought was to do a custom column (dax) on the Generic Rates Table, that would look at the Custom Rates Table and if a rate was present it would use that, otherwise it would take the rate from the Generic Table (i.e. create new calculated column and the formula would be: for 01/01/2022, EUR-USD, if rate on Custom Table, Then Use Custom Rate, if not use generic rate for that date/rate combination).

 

However that approach doesnt work because columns in dax are calculated in memory prior to RLS kicking in when the report is rendered. So, we are not sure where to go, any help would be appreciated, or ideas that we could start running down! Thank you community in advance! 

 

Generic Rates Table

DateCurrencyRate
01/01/2022EUR-USD1.12
01/02/20222EUR-USD1.13
01/01/2022GBP-USD1.5

 

Custom Rates Table

DateCurrencyRateClient_Guid
01/01/2022EUR-USD1.14fc4d1222-fdb5-496e-89a2-3fb06ef51f86
01/02/20222EUR-USD1.15fc4d1222-fdb5-496e-89a2-3fb06ef51f86
01/01/2022GBP-USD1.60000853b-aa7e-42cb-9dba-dfded536d489

 

2 REPLIES 2
ecoast16
Frequent Visitor

Hi @Anonymous -

 

Thanks so much for your response. I am not sure I understand, are you able to give more information? and for the custom rates table, that does have RLS applied.

 

Thanks so much.

 

Jason

Anonymous
Not applicable

Hi  @ecoast16 ,

 

You can consider creating measures in these two tables to give rules, but these two tables do not set RLS, and are separate from the rest of the tables with RLS set.

 

Best Regards,

Liu Yang

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

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.