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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
cardoso20
Regular Visitor

Creating a new report using PowerBI Embedded

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.

 

cardoso20_0-1628776692257.png

(This is what happens when i try to create a report)

 

cardoso20_0-1628776950017.png

(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 !

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.