Forum Discussion
Unable to Deploy RDL Files to Power BI Service via GitHub
Hi,
I have been using GitHub.com for a while, and it has been working fine until I encountered a new issue. I can create an RDL file and submit it through a pull request (PR) without any problems. However, when I try to deploy the RDL file to the Power BI Service, I am unable to find it after deployment.
Could you please let me know what alternative options are available for deploying the RDL file to the Power BI Service? Also, are there any additional steps I should take to ensure the deployed file is visible in the service?
Thank you.
Hi Roomie117, just dropping an RDL file into the git repo will not work to deploy it, just like dropping a pbix file in git will not work to deploy it.
If you first upload the RDL file to a workspace manually, and then commit that to git, you will see the folder structure and files that need to exist. Each item is represented as a folder in Git, and within that folder are the item definitions, for reports those are in the PBIP format.
5 Replies
- GilbertQSuper User
Hi Roomie117
Have you tried looking at the built in CI, CD within the power BI and fabric surface in order to do your deployments that way? https://learn.microsoft.com/en-us/fabric/data-science/data-agent-source-control
- ibarrauSuper User
Hi. I'm not sure what you mean with not being able to find it. If you want it to be automatically deployed from repo, I guess the Power Bi Rest API is the best alternative. Write a code to run this request from a Github action: https://learn.microsoft.com/en-us/rest/api/power-bi/imports/post-import-in-group
You can build a single action to read folder, map report to workspace, etc or build an action for each rdl. Think about your scenario and consider alternatives.
I hope that helps,
- tayloramySuper User
Hi Roomie117, just dropping an RDL file into the git repo will not work to deploy it, just like dropping a pbix file in git will not work to deploy it.
If you first upload the RDL file to a workspace manually, and then commit that to git, you will see the folder structure and files that need to exist. Each item is represented as a folder in Git, and within that folder are the item definitions, for reports those are in the PBIP format.
- v-priyankataCommunity Support
- v-priyankataCommunity Support
Hi Roomie117
Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.