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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
inawab
Frequent Visitor

Import/Modify Power BI Dataset using R

Hi,

 

How can I Import/Modify Power BI Dataset using R?

using the Get data to get power BI dataset does not allow any modification on the dataset, so I was thinking using R to do all the changes and cleaning.

 

is it possible to do this? 

 

Thank you all.

1 REPLY 1
amitchandak
Super User
Super User

@inawab , modification to the dataset should be done in source dataset, you can use restapi, cmdlets and XMLAend point

 

https://learn.microsoft.com/en-us/rest/api/power-bi/

https://docs.microsoft.com/en-us/powershell/power-bi/overview?view=powerbi-ps

 

Using XMLA endpoints to change data sources in a Power BI dataset
https://powerbi.microsoft.com/en-us/blog/using-xmla-endpoints-to-change-data-sources-in-a-power-bi-d...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.