Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
How to remove unequal numbers of "Top" & "Bottom" rows (together) dynamically from multiple files in Power Query?
Solved! Go to Solution.
Is there a value in a column that is only in the top/bottom rows you want to skip. If so, you can just do a filter. You can also use Table.Skip, which can be used with a condition to dynamically skip rows You would do this in the #"Transform sample file" query (or a custom function) so that it gets applied dynamically to each file.
Table.Skip - PowerQuery M | Microsoft Learn
Pat
Is there a value in a column that is only in the top/bottom rows you want to skip. If so, you can just do a filter. You can also use Table.Skip, which can be used with a condition to dynamically skip rows You would do this in the #"Transform sample file" query (or a custom function) so that it gets applied dynamically to each file.
Table.Skip - PowerQuery M | Microsoft Learn
Pat
Thanks for the solution, it works 😀
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 50 | |
| 41 | |
| 32 | |
| 26 | |
| 24 |
| User | Count |
|---|---|
| 131 | |
| 118 | |
| 58 | |
| 45 | |
| 43 |