Would it be possible to add a way to read data from Tables within a sheet in Excel rather than only the entire sheet at once to the Excel Reader node? This would be a great improvement for users in my company that have data in Excel tables, sometimes more than one table per sheet.
In addition to what John is stating above those tables are dynamic so they grow or shrink as data is updated so you can’t just use read from a specific area of the sheet to accomplish this. Additionally there are also Named Ranges in Excel that act similarly. It would be nice to be able to have all these options when reading from Excel.
I am not sure what you guys mean by “tables within a sheet”, are they just different area/cells within a sheet?
You can specify what rows and columns for the Excel Reader to read within a sheet via the options I highlighted in the Excel Reader:
Bruno29a. If you go to the Formulas tab in Excel and look at the Name Manager you will see a list of Tables and Named Ranges if some one has configured the workbook that way.(See the screenshot below) These tables make referencing the data in formulas much easier and make the formulas themselves more readable. The tables are dynamic in nature. That is, if you add more contiguous rows or columns the defined area automatically grows to encompass this new content. Similarly, when data is deleted, the table shrinks. Using the Read only data in option you show limits you to a fixed area on the sheet. When a user adds new data that new data would not be read and if data is deleted you will end up with blank rows or columns.
Hi @Experteece , thanks for the detailed explanation, I’m no expert in Excel and I certainly was not aware of this feature. I’m not sure the Excel Reader has the ability to read these - someone would have to confirm this. I think it’s able to evaluate formulas, but not read the limits of a table from the Name Manager.
If what I said above is correct, as a workaround, you may need to define these limits manually per sheet in the Excel Reader as I suggested through the range option, and based on what’s in the Name Manager:
@bruno29a As I stated, the limits option will not take into account growth and shrink. We know that getting data from the tables is possible because Power BI an Alteryx are able to do it. That is why we are suggesting it as an improvement to the Excel Reader
Hi @Experteece , don’t get me wrong, I’m not saying that the Excel Reader should not support this feature, but as it stands, it seems like it currently does not (again, someone to confirm this). And yes I understand that what I suggested will limit the option on the fact that it’s not dynamic, but this was more of a workaround in the meantime.
You van extract the tables directly or read all the ranges from your ‘named’ table (areas) and then use KNIME to import them.
that’s great feedback (and a great suggestion, @mlauber71!), so thanks for that! I created a feature request to include the Named Ranges (internal reference: AP-18115) since I couldn’t find it in our system yet and I think it would be a valuable enhancement.
Thanks for the suggestion @mlauber71 this may be something we could try implementing and getting to our users via a component. I’ll investigate that possibility!
Thanks @LukasS for creating the feature request, I think it could be a nice addition!
This is a great idea! +1 from me!