We use the “Excel Writer” Node to write our results to file system. This file is used to update PowerBI.
With KNIME 5.2.1 no problem.
with KNIME 5.3.1 Power BI reports failure. (Can´t find the right sheet, it has problems with the navigation)
If we open with KNIME 5.3.1. written “result.xlsx” with Excel directly and save it without changes, Power BI loads without failure.
Are there any changes made in the Excel Writer Node with KNIME 5.3.1 ?
Greetings Alex
@Wile Excel as a way to transfer data is not optimal. In another thread there was the suggestion to use parquet to bring data to PowerBI. Maybe also try this.
Thank you for your suggestion. We have to evaluate it, because some Excel files are also used by “humans”
But also good to know, that the general issue is already known, so I can looking foward to any KNIME updates
we recently fixed a bug wrt. Excel Writer PowerBI compatibility in KNIME 5.3.2 (internal reference AP-23021, fixing “File contains corrupted data.” error). Could you try again with this version?
Though, I am a bit worried that it might not be the fix for your problem, since you report that PowerBI has trouble finding sheets/navigating them. We know of a bug in the underlying library (we’re tracking it with AP-22823), where sheet dimensions are not correctly updated to reflect the actual data, and PowerBI seems to be one of the only tools that cares about that, all other tools seem to just read the data that’s there (and it is, just the metadata is not accurate). The workaround is to write the file with the “Evaluate formulas” option checked. This makes it less usable for very large exports (because it has to hold everything in main memory to chase formula references), but updates the metadata correctly.
Hi @hotzm,
sorry for my late reply, I was on vacation.
I tested it with KNIME 5.3.2 and it works!!
Thank you a lot!
And by the way, I learned a lot with parquet