<?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: QlikView script to flow previous month values if current month value is zero in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-script-to-flow-previous-month-values-if-current-month/m-p/1791429#M1210691</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/131563"&gt;@ritvik4BI&lt;/a&gt;&amp;nbsp;, please try this :&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Month,&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if( Sales = 0, previous(Sales), Sales) as Sales&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;FROM [..\Downloads\Scenario101.xlsx] (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the basic example, with &lt;FONT color="#008000"&gt;&lt;STRONG&gt;previous&lt;/STRONG&gt; &lt;/FONT&gt;function ,&lt;/P&gt;&lt;P&gt;Take care about your data types for ensure correct results, and about order logic too.&lt;/P&gt;&lt;P&gt;greetings!&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 14:29:11 GMT</pubDate>
    <dc:creator>QFabian</dc:creator>
    <dc:date>2021-03-15T14:29:11Z</dc:date>
    <item>
      <title>QlikView script to flow previous month values if current month value is zero</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-script-to-flow-previous-month-values-if-current-month/m-p/1791382#M1210687</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have two fields-&amp;nbsp; Month and Sales. I have been trying to write the QlikView script for the following scenario:&lt;/P&gt;&lt;P&gt;If for a month, the Sales value is 0, then the previous month's value should flow into it.&amp;nbsp; For example if the Sales for the month June is 0, then the previous month i.e. May Sales value should flow into it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the excel file FYR.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 12:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-script-to-flow-previous-month-values-if-current-month/m-p/1791382#M1210687</guid>
      <dc:creator>ritvik4BI</dc:creator>
      <dc:date>2021-03-15T12:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView script to flow previous month values if current month value is zero</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-script-to-flow-previous-month-values-if-current-month/m-p/1791429#M1210691</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/131563"&gt;@ritvik4BI&lt;/a&gt;&amp;nbsp;, please try this :&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Month,&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if( Sales = 0, previous(Sales), Sales) as Sales&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;FROM [..\Downloads\Scenario101.xlsx] (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the basic example, with &lt;FONT color="#008000"&gt;&lt;STRONG&gt;previous&lt;/STRONG&gt; &lt;/FONT&gt;function ,&lt;/P&gt;&lt;P&gt;Take care about your data types for ensure correct results, and about order logic too.&lt;/P&gt;&lt;P&gt;greetings!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 14:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-script-to-flow-previous-month-values-if-current-month/m-p/1791429#M1210691</guid>
      <dc:creator>QFabian</dc:creator>
      <dc:date>2021-03-15T14:29:11Z</dc:date>
    </item>
  </channel>
</rss>

