Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
sanimesa
Post Prodigy
Post Prodigy

Choosing columns under edit queries

I spend a lot of time eliminating the unnecessary columns from tables using the choose columns feature under edit queries. 

Wonder if the experts could share tips on this area, also the most efficient way to do this because one could also use remove columns. 

 

It would also be a great if the distinct values of a column are shown when a table is opened under edit queries. Distinct values are shown in data view but not under edit queries and in the choose columns dialog box (data type would be helpful as well). 

2 ACCEPTED SOLUTIONS
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @sanimesa,

 

From above description, I am confused about your requirement. What problem did you face when removing the unnecessary columns? Do you want to remove multiple columns at a time? If so, you can choose multiple columns (Ctrl + Click), then, click "remove" button as shown in below image.

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

anithat
Resolver II
Resolver II

If you want to remove  two columns , select those two columns and click on "remove columns" as shown below in first image.

If you want to remove all columns except two columns then select the 2 columns which are  required and click on "remove other columns".  Please reply in detail if it doesnt answer your question.

Remove selected columns.pngRemove other columns.png

 

View solution in original post

3 REPLIES 3
anithat
Resolver II
Resolver II

If you want to remove  two columns , select those two columns and click on "remove columns" as shown below in first image.

If you want to remove all columns except two columns then select the 2 columns which are  required and click on "remove other columns".  Please reply in detail if it doesnt answer your question.

Remove selected columns.pngRemove other columns.png

 

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @sanimesa,

 

From above description, I am confused about your requirement. What problem did you face when removing the unnecessary columns? Do you want to remove multiple columns at a time? If so, you can choose multiple columns (Ctrl + Click), then, click "remove" button as shown in below image.

1.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yulgu-msft  What is the difference between rmove columns and choose columns? Does it impact performance/model size?

It would be great to have the distinct values of a column under choose columns as well.  Most often columns with only 1 distinct value are not useful.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.