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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
i4
Frequent Visitor

Embedding a report using REST API with a parameter?

Hello everyone,

I created a report in Power BI with a dynamic parameter, where modifying the parameter (p1) changes the data set in the report.

 

Zrzut ekranu 2024-01-05 080853.png

 

Then, using the REST API, I generated a link to embed the report, where I also defined the parameter (p1) in the endpoint.

Reports - Get Report - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Zrzut ekranu 2024-01-05 075909.png

 

After embedding the report in the Powet BI playground, I do not see any changes (i.e. the parameter does not change), why?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @i4.

AFAIK, current power bi does not support to use query string to update parameter.
For update report parameter which defined in query parameter, I'd like to suggest you use the REST API ‘Datasets - Update Parameters In Group’ API:

Datasets - Update Parameters In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
i4
Frequent Visitor

It works, thank you very much for your help.

Anonymous
Not applicable

HI @i4.

AFAIK, current power bi does not support to use query string to update parameter.
For update report parameter which defined in query parameter, I'd like to suggest you use the REST API ‘Datasets - Update Parameters In Group’ API:

Datasets - Update Parameters In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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