<?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: store KPI value for later usage in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1742008#M56804</link>
    <description>&lt;P&gt;ok, please correct me if I am wrong:&lt;/P&gt;&lt;P&gt;1. I need to add&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; If( InDay(SomeDateInYourDataModel, Today(), -1 ) , 'Y','N' )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="AddMessageTags lia-message-tags lia-component-message-view-widget-tags"&gt;to table load script with data dimension&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="AddMessageTags lia-message-tags lia-component-message-view-widget-tags"&gt;2. add to KPI instead of ex. Sum(Sales) -&amp;gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM({&amp;lt;[IsYesterday]={'Y'}&amp;gt;} [Sum(Sales)])​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2020 14:24:52 GMT</pubDate>
    <dc:creator>Micki</dc:creator>
    <dc:date>2020-09-08T14:24:52Z</dc:date>
    <item>
      <title>store KPI value for later usage</title>
      <link>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1741966#M56802</link>
      <description>&lt;P&gt;Hi, does anybody have recipe have easily store today value in KPI chart and use tomorrow for comparing with new one?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1741966#M56802</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2024-11-16T01:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: store KPI value for later usage</title>
      <link>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1741976#M56803</link>
      <description>&lt;P&gt;Generally, I would have a "IsYesterday" flag, and then use that in my set analysis.&amp;nbsp; It can then be calculated at load time or declared in the UI&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM({&amp;lt;[IsYesterday]={'Y'}&amp;gt;} Widgets)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would have to create this flag using a calendar or some other date in your script i.e&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; If( InDay(SomeDateInYourDataModel, Today(), -1 ) , 'Y','N' )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 08 Sep 2020 13:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1741976#M56803</guid>
      <dc:creator>JustinDallas</dc:creator>
      <dc:date>2020-09-08T13:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: store KPI value for later usage</title>
      <link>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1742008#M56804</link>
      <description>&lt;P&gt;ok, please correct me if I am wrong:&lt;/P&gt;&lt;P&gt;1. I need to add&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; If( InDay(SomeDateInYourDataModel, Today(), -1 ) , 'Y','N' )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="AddMessageTags lia-message-tags lia-component-message-view-widget-tags"&gt;to table load script with data dimension&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="AddMessageTags lia-message-tags lia-component-message-view-widget-tags"&gt;2. add to KPI instead of ex. Sum(Sales) -&amp;gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SUM({&amp;lt;[IsYesterday]={'Y'}&amp;gt;} [Sum(Sales)])​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 14:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1742008#M56804</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2020-09-08T14:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: store KPI value for later usage</title>
      <link>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1742028#M56806</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42707"&gt;@JustinDallas&lt;/a&gt;&amp;nbsp; thank you so much for your answer, but it's not working &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Could please send the sample .qvf with dummy data ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 14:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1742028#M56806</guid>
      <dc:creator>Micki</dc:creator>
      <dc:date>2020-09-08T14:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: store KPI value for later usage</title>
      <link>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1742067#M56809</link>
      <description>&lt;P&gt;If you provide the dummy data I might be able to help.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 15:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/store-KPI-value-for-later-usage/m-p/1742067#M56809</guid>
      <dc:creator>JustinDallas</dc:creator>
      <dc:date>2020-09-08T15:46:35Z</dc:date>
    </item>
  </channel>
</rss>

