Re: How to read rows from an excel file which are not contained in a table?
@Marina51533 I have half a dozen of these 'when an email arrives > save attachment to SharePoint (with the same filename so it overwrites) > refresh the power query Excel file' setups because of having to deal with non-table Excel files sent by email from another Dept, it only takes a few mins to set up the first time and then it works forever (just have to refresh the power query data). The flow is really straightforward and the Power Query is even straightforwarder (assuming no transformations required, but even if you do, you only need to do that once and the transformations will be applied every time you refresh) 😊:
- When an email arrives as trigger: select the email those regular attachment emails come from, include a keyword that's guaranteed to be in the subject line and set only with attachments to yes.
- Get attachment (using the message id from the trigger)
- Create file in SharePoint - use a standard hard coded filename so that the file is always up to date (you can save the original filename version in an archive folder if you want as well, but I'm thinking about having the reliably refreshed data connected via Power Query), use attachments attachment id for the id and attachments content for the content.

The first time you do that, create a new Excel file, then go to Data > Get Data > from Excel Workbook, then select the worksheet and if you need to clean anything up, you can do it by clicking Transform and then do whatever (Power Query is AWESOME and worth learning, lots of YT vids on it) , but to just get the data in a table format, you can just click Load, and that's it! You'll see the original data in a nice table format, and from now on any time you refresh, it'll refresh based on the source data file and Power Automate can just use this table-format version.