Recently, i have started on one requirement where i need to migrate reports from other technologies to PowerBi so as part of report migration i am using power bi rest api (https://learn.microsoft.com/en-us/rest/api/power-bi/push-datasets) which supports to create datasets in PUSH mode. using which i am able to call Power Bi Rest API to create datasets and add data into datasets using JSON format.
but problem is actual report's data are available in millions of rows. stored in some database tables. so, we can not provide in JSON as a static data.
Our requirement is we need to create Power Bi semantic layer through Rest API (or any other programmatic approach) which can be connected with some dataSource like MySQL Database tables.
or just let me know if i need to use any other approach to achieve this functionality !!
Thanks !!
i have tried using power bi rest api with push semantic model but that will not be valid for long term