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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ECorona
Frequent Visitor

Is there any way to perform nested queries from a connector or do the in an automatic/scripted mode?

Hello everybody: 
I have made a custom connector that perform queries to several endpoints that basically maps an data base into a REST API, at this moment the connector works pretty well, but I have found an "issue", performing a query where I need the ID from another table (I have an endpoint per table) I need to get data from table 1 first, then filter the IDs and save them in a table, the copy and paste them somewhere else and then use one ID at the time to retrive data from table 2 this becomes a really repetive task. I'm making a report from several records, but this is taking too much time. 

 

In MySQL this could be easily solved performing nested queries but here the first solution that comes to my mind is to find a way to perform the get data processes automatically, is there way to retrieve multiple queries in a automatic/scripted way using just Power BI once I have authenticated in my custom connector? 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @ECorona,

AFAIK, current the data driver already support to use sub query in your t-SQL query.

If you mean to send multiple queries and get different result tables the same time, current power bi data connector may not support.

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @ECorona,

AFAIK, current the data driver already support to use sub query in your t-SQL query.

If you mean to send multiple queries and get different result tables the same time, current power bi data connector may not support.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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