Forum Discussion
Split Master table into multiple tables dynamically based on column value
- 1 year ago
Hi Richard_Halsall ,
The simple answer is no, you can't dynamically create these tables. Power Query can not spawn new queries internally.
However, you could potentially pre-build the queries, but dynamically populate them something like the attached PBIX.
This works ok if you've got a limited number of assets and a known maximum but, if you've got maybe 20+, this is going to be a bit of a PITA.
Pete
Hi Richard_Halsall ,
The simple answer is no, you can't dynamically create these tables. Power Query can not spawn new queries internally.
However, you could potentially pre-build the queries, but dynamically populate them something like the attached PBIX.
This works ok if you've got a limited number of assets and a known maximum but, if you've got maybe 20+, this is going to be a bit of a PITA.
Pete
- BA_Pete1 year agoSuper User
Also, genuine thank you for providing source data as M code. Makes it soooo much quicker/easier to grab and get started on 🙂
Pete