<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Excel(.xlsx) formula refresh after loading data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293330#M66315</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;while using the tFileExcelworkbookOpen/Save, tFileExcelsheetInput/Output components.. same issue is being repeated. &lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 13:21:20 GMT</pubDate>
    <dc:creator>Spasupuleti1641121123</dc:creator>
    <dc:date>2022-03-25T13:21:20Z</dc:date>
    <item>
      <title>Excel(.xlsx) formula refresh after loading data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293324#M66309</link>
      <description>&lt;P&gt;Hi, all&lt;/P&gt;&lt;P&gt; could you please help on below scenorio,&lt;/P&gt;&lt;P&gt;I am updating excel sheets(.xlsx) with new data, After updating with new data the formula fields are not being updated, If i enable check box "Re-calculate formula" talend is taking too much long time for one file(40mins).like wise i need to update 700 files. because of this i need to open all the file and clik ctrl+alt+f9 to update formula fields. &lt;/P&gt;&lt;P&gt;kindly help on this.. I want design talend code to update data along with formula fields..&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sudheer&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293324#M66309</guid>
      <dc:creator>Spasupuleti1641121123</dc:creator>
      <dc:date>2024-11-15T23:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Excel(.xlsx) formula refresh after loading data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293325#M66310</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When you use normal excel without any formula via tfileoutputexcel, does it work fast? So only the excel with attached formula is taking so much of time?&lt;/P&gt;&lt;P&gt;Could you please check and confirm what is calculation mode in excel , is it automatic or manual?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 08:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293325#M66310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-25T08:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Excel(.xlsx) formula refresh after loading data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293326#M66311</link>
      <description>&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;Input excel file: &lt;/P&gt;&lt;P&gt;A, B, C&lt;/P&gt;&lt;P&gt;1, 2, 3&lt;/P&gt;&lt;P&gt;3, 4, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;target Excel file:&lt;/P&gt;&lt;P&gt;A, B, C, C1, C2&lt;/P&gt;&lt;P&gt;2, 1, 1, 2*A, 3*B&lt;/P&gt;&lt;P&gt;If i fill A,B,C columns in target table from source table with talend job, C1,C2 columns in target table are not updating according to formula..&lt;/P&gt;&lt;P&gt;-&amp;gt;if i enable check box Recalculate formula, in tFileOutputExcel job is taking 30min for one file. because each file containing 30k to 80k records.. that is why i am not supporting to enable recalculate formula in OutputExcel..&lt;/P&gt;&lt;P&gt;i am requesting you is there any way to fix this issue..&lt;/P&gt;&lt;P&gt;After succesfull completion of job i want see correct updated data in ouput file along with C1,C2 columns..&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sudheer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293326#M66311</guid>
      <dc:creator>Spasupuleti1641121123</dc:creator>
      <dc:date>2022-03-25T09:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Excel(.xlsx) formula refresh after loading data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293327#M66312</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm not sure this use case can be achieved in talend built-in component.&lt;/P&gt;&lt;P&gt;You could have a look at some custom components tFileExcel* (a collection of components) from Talend Exchange and it is written by our community member Jan Lolling.&lt;/P&gt;&lt;P&gt;&lt;A href="https://exchange.talend.com/#marketplaceproductoverview:marketplace=marketplace%252F1&amp;amp;p=marketplace%252F1%252Fproducts%252F542&amp;amp;pi=marketplace%252F1%252Fproducts%252F542%252Fitems%252F3017" alt="https://exchange.talend.com/#marketplaceproductoverview:marketplace=marketplace%252F1&amp;amp;p=marketplace%252F1%252Fproducts%252F542&amp;amp;pi=marketplace%252F1%252Fproducts%252F542%252Fitems%252F3017" target="_blank"&gt;https://exchange.talend.com/#marketplaceproductoverview:marketplace=marketplace%252F1&amp;amp;p=marketplace%252F1%252Fproducts%252F542&amp;amp;pi=marketplace%252F1%252Fproducts%252F542%252Fitems%252F3017&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is online documentation about: &lt;A href="https://help.talend.com/r/en-US/8.0/install-update-custom-compt" alt="https://help.talend.com/r/en-US/8.0/install-update-custom-compt" target="_blank"&gt;TalendHelpCenter: How to install and update a custom component&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 09:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293327#M66312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-25T09:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Excel(.xlsx) formula refresh after loading data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293328#M66313</link>
      <description>&lt;P&gt;Hi As far i can see in the java code Talend is using the org.apache.POI library to recalculate formula,  &lt;/P&gt;&lt;P&gt;and use this to recalculate all the formula :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private void evaluateFormulaCell() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FormulaEvaluator evaluator = wb.getCreationHelper().createFormulaEvaluator();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (int sheetNum = 0; sheetNum &amp;lt; wb.getNumberOfSheets(); sheetNum++) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sheet = wb.getSheetAt(sheetNum);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (Row r : sheet) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (Cell c : r) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (c.getCellTypeEnum() == CellType.FORMULA) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;evaluator.evaluateFormulaCellEnum(c);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;wb is a workbook object that contain the workbook&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and here is the recalculate formula in POI documentation :&lt;/P&gt;&lt;P&gt;FileInputStream fis = new FileInputStream("/somepath/test.xls");Workbook wb = new HSSFWorkbook(fis); //or new XSSFWorkbook("/somepath/test.xls")FormulaEvaluator evaluator = wb.getCreationHelper().createFormulaEvaluator();&lt;/P&gt;&lt;P&gt;for (Sheet sheet : wb) { &lt;/P&gt;&lt;P&gt;   for (Row r : sheet) { &lt;/P&gt;&lt;P&gt;       for (Cell c : r) {  &lt;/P&gt;&lt;P&gt;          if (c.getCellType() == Cell.CELL_TYPE_FORMULA) {  &lt;/P&gt;&lt;P&gt;              evaluator.evaluateFormulaCell(c);           &lt;/P&gt;&lt;P&gt; }       &lt;/P&gt;&lt;P&gt; }   &lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as you can see it's very similar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The org.APACHE.POI library seems to be the most used in java project and one of the best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://poi.apache.org/components/spreadsheet/eval.html&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 11:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293328#M66313</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-25T11:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Excel(.xlsx) formula refresh after loading data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293329#M66314</link>
      <description>&lt;P&gt;@Jan Lolling​&amp;nbsp;can surely advise you, if the custom component he made Will bring better performance on formula recalculation or if he know a workaround. &lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 11:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293329#M66314</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-03-25T11:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Excel(.xlsx) formula refresh after loading data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293330#M66315</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;while using the tFileExcelworkbookOpen/Save, tFileExcelsheetInput/Output components.. same issue is being repeated. &lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 13:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-xlsx-formula-refresh-after-loading-data/m-p/2293330#M66315</guid>
      <dc:creator>Spasupuleti1641121123</dc:creator>
      <dc:date>2022-03-25T13:21:20Z</dc:date>
    </item>
  </channel>
</rss>

