Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4066

Can't Update paginated report data source of as semantic model using rest api

$
0
0

I've created a paginated report by power bi report builder. Used power bi semantic model as data source then published it on power bi service. After that I cloned report by REST API.

Now I want to change the data source as another semantic model of cloned report. I also tried by this endpoint

POST https://api.powerbi.com/v1.0/myorg/reports/{reportId}/Default.UpdateDatasources

Payload:

{"updateDetails": [    {"datasourceName": "<dataSourceName>","connectionDetails": {"workspaceId": "<workspaceId>","datasetId": "<datasetId>"      }    }  ]}

The request return success but actually the report doesn't show data from updated semantic model.

I read the Reports - Update Datasources documentation to update paginated repot's data source but there no example to upate semantic model as data source

I'm looking for an approach to update the data source as semantic model.


Viewing all articles
Browse latest Browse all 4066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>