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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors