Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hello,
I would like to generate a single report that allows me to share it with my clients.
Clients would only access their company's data.
I only have a table with various information including the company and the email address of the person.
Small precision: several email addresses can be associated with the same company.
For now, I created a "dynamic role" by filtering with the email address and USERPRINCIPALNAME ().
Except that the problem is that for the moment by testing with an email address, I retrieve only the data related to the email address.
What I would like is to retrieve the data from the company entirely not just the data of the person who connected to the report.
Is there a solution to my problem?
Solved! Go to Solution.
Hey,
just to be sure,
I don't understand what you are going to share with your clients?
If it's the pbix file that you created using Power BI Desktop, please be aware that you can't secure the data.
If you sent the PBIX to one of your clients, this client is able to see all the data that is contained in the pbix file.
If you are going to share the report with your clients from within the Power BI service, then you have to consider some other aspects.
But nevertheless, I would create a table user that contains two columns:
create a relationship between the tables
user (one side) -> company (many side) and
company (one side) -> fact (many side)
Create a role that filters the company by email.
Hopefully this gets you started.
Regards
Tom
Hey,
just to be sure,
I don't understand what you are going to share with your clients?
If it's the pbix file that you created using Power BI Desktop, please be aware that you can't secure the data.
If you sent the PBIX to one of your clients, this client is able to see all the data that is contained in the pbix file.
If you are going to share the report with your clients from within the Power BI service, then you have to consider some other aspects.
But nevertheless, I would create a table user that contains two columns:
create a relationship between the tables
user (one side) -> company (many side) and
company (one side) -> fact (many side)
Create a role that filters the company by email.
Hopefully this gets you started.
Regards
Tom
Finally everything goes in order. I ended up finding the mistake, I applied a security role on the wrong table. Thanks for your help.
Thank you for your message.
Yes, I would like to share the report with my clients within the Power Bi Service.
Here is a catch of the relationships. Despite my efforts, it still does not work. I think I was wrong about a relationship but I can not figure out which one.
Basically, I only had the table "ImportFresh". I then from this table, created the table "Append" which includes the company and the email requester.
I deleted entries that were duplicate regarding the email requester. Then I created a table from the email requester column and another company table with data from the company column. For these last two tables, duplicates have also been removed.
By testing, it does not work. I retrieve user data only. I would like to retrieve the data regarding all the users that are associated with the company.
I may ask too much, but what am I doing that is not good?
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
115 | |
112 | |
105 | |
95 | |
58 |
User | Count |
---|---|
174 | |
147 | |
136 | |
102 | |
82 |