<?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: Save a calculation as a data record. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344476#M836379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must do that in script, set analysis are only allowed in frontend.&lt;/P&gt;&lt;P&gt;If&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;PSADATA.quantity and&lt;SPAN style="font-size: 10pt;"&gt; &lt;SPAN style="font-size: 10pt;"&gt;PSADATA.processtype are within one table,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you could do somethink like that &lt;STRONG&gt;in script&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORETABLE:&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum(PSADATA.quantity) as SUM&lt;SPAN style="font-size: 10pt;"&gt;PSADATA.quantity&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Resident YOURTABLE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;WHERE wildmatch(&lt;SPAN style="font-size: 10pt;"&gt;PSADATA.processtype,'*prt*')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;group by YOUR.GROUPING.DIMENSION&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;store STORETABLE into STORE.qvd (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;drop table STORETABLE;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Jun 2017 09:34:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-03T09:34:24Z</dc:date>
    <item>
      <title>Save a calculation as a data record.</title>
      <link>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344471#M836374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a interesting one. I have production plan that is live with no audit or historical data logging. When i run the qlikview presentation and sum the currently value for the work load its a capture at that point in time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to record stamp this as per that data and save it as a record so that if i wish to review the last few weeks i would have the daily sums?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember the data base always changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Brett&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344471#M836374</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Save a calculation as a data record.</title>
      <link>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344472#M836375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to create daily QVDs and then load it into your presentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 12:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344472#M836375</guid>
      <dc:creator>micheledenardi</dc:creator>
      <dc:date>2017-05-26T12:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Save a calculation as a data record.</title>
      <link>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344473#M836376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without sounding silly whats the easiest way over achieving that automatically and dating it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 14:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344473#M836376</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2017-05-26T14:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Save a calculation as a data record.</title>
      <link>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344474#M836377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could add a timestamp of current day onto the name of the qvd that you are storing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;LET vToday = date(today(), 'YYYYMMDD');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;STORE * FROM Table INTO QVD_Name_$(vToday).qvd (qvd);&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create a new QVD everyday that your data loads.&amp;nbsp; If you have more than one table in your data model, you will need more than one STORE statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 14:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344474#M836377</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2017-05-26T14:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Save a calculation as a data record.</title>
      <link>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344475#M836378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, could i store the expression result only and save sum below under DD/MM/YYYY which it relates to ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; num(sum({&amp;lt;&lt;SPAN style="font-size: 10pt;"&gt;PSADATA.processtype={"*prt*"}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;gt;} PSADATA.quantity)&amp;nbsp; ,'#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 09:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344475#M836378</guid>
      <dc:creator>bnelson111</dc:creator>
      <dc:date>2017-06-03T09:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Save a calculation as a data record.</title>
      <link>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344476#M836379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must do that in script, set analysis are only allowed in frontend.&lt;/P&gt;&lt;P&gt;If&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;PSADATA.quantity and&lt;SPAN style="font-size: 10pt;"&gt; &lt;SPAN style="font-size: 10pt;"&gt;PSADATA.processtype are within one table,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;you could do somethink like that &lt;STRONG&gt;in script&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORETABLE:&lt;/P&gt;&lt;P&gt;noconcatenate&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum(PSADATA.quantity) as SUM&lt;SPAN style="font-size: 10pt;"&gt;PSADATA.quantity&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Resident YOURTABLE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;WHERE wildmatch(&lt;SPAN style="font-size: 10pt;"&gt;PSADATA.processtype,'*prt*')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;group by YOUR.GROUPING.DIMENSION&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;store STORETABLE into STORE.qvd (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;drop table STORETABLE;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 09:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Save-a-calculation-as-a-data-record/m-p/1344476#M836379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-03T09:34:24Z</dc:date>
    </item>
  </channel>
</rss>

