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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
abpgupta
Continued Contributor
Continued Contributor

Pass parameter in REST API URL for Dataset Refresh

Hi All,

 

Is there any way to pass Power Query Parameters via URL for dataset refresh?

 

Thanks for any inputs!

 

 

1 ACCEPTED SOLUTION
MikeJohnsonZA
Responsive Resident
Responsive Resident

No, you would not be able to pass any parameters through to the refresh command as there is no parameter available via the API (see Asynchronous refresh with the Power BI REST API - Power BI | Microsoft Docs)

 

You could use a two-step process, firstly you can call the API to update the parameters (See Datasets - Update Parameters - REST API (Power BI Power BI REST APIs) | Microsoft Docs), then call the data set refresh (see Asynchronous refresh with the Power BI REST API - Power BI | Microsoft Docs). This would give you the same net effect, just not in a single call.

 

View solution in original post

1 REPLY 1
MikeJohnsonZA
Responsive Resident
Responsive Resident

No, you would not be able to pass any parameters through to the refresh command as there is no parameter available via the API (see Asynchronous refresh with the Power BI REST API - Power BI | Microsoft Docs)

 

You could use a two-step process, firstly you can call the API to update the parameters (See Datasets - Update Parameters - REST API (Power BI Power BI REST APIs) | Microsoft Docs), then call the data set refresh (see Asynchronous refresh with the Power BI REST API - Power BI | Microsoft Docs). This would give you the same net effect, just not in a single call.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.