Forum Discussion
Deleting multiple columns in Multiple queries at a time
- 4 years ago
Just import your data and let's say this is Query1.
Now right click on Query1 and Reference - This will create a reference query based on Query1. You can do whatever transformations you are doing.
Create n number of queries based on Query1 and do your transformations.
Then whatever you delete in Query1 will be reflected in all reference queries
Hence, if you have a single data source, just make one query and make references to this in all other queries.
If your data sources are different, then you will have to delete column indiviually.
Unfortunately in PQ, every query will have to be edited individually. This can be possible only if all other queries are reference queries based on original query. In this case, if column is deleted in original query, then reference queries will also be not having that column.
But, I presume, your queries are not reference queries but individual queries. In this case, you will have to enter into each and every query individually and delete the column.