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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
alfdagos
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" (https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/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 !!

 

Regards,

   Alfredo

1 REPLY 1
alfdagos
Frequent Visitor

Hi to all!

 

Please, no one can help me?

 

Thanks a lot to all!!

   Best regards,

   A.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.