Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

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 th...
  • Anonymous's avatar
    Anonymous
    7 years ago

    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.