Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Dear Community,
I just started with Power BI- Query and I do have some troubles by removing columns and unnecessary data.
My question: What is the best way to remove data when it comes to data efficiency?
1) via removing the column?
2) by “Choose columns” and only select the columns i may need ?
3) maybe with a Measure (if possible?)?
I am trying to make the report as efficient as possible.
Thank you very much in advance.
Solved! Go to Solution.
Whether you use Select columns or remove columns, it will use Table.SelectColumn function only. So, both are same as they are executing the same statements. So 1 and 2 are same, no difference.
DAX will not remove a column. Measures can produce final result values.
In general, measures are faster than PQ (exceptions aside). But in case of calculated columns, PQ is faster (exceptions aside).
In Power BI, you need to reduce the size of rectangle (rows * columns) as much as possible. Hence, before doing any transformations or calculations, remove as many columns as possible to reduce the size of rectangle. You should also filter out as many rows as possible.
Then you can decide whether to use DAX or PQ as per your need.
Normally, i use 2) by “Choose columns” and only select the columns i may need ? because in this approach, it is easy and quick for you to choose columns to keep when you have so many columns. In this option, the top serach bar also can help you find the columns fast.
Normally, i use 2) by “Choose columns” and only select the columns i may need ? because in this approach, it is easy and quick for you to choose columns to keep when you have so many columns. In this option, the top serach bar also can help you find the columns fast.
Whether you use Select columns or remove columns, it will use Table.SelectColumn function only. So, both are same as they are executing the same statements. So 1 and 2 are same, no difference.
DAX will not remove a column. Measures can produce final result values.
In general, measures are faster than PQ (exceptions aside). But in case of calculated columns, PQ is faster (exceptions aside).
In Power BI, you need to reduce the size of rectangle (rows * columns) as much as possible. Hence, before doing any transformations or calculations, remove as many columns as possible to reduce the size of rectangle. You should also filter out as many rows as possible.
Then you can decide whether to use DAX or PQ as per your need.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 7 | |
| 5 | |
| 5 |