Showing results for 
Search instead for 
Did you mean: 
alfdagos Frequent Visitor
Frequent Visitor

Create dataset in direct query mode using the PowerBI Rest API

Hello everyone!
from the documentation of the PowerBI REST API, I suppose that the correct API to be invoked in order to create a dataset is "Push Datasets - Datasets PostDatasetInGroup" (
Anyway I cannot understand what are the correct parameters to send in post (in addition to the authentication token clearly ..)
There are only one example but isn't esaustive for me.

Where is the Direct Query mode declaration?
Where is the declaration of type of datasource set? (for example ... Azure SQL, Spark HDInsight, etc.)
The connection credentials?


Is it possible to see some complete example of creating datasets in direct query mode?


Thank you so much for the support !!




alfdagos Frequent Visitor
Frequent Visitor

Re: Create dataset in direct query mode using the PowerBI Rest API

Hi to all!


Please, no one can help me?


Thanks a lot to all!!

   Best regards,


Helpful resources

Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Top Kudoed Authors
Users Online
Currently online: 100 members 1,388 guests
Please welcome our newest community members: