PowerBI Embedded Reports

PowerBI Embedded Reports (ODC)

Stable version 1.1.0 (Compatible with ODC)
Uploaded on 8 May (3 weeks ago) by Capmation Inc
PowerBI Embedded Reports

PowerBI Embedded Reports (ODC)

Details
Detailed Description

This library allows user to ember Power BI reports in ODC applications.

It requires the report GUID, the embed URL, and the PostGenerateToken object as described in Microsoft's documentation.
Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn
The embed URL can be obtained using the reports endpoint. (https://api.powerbi.com/v1.0/myorg/groups/{{WorkspaceId}}/reports)

Limitations

Slicer load settings doesn't check for a valid slicers object. The developer must ensure it is in the right format.

Use slicers in Power BI embedded analytics | Microsoft Learn
Here is a sample valid object

[

{

"selector": {

"$schema": "http://powerbi.com/product/schema#visualSelector",

"visualName": "ed1039ba120e28269174"

},

"state": {

"filters": [{

"$schema": "http://powerbi.com/product/schema#basic",

"target": {

"table": "Table",

"column": "Column"

},

"filterType": 1,

"operator": "In",

"values": ["abcd"]

}]

}

}

]

Release notes 

Added optional parameters to define load settings.

Added parameters: