Forum Discussion
New table / query based on existing query
- 10 years ago
operator, PowerBI Desktop uses PowerQuery internally, so the capabilities are almost identical (Save a few Excel related features)
You can refer to another query by their name, for example, starting from a Blank Query, type
= Query1
that will refer to an existing query called "Query1"
I believe a problem I'm having is very similar to that of the original poster, however the proposed solution does not quite solve my problem.
Let's say my original table is loaded into the Query Editor with columns: | ID | A | B | C | X | Y | Z |
I would like to create a 2nd table with only columns: | ID | X | Y | Z |
(perhaps by duplicating the entire 1st table and then deleting unnecessary columns | A | B | C | )
I would then like the 1st table to end up with only columns: | ID | A | B | C |
(i.e. simply deleting columns | X | Y | Z | ). Therein lies the problem: this deletion of columns in the 1st table must happen AFTER the 2nd table has been created.
Suggestions?