Forum Discussion

jaryszek's avatar
jaryszek
Super User
4 years ago
Solved

Push dataset and replace existing one connected to report - REST API

hi   i have report published and want to change entire dataset connected to using REST API. Code for my Table imported in M:   let Source = Excel.Workbook(File.Contents("C:\Users\Jacek\Do...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi jaryszek ,

     

    1) Do i have to delete whole dataset and post new one? Or i can replace somehow existing one? 

    I checked the REST API list and there is no API for replacing dataset. 

    Datasets - REST API (Power BI Power BI REST APIs) | Microsoft Docs

    You may consider replacing the data source and republishing it here.

     

    2) What steps should look like and how to write json to post dataset for this one table? 

    Not supported.

     

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly -- How to provide sample data