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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
JohnTheDoe
Frequent Visitor

Which API link should I use to upload a local CSV as a new dataset to service?

I'm exploring the PowerBI's REST API reference to find a resource that I could use to upload a local CSV file I have in the desktop to a specific workspace, but can't seem to find one. Is there a way I can accomplish this inside my own app?

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @JohnTheDoe,

 

Since you said the CSV file is in the Desktop, I would suggest you use this API to upload the whole pbix file as a new data source. 

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your response. 

 

Is there a way to only upload CSV files in order to create a new dataset? The idea is so that the customer won't need to have knowledge of PowerBI and can simply upload a CSV file he/she is working on without hassle, and let another person who does know about PowerBI do the report work.

Hi @JohnTheDoe,

 

According to the imports/postimportingroup and my test, I'm afraid the CSV file isn't supported for now. How about converting them into Excel files first? I would suggest you create an idea here.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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