<?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: Logic help/Thoughts please. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118098#M891845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA Excel and the QVW.If you see SubID 500 it only has 4 months of data but because of the frequency Type it is multiplying it 12 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much for all your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2016 14:48:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-16T14:48:20Z</dc:date>
    <item>
      <title>Logic help/Thoughts please.</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118096#M891843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the below logic where based on the &lt;STRONG&gt;Pay_frequency&lt;/STRONG&gt; the &lt;STRONG&gt;Amount&lt;/STRONG&gt; is being calculated for each &lt;SPAN style="font-size: 13.3333px;"&gt;s&lt;STRONG&gt;ubID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,Expense Type&lt;/STRONG&gt; and &lt;STRONG&gt;ExpenseID.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Aggr((Max([Amount]) * Pick(Match(pay_frequency, 'Monthly', 'Quarterly', 'Annually', 'Semi Annually','One Time'), 12, 4, 1, 2,1)),&lt;/P&gt;&lt;P&gt; subID,[Expense Type],ExpenseID))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am having a scenario where One &lt;SPAN style="font-size: 13.3333px;"&gt;subID &lt;/SPAN&gt;doesnt have Amount for all 12 months ...it only has amount for 5 months....but based on the logic it is picking the Max of amount and multiplying by 12 as the Frequency is Monthly.How can I avoid this scenario ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank mush for your help.&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/Logic-help-Thoughts-please/m-p/1118096#M891843</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Logic help/Thoughts please.</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118097#M891844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to test out some possibilities?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118097#M891844</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-16T14:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Logic help/Thoughts please.</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118098#M891845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure &lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA Excel and the QVW.If you see SubID 500 it only has 4 months of data but because of the frequency Type it is multiplying it 12 times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much for all your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118098#M891845</guid>
      <dc:creator />
      <dc:date>2016-08-16T14:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Logic help/Thoughts please.</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118099#M891846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum(Aggr((Max([Amount]) *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Pick(Match(pay_frequency, 'Monthly', 'Quarterly', 'Annually', 'Semi Annually','One Time'), &lt;SPAN style="color: #ff0000;"&gt;Count(DISTINCT [Month of Expense])&lt;/SPAN&gt;, 4, 1, 2,1)),SubID,[Expense Type],ExpenseID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 16:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118099#M891846</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-16T16:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Logic help/Thoughts please.</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118100#M891847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works....thank yiu &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 16:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-help-Thoughts-please/m-p/1118100#M891847</guid>
      <dc:creator />
      <dc:date>2016-08-16T16:44:00Z</dc:date>
    </item>
  </channel>
</rss>

