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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Gabry
Super User
Super User

Is it possible to write data into semantic model through rest api?

Is it possible to write data through the REST APIs into the tables of the semantic model, or is it only possible to read data?

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

You can upload the entire semantic model, but not individual tables.

 

Note there is a slight variation to the theme when you work with push datasets.

View solution in original post

v-yilong-msft
Community Support
Community Support

Hi @Gabry ,

Just as lbendlin says, we can write data into the tables of a semantic model through REST APIs.

The method for writing data into semantic model tables is through the Push Datasets API. You can read this document for a further study:  Push Datasets API 

However you may face some limitations and permissions, here you can read this two documents: Power BI REST APIs push semantic model limitations - Power BI | Microsoft Learn and Power BI REST APIs semantic model permissions - Power BI | Microsoft Learn

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yilong-msft
Community Support
Community Support

Hi @Gabry ,

Just as lbendlin says, we can write data into the tables of a semantic model through REST APIs.

The method for writing data into semantic model tables is through the Push Datasets API. You can read this document for a further study:  Push Datasets API 

However you may face some limitations and permissions, here you can read this two documents: Power BI REST APIs push semantic model limitations - Power BI | Microsoft Learn and Power BI REST APIs semantic model permissions - Power BI | Microsoft Learn

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

You can upload the entire semantic model, but not individual tables.

 

Note there is a slight variation to the theme when you work with push datasets.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!