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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
mh10
Regular Visitor

Issues embedding a dashboard with two different Power BI datasets

I am trying to embed a Power BI dashboard into one of our analytics applications. We have several dashboards and paginated reports that already successfully embed, but the dashboard in question has a paginated report embedded within the dashboard. The paginated report also points to a different dataset than the main dataset the dashboard is pointing to. I think this is causing some authentication issues between the token being passed from our app to the dataset when we embed. Is there a way to allow our application to authenticate both datasets here?

2 REPLIES 2
Anonymous
Not applicable

Hi @mh10 

 

To address this, you'll want to leverage the capability of generating an embed token that supports multiple items, including reports and datasets. This approach allows your application to authenticate and access multiple datasets within the same embedding session. Here's a concise action plan:

  1. Generate a Multi-Resource Embed Token: Use the Power BI REST API to generate an embed token that includes permissions for both the dashboard's primary dataset and the dataset used by the paginated report. Ensure that 'datasets' parameters in your API request include both dataset IDs. For more information on generating an embed token for multiple items, please refer to the documentation Connect a Power BI report to a dataset using dynamic binding - Power BI | Microsoft Learn

  2. Embed with Proper Permissions: When embedding the dashboard and paginated report, ensure that the embed configuration in your application uses the multi-resource embed token. This token should provide the necessary permissions to access both datasets.

  3. Review Dataset Access: Ensure that the service principal or master user account used by your application has the appropriate permissions on both datasets. This is crucial for the multi-resource embed token to work correctly.

 

 

 

Best Regards,

Jayleny

 

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

 

craigleach
Frequent Visitor

When creating the token both dataset GUIDs need to be listed. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors