<?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: Sum(IF()) with two set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2523940#M106838</link>
    <description>&lt;P&gt;your expression in not working,&lt;BR /&gt;i want if my measure is&amp;nbsp;&lt;SPAN&gt;'BHR Fail','Total Fails' then it should take the whole weeks data from max date else for rest of the measure it should take only for max date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but what is happening with my expression is that it is not taking any set analysis in sumif, it is only giving me sum of volume.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jul 2025 11:50:45 GMT</pubDate>
    <dc:creator>zyn</dc:creator>
    <dc:date>2025-07-11T11:50:45Z</dc:date>
    <item>
      <title>Sum(IF()) with two set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2523935#M106835</link>
      <description>&lt;P&gt;i want to use sum if with two set analysis but its giving me wrong answer can some one help on this, below is my expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(&lt;BR /&gt;if (&lt;BR /&gt;WildMatch(Measure,'BHR Fail','Total Fails'),&lt;BR /&gt;{&amp;lt;DITDate= {"&amp;gt;=$(=(date(Max(DITDate)-6)))&amp;lt;=$(=(date(Max(DITDate))))"},Table_Flag = {'JAT'}&amp;gt;}Volume,&lt;BR /&gt;{&amp;lt;DITDate= {'$(=(date(Max(DITDate))))'},Table_Flag = {'JAT'}&amp;gt;}Volume&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 11:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2523935#M106835</guid>
      <dc:creator>zyn</dc:creator>
      <dc:date>2025-07-11T11:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(IF()) with two set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2523937#M106837</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;DITDate = {"&amp;gt;=$(=Date(Max(DITDate)-6))&amp;lt;=$(=Date(Max(DITDate)))"},&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Table_Flag = {'JAT'}&amp;gt;&lt;/P&gt;&lt;P&gt;}&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; If(WildMatch(Measure, 'BHR Fail', 'Total Fails'), Volume)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;Sum({&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;DITDate = {"$(=Date(Max(DITDa&lt;/P&gt;&lt;P&gt;te)))"},&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 11:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2523937#M106837</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-07-11T11:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(IF()) with two set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2523940#M106838</link>
      <description>&lt;P&gt;your expression in not working,&lt;BR /&gt;i want if my measure is&amp;nbsp;&lt;SPAN&gt;'BHR Fail','Total Fails' then it should take the whole weeks data from max date else for rest of the measure it should take only for max date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but what is happening with my expression is that it is not taking any set analysis in sumif, it is only giving me sum of volume.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 11:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2523940#M106838</guid>
      <dc:creator>zyn</dc:creator>
      <dc:date>2025-07-11T11:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(IF()) with two set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2523942#M106839</link>
      <description>&lt;P&gt;I think the logic should look like:&lt;/P&gt;&lt;P&gt;if(wildmatch(), Expr1, Expr2)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 12:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2523942#M106839</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-07-11T12:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(IF()) with two set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2524146#M106850</link>
      <description>&lt;P&gt;The reason i am using Sum( IF() ) is because i want to take selection but my chart values shouldn't change ,&lt;/P&gt;&lt;P&gt;by using this:&amp;nbsp;&lt;SPAN&gt;if(wildmatch(), Expr1, Expr2), when selecting different rows my table is taking else condition and the numbers are changing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For my measure&amp;nbsp;Measure,'BHR Fail','Total Fails', it should take whole week data and for others it should take only max date, so when i select any other row which corresponds to max date, my&amp;nbsp;Measure,'BHR Fail','Total Fails' are also taking max date data, can any one suggest how to achieve this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 13:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2524146#M106850</guid>
      <dc:creator>zyn</dc:creator>
      <dc:date>2025-07-14T13:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(IF()) with two set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2524154#M106853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147709"&gt;@zyn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of use Sum(If () ) try this&lt;/P&gt;&lt;P&gt;Sum(&lt;BR /&gt;{&lt;BR /&gt;&amp;lt;&lt;BR /&gt;Measure = {'BHR Fail', 'Total Fails'},&lt;BR /&gt;Table_Flag = {'JAT'},&lt;BR /&gt;DITDate = {"&amp;gt;=$(=Date(Max(DITDate)-6))&amp;lt;=$(=Date(Max(DITDate)))"}&lt;BR /&gt;&amp;gt; +&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;BR /&gt;DITDate = {"=$(=Date(Max(DITDate)))"},&lt;BR /&gt;Measure -= {'BHR Fail', 'Total Fails'},&lt;BR /&gt;Table_Flag -= {'JAT'}&lt;BR /&gt;&amp;gt;&lt;BR /&gt;} Volume&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 14:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2524154#M106853</guid>
      <dc:creator>rafaelencinas</dc:creator>
      <dc:date>2025-07-14T14:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sum(IF()) with two set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2524165#M106856</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45380"&gt;@rafaelencinas&lt;/a&gt;&amp;nbsp;Thanks! your solution works.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 14:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-IF-with-two-set-analysis/m-p/2524165#M106856</guid>
      <dc:creator>zyn</dc:creator>
      <dc:date>2025-07-14T14:42:35Z</dc:date>
    </item>
  </channel>
</rss>

