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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Zakaria_1980
Post Patron
Post Patron

Report Sharing

Dears,

 

I have a power bi Dashbaord which is for 4 or more Markets. I want that for the same report, each Market will be visible by a list of users only. how can I do this ?

 

Br,

Zakaria

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Zakaria_1980 

In addition to 

Build a User Table as below.

[Market] = 
CALCULATE (
    MAX(Data[Market]),
    FILTER (
        User,
        User[Account] = USERPRINCIPALNAME()
            && User[Market] = Data[Market]
    )
) 

Then publish this report to service and add roles in Security in Dateset.

For more details you may refer to aj1973's Blog.

Result is as below.

If I read the report as User A, I can only see the values for Market1 that I belong to.

4.png

Best Regards,

Rico Zhou

 

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

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Zakaria_1980 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business.

 

Best Regards,

Rico Zhou

Anonymous
Not applicable

Hi @Zakaria_1980 

In addition to 

Build a User Table as below.

[Market] = 
CALCULATE (
    MAX(Data[Market]),
    FILTER (
        User,
        User[Account] = USERPRINCIPALNAME()
            && User[Market] = Data[Market]
    )
) 

Then publish this report to service and add roles in Security in Dateset.

For more details you may refer to aj1973's Blog.

Result is as below.

If I read the report as User A, I can only see the values for Market1 that I belong to.

4.png

Best Regards,

Rico Zhou

 

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

aj1973
Community Champion
Community Champion

Hi @Zakaria_1980 

you need to implement the RLS (Row Level Security) in power bi desktop

https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.