Forum Discussion
Questions about Embedding PowerBI - creating token for multiple datasets
- Anonymous1 year ago
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:
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.
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:
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.