Forum Discussion

papanovn's avatar
papanovn
Frequent Visitor
8 years ago
Solved

Looping over different data sources

Hello. I'm experienced QlikView developer but I'm still novice to Power BI. I need expert advise about the following. In QlikView I'm able to loop large amount of code using variables. Let's look at...
  • Greg_Deckler's avatar
    8 years ago

    Sure you can automatically concatenate tables with an Append command in M. I believe what you are looking for is to have a function that contains your common import code. Then, you would just pass the correct parameters into the function and your function would return a table which you would feed to the Append command. You main query script would probably include a List of the names that you would iterate over versus a FOR loop.