Forum Discussion

tbakrf's avatar
tbakrf
Frequent Visitor
1 year ago
Solved

Deleting columns in table view vs Power Query Editor

I'm bringing a SQL table into Power BI Desktop as an import, and there are several unnecessary columns (they are not part of any relationship).    The question is whether I should click on the Tabl...
  • AmiraBedh's avatar
    1 year ago

     

    Power Query Editor is used to transform data before it is loaded into the model.

    When you remove a column in PQE, the column is excluded during the data load. This means it won’t be part of the dataset in Power BI, and it won't consume memory or affect the model size.

    IMHO, I think this approach is generally more efficient. Since the column is removed before loading, less data is transferred, stored, and processed. If your data refreshes several times a day, you save resources each time, as the unnecessary data is never loaded.

    Also don't forget that PQE transformations are more transparent and reusable so if you need to revisit why certain columns were removed, it's easy to track in the applied steps in PQE.

     

    In the other hand, when you delete a column in the table view here it means you are removing it from the model after the data has already been loaded from the source.

    The column is still fetched from the source and loaded into the dataset, but it is simply not visible in the report view.

    Although it may clean up your report visually, it doesn’t save memory or processing power, as the data still exists in the underlying model. If your data refreshes frequently, those columns will still consume resources each time, even though they’re hidden from your report.

    Deleting in the model isn't as transparent or easy to track compared to PQE. Future users (or even yourself) may not realize that those columns are still loaded, just not visible.