Forum Discussion

WaheedAli's avatar
WaheedAli
Helper I
5 years ago
Solved

Query referencing another query

Hi, I am new with Microsoft Power BI so please bear with me. What I am trying to do is, I have a query (Web-API) through which I am getting some data and now I need to make another query, which is basically many queries, based on a variable from the first query-table.

In other words query A has a column, which I want to use as variable to make 2nd (multiple) queries, using query A's one column contents. Now when I try to do that by converting query A's that column in to a list and creating a parameter which refers to that list and when I try to run the query it gives and error that (something like) your query is refering to another query.

Can someone help me how to overcome that? Bascially the source for both queries are the same. I just want to use the 1st query's one column as variable for another query, so I can make multiple queries. Thanks in advance.

4 Replies