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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
ccleverley
Regular Visitor

API insert new table

Hi:

 

    I can use the API to create a dataset, I then create 1 table inside the dataset while creating the dataset. I can use the API to load data into my dataset.

 

    I now want to create a new table inside the dataset. 

 

   I tried to post to  https://api.powerbi.com/beta/myorg/datasets/<<my long dataset id>>/tables

 

   I have also tried to recreate my dataset - but then I get a new dataset with just the new table.

 

  If posting to https://api.powerbi.com/beta/myorg/datasets :creates a new dataset,.

                      https://api.powerbi.com/beta/myorg/datasets/<<my long dataset id>>/tables/<<my table>>/rows : creates a new row, then I thought it logical that https://api.powerbi.com/beta/myorg/datasets/<<my long dataset id>>/tables would create a new table.

 

?

 

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@ccleverley

 

Currently, Power BI REST API doesn't support adding Table into existing Dataset. You have to recreate you Dateset.

 

Regards,

 

 

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@ccleverley

 

Currently, Power BI REST API doesn't support adding Table into existing Dataset. You have to recreate you Dateset.

 

Regards,

 

 

 

I understand, and in general things work well and so I am not complaining.

 

But, for low code programming environments, the goal is to deliver to customers software which can be easily cusomized. The customer will make their own views and even tables.

 

The customer can then easily export the new tables or views to PowerBI, but that means wiping out their old dataset and recreating. (The minus there is that historical data is lost.) Or the customer can create a new dataset - with no table relations to their already exported tables. The minus there is that they can not join their new data to the old data.

 

Also for existing integrations new versions of an interface will have new tables which again will wipe out old data. Thus compairsons between the current state of a project against 1 year ago will not be possible.

 

I am not complaining, but I think that there are times when an add table is good.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.