Hello people. I'm new at using Power Query and I'm having a problem. As I need to work with a huge spreadsheet - more than 2 million rows - I wish to know how many of rows there are. Dou you know how can I do that? Thanks.
July 16, 2010
Power Query only shows you a preview of the first 1000 rows of the data. It does this so that it can be responsive when working in the query editor. If you want to get a row count, you can choose any column that doesn't contain blanks or nulls, and on the Transform tab choose Statistics > Count Values. This will give you the row count. You can then delete the step to revert back to the previous view.
Mynda
Answers Post
Power Query
Power BI
December 8, 2020
Why would that be? Isn't it essentially doing the same thing with the profile as with the count step?
(I've never been able to use power query for very tables anyway. The power queries I've managed to construct with unpivoting/pivoting are unusably slow for anything over ~2-10,000 rows)
July 16, 2010
The Power Query editor gives you a 1000 row snapshot of the data. It does this to enable it to remain agile when you perform steps on the data in the editor. If you force it to reference the entire dataset while building your queries, it has to process each step on the entire dataset as you're working in the editor. Whereas, in the default setting of showing just 1000 rows, it only processes the steps on the entire dataset upon Close & Load.
1 Guest(s)