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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
AbbasG
Memorable Member
Memorable Member

Need help with RLS

Hello there,

I have set up RLS on the sales report where the salesperson only sees his/her data.

I have created the cards showing today's and yesterday's sales, where each salesperson can see their respective figures.

But, I also want to display the total sales made by the company i.e. today's and yesterday's sales.

End result - The salesperson will see the individual sales amount as well as the total sales by the company.

Please let me know how do I achieve it?

2 ACCEPTED SOLUTIONS
DataInsights
Super User
Super User

@AbbasG,

 

One idea would be to create a table that calculates total company sales for today and yesterday. You could do this in a DAX calculated table or Power Query (you could use the TODAY function in DAX or the M equivalent to get the current date). This table would not be subject to RLS. Total company sales would be based on this summarized table, and thus all users would be able to see it.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

@DataInsights thank you so much. Got the job done!

View solution in original post

2 REPLIES 2
DataInsights
Super User
Super User

@AbbasG,

 

One idea would be to create a table that calculates total company sales for today and yesterday. You could do this in a DAX calculated table or Power Query (you could use the TODAY function in DAX or the M equivalent to get the current date). This table would not be subject to RLS. Total company sales would be based on this summarized table, and thus all users would be able to see it.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@DataInsights thank you so much. Got the job done!

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.