Forum Discussion

Ester's avatar
Ester
Regular Visitor
3 years ago
Solved

Dinamycally generate multiple queries from a single query script

Hi,

 

Using m language in Power Query Editor, is it possible to generate multiple tables from a single script?

I don't know in advance what the number of resulting tables will be, since it depends on some conditions.

Any ideas?

 

Thanks in advance!

  • It can't generate another query (which is table in your lingo).

    One query, one table model is what is followed by PQ.

1 Reply

  • Vijay_A_Verma's avatar
    Vijay_A_Verma
    Most Valuable Professional

    It can't generate another query (which is table in your lingo).

    One query, one table model is what is followed by PQ.