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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
avadhuts123
Regular Visitor

Create power bi dataset by using powershell

I have to create power bi dataset by using powershell script. My datasource is excel file which is in OneDrive.
Or is there any way to create dataset by other kind of scripting?

1 ACCEPTED SOLUTION

Well, you better look for solution in Powershell community then

https://techcommunity.microsoft.com/t5/powershell/ct-p/WindowsPowerShell

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

3 REPLIES 3
aj1973
Community Champion
Community Champion

Hi @avadhuts123 

You have an Excel file located in OneDrive, why don't you use Power BI desktop to create your Dataset? Why Powershell?

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Hi @aj1973 

In my project requirement I have to create datasets outside the power bi desktop. That's why I need any kind of scripting, which will create dataset by using OneDrive excel as datasource.

Well, you better look for solution in Powershell community then

https://techcommunity.microsoft.com/t5/powershell/ct-p/WindowsPowerShell

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.