I have a source spreadsheet with three columns.
Column A contains a list of table names, Column B and C are mapping/conversion fields for those tables.
Example snipett:
e.g. Dimension table contains DimensionTitle field which is named "Title" on the system
My task is to create a conversion table to automatically rename those columns, however rather than do this manually for each table, I wondered if there's a way to use the values in Column A to automatically convert the spreadsheet into as many tables as there are unique values?
Solved! Go to Solution.
You cannot dynamically add queries in Power Query.
You cannot dynamically add queries in Power Query.
I suspected so but thanks for confirming!
Hi, @Anonymous ;
Try to create a new table by dax.
new =
VALUES ( 'table'[column] )
Or
new =
SUMMARIZE ( 'table', [column1], [column2] )
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi there thanks for your reply. Unfortunately I need to do this in power query not in the data model. I will resort to some VBA to split out the excel table into multiple tabs instead.
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
This session will provide guidance and teach campers the skills required to build Power BI reports that support multiple languages.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
User | Count |
---|---|
27 | |
20 | |
19 | |
19 | |
17 |