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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Table.Combine: Combine all queries in a group

Hello,

 

Our organization has a few reports that need a static lookback at results for each of our fiscal periods. An example is our accounts recevables aging list. It needs to be pulled each month and then combined to show our monthly aging schedules. 

 

I was wondering if there is a way to reference a power query group (an organized group of queries) so that we don't have to manually type each query name in Table.Combine() when we upload a new month? If not, should we submit a request to get this feature added?

 

I've researched this for about an hour and haven't come up with anything yet! Hopefully you guys can help out?

 

jprins112_0-1612899059239.png

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

Can please share some dummy data with a similar data structure? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly

BTW, if your files are stored in a folder, you can try to use a folder connector to get the list of first and direct use combine function with that file lists. (Table.Combine function use list as the parameter, you can try to use 'source name' and 'column name' to extract the file list)

let
    Source = Table.Combine(QueryName[ColumnName])
in
    Source

M query operator 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
Tonio_EG
Regular Visitor

Hi, have you figured out a way to do this?

v-shex-msft
Community Support
Community Support

Hi @Anonymous,

Can please share some dummy data with a similar data structure? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly

BTW, if your files are stored in a folder, you can try to use a folder connector to get the list of first and direct use combine function with that file lists. (Table.Combine function use list as the parameter, you can try to use 'source name' and 'column name' to extract the file list)

let
    Source = Table.Combine(QueryName[ColumnName])
in
    Source

M query operator 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
PhilipTreacy
Super User
Super User

@Anonymous 

How are you loadng all these tables?  Are they from files or a folder?

Have you tried the Folder connector which allows you to easily combine files in the way you are describing?

regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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