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

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

Update Dataset using Power BI REST API

It's good to have Power BI REST API for creating Datasets. It'd be really good to be able to change Datasets schema using Power BI REST API. Otherwise, it's impossible to make changes (i.e. relationships) on existing Dataset which all reports are dependent on.
Status: Needs Votes
Comments
hirensangani
Regular Visitor
Apparently according to Power BI documentation, you cannot update dataset which comprises your multiple tables. However you can update their existing schema using following API: http://docs.powerbi.apiary.io/#reference/datasets/table/update-an-existing-tables-schema
fbcideas_migusr
New Member
Adjust your json table file to meet the requirements of your changed schema and then do a PUT to the table via the API. I've done this a few times now. Seems to work fine.
zhll2046
New Member
Also need to add/remove table from an dataset
numssolanki
New Member
how can i update my relationship schema in powerbi api?
sjorg
Frequent Visitor
why is this not a priority / has it not been addressed for nearly 2 years? not having this completely destroys efficiency in using the powerbi api, and will drive away users. note that below answers do not address the issue of changing Table Names, or adding / removing Tables.
pcable
Regular Visitor
To clarify, we're after the ability to add new Tables to existing datasets. The existing api allows us to change the schema of existing tables, it just doesn't seem to support adding new ones.
lars_kemmann
New Member
Yes, adding new tables, relationships, and measures is vital to being able to maintain datasets programmatically! I'm building a multitenant IoT solution that will cause all kinds of headaches for customers if I can't make additive changes to existing datasets.
adrian1
New Member
As someone else commented - after the ability to add a new table. We can already alter the structure of an existing table using PutTable/PutTableInGroup - but would like to extend an existing dataset, rather than destroy it (and all related reports) and create another from scratch just to add another (related) table
praveen1
New Member

We still have a problem with not being able to create new tables using push data set on existing schema even after 6 years it was raised. Is there a workaround for this?

mairu_pbi
New Member

I need to add new tables and relationships to an existing dataset via REST API without having to delete the dataset and create a new one, for my company it is a priority.