Forum Discussion

gvg's avatar
gvg
Post Prodigy
6 years ago
Solved

Dynamic source table name in Power Query

Hi, I have two data sources as tables in my query list: tableA and tableB. I want to build another query (myQuery) that dynamically takes either tableA or tableB as source. I know how to use paramet...
  • avatorl's avatar
    avatorl
    6 years ago

    gvg

    Source = Expression.Evaluate("Table" & parameter, #shared)