<?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: Values are not coming for some records by using IF statement in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Values-are-not-coming-for-some-records-by-using-IF-statement/m-p/2058932#M86929</link>
    <description>&lt;P&gt;I'm agree with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp; The two formulas are not the same.&lt;/P&gt;
&lt;P&gt;On the first one, you used a variable to filter the field&amp;nbsp;&lt;SPAN&gt;ContinuousDay.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;On the last one, you fixed a value 101 and you added a condition on another field Day_of_Week.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What are the rules you need to apply ?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 06:46:26 GMT</pubDate>
    <dc:creator>Sabrina_V</dc:creator>
    <dc:date>2023-04-11T06:46:26Z</dc:date>
    <item>
      <title>Values are not coming for some records by using IF statement</title>
      <link>https://community.qlik.com/t5/App-Development/Values-are-not-coming-for-some-records-by-using-IF-statement/m-p/2058863#M86927</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;Both measures are the same. But the 1st measure shows all values whereas the 2nd shows only two products value.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1st Expression:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;Version_Desc = {'Actual','Adjustment'},ContinuousDay = {"&amp;lt;=$(=max(ContinuousDay))"}, YearOffset = {"$(=max(YearOffset)-1)"},Year,Month,Date_Key,Day_of_Week&amp;gt;}Sales_Value)/1000&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2nd Expression:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If(Day_of_Week = 10,&lt;BR /&gt;Sum({&amp;lt;Version_Desc = {'Actual','Adjustment'},ContinuousDay = {"&amp;lt;=101"}, YearOffset = {"$(=max(YearOffset)-1)"},Year,Month,Day_of_Week&amp;gt;}Sales_Value)/1000)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dineshm030_0-1681178017367.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/104550i6EF411BB007532F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dineshm030_0-1681178017367.png" alt="dineshm030_0-1681178017367.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you please help me out.&lt;/P&gt;
&lt;P&gt;Thanks in advance&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 02:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Values-are-not-coming-for-some-records-by-using-IF-statement/m-p/2058863#M86927</guid>
      <dc:creator>dineshm030</dc:creator>
      <dc:date>2023-04-11T02:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Values are not coming for some records by using IF statement</title>
      <link>https://community.qlik.com/t5/App-Development/Values-are-not-coming-for-some-records-by-using-IF-statement/m-p/2058907#M86928</link>
      <description>&lt;P&gt;Both expressions are not the same. I assume that in both cases the ContinuousDay &amp;lt;= 101 - one time calculated and one time as fixed value - but the second aggregation is included within another expression - the if-loop - and of course this will have an impact.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 05:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Values-are-not-coming-for-some-records-by-using-IF-statement/m-p/2058907#M86928</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-04-11T05:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Values are not coming for some records by using IF statement</title>
      <link>https://community.qlik.com/t5/App-Development/Values-are-not-coming-for-some-records-by-using-IF-statement/m-p/2058932#M86929</link>
      <description>&lt;P&gt;I'm agree with&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp; The two formulas are not the same.&lt;/P&gt;
&lt;P&gt;On the first one, you used a variable to filter the field&amp;nbsp;&lt;SPAN&gt;ContinuousDay.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;On the last one, you fixed a value 101 and you added a condition on another field Day_of_Week.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What are the rules you need to apply ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 06:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Values-are-not-coming-for-some-records-by-using-IF-statement/m-p/2058932#M86929</guid>
      <dc:creator>Sabrina_V</dc:creator>
      <dc:date>2023-04-11T06:46:26Z</dc:date>
    </item>
  </channel>
</rss>

