- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Deleting multiple columns in Multiple queries at a time
Hey,
I want to dlete same columns in each quers, so I cant go to each query and select the columns and delete as the columns which need to be deleted are same. Can any one help me in sorting this out please?
So, for all the queries I should delete the same columns. Can anyone please help me?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Iam not sure if this is exactly what Iam looking for 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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.

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
07-23-2024 03:11 PM | |||
09-27-2023 12:52 AM | |||
06-13-2024 03:27 AM | |||
12-19-2023 12:58 AM | |||
03-21-2024 12:59 AM |
User | Count |
---|---|
28 | |
27 | |
25 | |
14 | |
10 |
User | Count |
---|---|
24 | |
21 | |
17 | |
16 | |
10 |