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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
tcliu1990
Frequent Visitor

How to embed a power bi paginated report when there's no dataset_id

I can go through normal power bi report by the example here https://github.com/microsoft/PowerBI-Developer-Samples/tree/master. But when I try to embed a paginate report, the response of this endpoint https://api.powerbi.com/v1.0/myorg/groups/group_id/reports/report_id/ doesn't have a dataset_id like normal report. So I can't get the embed token for next step by endpoint https://api.powerbi.com/v1.0/myorg/GenerateToken. I noticed there's another body I can send, which is data source identities. But I can't find a endpoint to retrieve identityBlob. The response of this endpoint https://api.powerbi.com/v1.0/myorg/groups/group_id/reports/report_id/datasources only gives me datasources information. So how to embed a powerbi paginate report without a dataset_id

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

Hi  @tcliu1990 ,

 

This is the related document, you can view this content:

c# - Power BI paginated report embedding without dataset using service principal - Stack Overflow

Solved: Embedded paginated report with PowerBI dataset - Microsoft Fabric Community

Embed paginated reports in your Power BI embedded analytics application - Power BI | Microsoft Learn

 

Best Regards,

Liu Yang

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

2 REPLIES 2
v-yangliu-msft
Community Support
Community Support

Hi  @tcliu1990 ,

 

This is the related document, you can view this content:

c# - Power BI paginated report embedding without dataset using service principal - Stack Overflow

Solved: Embedded paginated report with PowerBI dataset - Microsoft Fabric Community

Embed paginated reports in your Power BI embedded analytics application - Power BI | Microsoft Learn

 

Best Regards,

Liu Yang

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

Hi @v-yangliu-msft Thanks for answering.

The second link really helps me. I got the dataset_id from sobe_wowvirtualserver-<DatasetID> . However, after I send this dataset_id to https://api.powerbi.com/v1.0/myorg/GenerateToken,  this endpoint. I got a new error: Cannot connect to dataset xxx with embed token because XMLA permissions are off

my xmla endpoint setting is read-only.

tcliu1990_0-1715017360989.png

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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