The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi, I'm using an App Owns Data model.
I have 2 reports with each one having his own dataset. Let's call them report A and report B. Report's A dataset has RLS and report's B dataset doesn't.
I've successfully embedded both reports in my page. When I try to create a new report based on report's B dataset (no RLS), everything goes fine: the report is saved in the workspace and i can then view it on my page.
However when I create a new report based on report's A dataset (with RLS) I'm having a problem and some questions:
1. When I load the blank report with that dataset, I can't load it if i don't pass a Role (Effective Identity) that's defined in RLS (that's normal if I only try to view it, but I'm not sure if that's really needed to create a new report)
2. When I successfully load the dataset (with a Role defined), I start creating visuals but they all appear blank. It's like the fields don't have any data. But if I save the report and open it in Power BI Service, the report shows the data that i've created. I'm not really sure how to fix this.
(This is what happens when i try to create a report)
(And this is that report. As you can see, the report was created with no problems)
I would really appreciate any help on this or tellm if you think I'm doing anything wrong.
Thank you !
Solved! Go to Solution.
Hi @cardoso20,
I think they may be related to the embedded token. As you said, you are used the current dataset to create new content which not defined in the current embed token.
Its dataset is already included in the token definitions, but the new report contents do not match the RLS definitions in the current token. I'd like to suggest you generate a new token for these new content and RLS verifications and try again.
Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Regards,
Xiaoxin Sheng
Hi @cardoso20,
I think they may be related to the embedded token. As you said, you are used the current dataset to create new content which not defined in the current embed token.
Its dataset is already included in the token definitions, but the new report contents do not match the RLS definitions in the current token. I'd like to suggest you generate a new token for these new content and RLS verifications and try again.
Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Regards,
Xiaoxin Sheng
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.