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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
ddelapasse
Frequent Visitor

Questions about Embedding PowerBI - creating token for multiple datasets

I'm puzzled by this example published by MS.  My understanding is that the embedded UI acts as a report viewer/editor but that is IT.  There is no way to edit the semantic models through this UI, correct (using the preview feature that allows dataset edits via the portal)?

But if NOT - then I can't understand why they allow you to create embed tokens using 1 reportId and multiple datasetIds.  What good would that possibly do?   What I would REALLY like is to allow my admin users to edit the semantic model using the embedded designer, but I gather that is not allowed - but seeing this example made me confused all over again :-).

ddelapasse_0-1737664487708.png

 



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

Hi, @ddelapasse 
Thanks for reaching out to the Microsoft fabric community forum.

I'm delighted that you're interested in the underlying code of the Power BI embedding solution. Based on my understanding, here are the answers to your queries:

 

1.Firstly, you're absolutely right. The Power BI embedding UI primarily serves as a report viewer/editor within an application, but it doesn't offer the capability to directly edit the semantic model (datasets) through this interface. The preview feature for editing semantic models via the portal is a separate function and is not available in the embedding UI.

 

2.Secondly, as we've learned, "embedding tokens are used for authentication and authorization to embed Power BI reports and datasets within your application." Typically, you would create an embedding token to access a single report and its associated dataset. However, in some cases, your report might use data from multiple datasets, allowing you to create an embedding token with a single reportId and multiple datasetIds. Here are links to questions about a report based on multiple semantic models:

Solved: combine power bi reports - Microsoft Fabric Community

Solved: How to merge two/multiple power bi reports/dashboa... - Microsoft Fabric Community

Solved: Power BI Report based on multiple semantic models - Microsoft Fabric Community

While in many common scenarios, a report only requires a single dataset, in complex or business-specific situations, a report may need to access multiple datasets to meet comprehensive data requirements. This feature is primarily designed to provide flexibility and cater to complex business needs.
 

3.Lastly, if you want admin users to edit the semantic model (datasets), they need to do so directly through the Power BI service portal, not via the embedding solution. Additionally, since this is currently a preview feature, there are several limitations. Here is the official documentation screenshot for reference:

vlinyulumsft_0-1737695665611.png

For more details, please refer to:

Edit data models in the Power BI service (preview) - Power BI | Microsoft Learn
 

I hope my response helps clarify your understanding. Of course, if you have any other thoughts you'd like to share, feel free to reach out at any time. I look forward to further discussions with you.

 

Best Regards,

Leroy Lu

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

1 REPLY 1
v-linyulu-msft
Community Support
Community Support

Hi, @ddelapasse 
Thanks for reaching out to the Microsoft fabric community forum.

I'm delighted that you're interested in the underlying code of the Power BI embedding solution. Based on my understanding, here are the answers to your queries:

 

1.Firstly, you're absolutely right. The Power BI embedding UI primarily serves as a report viewer/editor within an application, but it doesn't offer the capability to directly edit the semantic model (datasets) through this interface. The preview feature for editing semantic models via the portal is a separate function and is not available in the embedding UI.

 

2.Secondly, as we've learned, "embedding tokens are used for authentication and authorization to embed Power BI reports and datasets within your application." Typically, you would create an embedding token to access a single report and its associated dataset. However, in some cases, your report might use data from multiple datasets, allowing you to create an embedding token with a single reportId and multiple datasetIds. Here are links to questions about a report based on multiple semantic models:

Solved: combine power bi reports - Microsoft Fabric Community

Solved: How to merge two/multiple power bi reports/dashboa... - Microsoft Fabric Community

Solved: Power BI Report based on multiple semantic models - Microsoft Fabric Community

While in many common scenarios, a report only requires a single dataset, in complex or business-specific situations, a report may need to access multiple datasets to meet comprehensive data requirements. This feature is primarily designed to provide flexibility and cater to complex business needs.
 

3.Lastly, if you want admin users to edit the semantic model (datasets), they need to do so directly through the Power BI service portal, not via the embedding solution. Additionally, since this is currently a preview feature, there are several limitations. Here is the official documentation screenshot for reference:

vlinyulumsft_0-1737695665611.png

For more details, please refer to:

Edit data models in the Power BI service (preview) - Power BI | Microsoft Learn
 

I hope my response helps clarify your understanding. Of course, if you have any other thoughts you'd like to share, feel free to reach out at any time. I look forward to further discussions with you.

 

Best Regards,

Leroy Lu

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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