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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
dmotter
Frequent Visitor

User-Defined report in Power BI Embedded

Is it possible for end-users to create their own reports with a Power BI Embedded window?

I saw this video saying that it is supported, but the link to the documentation says it's deprecated, and the example PBI Embedded playground does not have the refrenced feature. Was it removed?

 

The goal is that an end user of the application can author reports with no knowledge that they are even in Power BI at all. Authoring reports in a desktop app, and needing separate Power BI Pro licenses is hopefully avoidable.

 

Is the only similar concept the Q&A feature?

 

Thanks!

1 ACCEPTED SOLUTION
dmotter
Frequent Visitor

This feature is available, just not as widely documented as View mode.

When generating the token, use client.Reports.GenerateTokenForCreateInGroupAsync(...).

In the javascript code, use datasetId instead of id in the configuration, and call powerbi.createReport(...) instead of powerbi.embed(...).

 

This will embed a blank report off of the target dataset, and allow the user to save it to the system.

View solution in original post

2 REPLIES 2
dmotter
Frequent Visitor

This feature is available, just not as widely documented as View mode.

When generating the token, use client.Reports.GenerateTokenForCreateInGroupAsync(...).

In the javascript code, use datasetId instead of id in the configuration, and call powerbi.createReport(...) instead of powerbi.embed(...).

 

This will embed a blank report off of the target dataset, and allow the user to save it to the system.

Hi @dmotter  - Do you know if you can also specify the workspace? We are embedding in our webapp, and have it set up so when users view reports they are actually looking at a master workspace, which serves as a library of shared visuals using RLS, and then can save reports from the library to their assigned workspace, but when we try to allow them to create reports from scratch the report saves in the master workspace, and not the one assigned to the tenant.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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