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.

PBI dataset enhanced refresh via REST API in ADF pipeline: Table refresh

Hello, 

 

I tried to implement the enhanced Dataset refresh as sugessted on this page:

https://docs.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh

 

Below is the input for the Datafactory web activity of the REST API call:

Input
{ "url": "https://api.powerbi.com/v1.0/myorg/groups/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/datasets/xxxxxxxxxxxxxxxx...", "connectVia": { "referenceName": "ir-a2-pub-01", "type": "IntegrationRuntimeReference" }, "method": "POST", "headers": { "Content-Type": "application/x-www-form-urlencoded" }, "body": { "type": "Automatic", "commitMode": "partialBatch", "maxParallelism": 20, "retryCount": 3, "objects": [ { "table": "Fact GL Balance" }, { "table": "Fact GL Movement" } ] }, "authentication": { "type": "MSI", "resource": "https://analysis.windows.net/powerbi/api" } }
 
But instead of refresh only the 2 tables I specified here, it refreshes the whole dataset.
 
Can anyone see what is not working properly here?
 
Thank you
Status: Investigating
Comments
po-wei
Microsoft Employee

Could you try using refresh full?

If partition is ready, automatic type will not get latest data.

powei_0-1660782948084.png

Refresh command (TMSL) | Microsoft Docs

Enhanced refresh with Power BI REST API - Power BI | Microsoft Docs

Anonymous
Not applicable

Thank you, now it works as expected