Forum Discussion

LukeReds's avatar
LukeReds
Icon for Helper II rankHelper II
3 years ago
Solved

Get n tables from a table with n rows

Hi to everyone,

my question is, how can i get 3 different tables (like in the pic 2) from a initial unique table (numer 1 in the pic?

3 is an example, it may be I have 2,5, 10 rows

 

Thank you in advance

 

  • Hi LukeReds 

     

    If you want to create multiple queries from tables in an initial unique table according to the number of rows automatically, I'm afraid this is not supported. You can only right click on a cell and select "Add as New Query" to create a new query from it. You need to repeat the same operation for all tables one by one. Then rename these queries manually. Power Query does not support creating queries according to a value from an existing query dynamically. 

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.

2 Replies

  • v-jingzhang's avatar
    v-jingzhang
    Icon for Community Support rankCommunity Support

    Hi LukeReds 

     

    If you want to create multiple queries from tables in an initial unique table according to the number of rows automatically, I'm afraid this is not supported. You can only right click on a cell and select "Add as New Query" to create a new query from it. You need to repeat the same operation for all tables one by one. Then rename these queries manually. Power Query does not support creating queries according to a value from an existing query dynamically. 

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.

  • 谢谢 v-jingzhang,

    I supposed it was not possible, yes i could apply a manual command but its not a fixed number of rows.

     

    Thank you