<?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 Set Analysis with Identity of 1 is Responding to Filters in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779863#M60639</link>
    <description>&lt;P&gt;I have a KPI that is attempting to compute the number of our donors who contributed in both 2018 and 2019. &amp;nbsp;I do not want these calculation to respond to filters. &amp;nbsp;I am using the Identity value of 1...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=count(distinct&lt;/P&gt;&lt;P&gt;if(Aggr(sum({1&amp;lt;[Contribution Receive Date.autoCalendar.Year]={'2019'}, [Is Deductible]={'YES'}&amp;gt;}[Contribution Total Amount]),[Rollup ID])&amp;gt;0 AND&lt;/P&gt;&lt;P&gt;Aggr(sum({1&amp;lt;[Contribution Receive Date.autoCalendar.Year]={'2018'}, [Is Deductible]={'YES'}&amp;gt;}[Contribution Total Amount]),[Rollup ID])&amp;gt;0,&lt;/P&gt;&lt;P&gt;[Rollup ID]))&lt;/P&gt;&lt;P&gt;Is what I am attempting to do even possible?&lt;/P&gt;&lt;P&gt;Much thanks!&lt;/P&gt;&lt;P&gt;- Gwen Harter&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:31:49 GMT</pubDate>
    <dc:creator>walkasia</dc:creator>
    <dc:date>2024-11-16T17:31:49Z</dc:date>
    <item>
      <title>Set Analysis with Identity of 1 is Responding to Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779863#M60639</link>
      <description>&lt;P&gt;I have a KPI that is attempting to compute the number of our donors who contributed in both 2018 and 2019. &amp;nbsp;I do not want these calculation to respond to filters. &amp;nbsp;I am using the Identity value of 1...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=count(distinct&lt;/P&gt;&lt;P&gt;if(Aggr(sum({1&amp;lt;[Contribution Receive Date.autoCalendar.Year]={'2019'}, [Is Deductible]={'YES'}&amp;gt;}[Contribution Total Amount]),[Rollup ID])&amp;gt;0 AND&lt;/P&gt;&lt;P&gt;Aggr(sum({1&amp;lt;[Contribution Receive Date.autoCalendar.Year]={'2018'}, [Is Deductible]={'YES'}&amp;gt;}[Contribution Total Amount]),[Rollup ID])&amp;gt;0,&lt;/P&gt;&lt;P&gt;[Rollup ID]))&lt;/P&gt;&lt;P&gt;Is what I am attempting to do even possible?&lt;/P&gt;&lt;P&gt;Much thanks!&lt;/P&gt;&lt;P&gt;- Gwen Harter&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779863#M60639</guid>
      <dc:creator>walkasia</dc:creator>
      <dc:date>2024-11-16T17:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Identity of 1 is Responding to Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779870#M60640</link>
      <description>&lt;P&gt;I think you need to add the set analysis to the aggr function also..&lt;/P&gt;&lt;P&gt;See the help for syntax&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/aggr.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2020/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/aggr.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 16:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779870#M60640</guid>
      <dc:creator>skamath1</dc:creator>
      <dc:date>2021-02-03T16:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Identity of 1 is Responding to Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779902#M60645</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;[&lt;SPAN&gt;Contribution Receive Date.autoCalendar.Year]&lt;/SPAN&gt;={'2018','2019'},&lt;SPAN&gt;&amp;nbsp;[Is Deductible]&lt;/SPAN&gt;={'YES'}&amp;gt;}&amp;nbsp;&lt;SPAN&gt;[Rollup ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ksrinivasan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 18:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779902#M60645</guid>
      <dc:creator>Ksrinivasan</dc:creator>
      <dc:date>2021-02-03T18:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Identity of 1 is Responding to Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779948#M60648</link>
      <description>&lt;P&gt;That is interesting! &amp;nbsp;I am still new to all of this and did not know that the set analysis could be applied to the aggr function. &amp;nbsp;It did not solve my problem in this case, but is still good for me to learn. &amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 19:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779948#M60648</guid>
      <dc:creator>walkasia</dc:creator>
      <dc:date>2021-02-03T19:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Identity of 1 is Responding to Filters</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779950#M60649</link>
      <description>&lt;P&gt;That wasn't quite where I needed to be, but was a step in the right direction, as filtering by Receive Date is a lot more logical than summing up the contribution amounts. &amp;nbsp; But as noted initially, I do NOT want the KPI to respond to filters, so need an identity of 1 rather than $.&amp;nbsp;&lt;/P&gt;&lt;P&gt;By drawing some Venn diagrams and thinking things though carefully, I applied the Receive Date approach and came up with the below formula, which (YAY!) does not respond to filters.&lt;/P&gt;&lt;P&gt;// all of the people who contributed in EITHER year&lt;/P&gt;&lt;P&gt;Count({1&amp;lt;[Contribution Receive Date.autoCalendar.Year]={'2018','2019'}, [Is Deductible]={'YES'}&amp;gt;} distinct [Rollup ID])&lt;/P&gt;&lt;P&gt;// minus all of the people who contributed ONLY in 2018&lt;/P&gt;&lt;P&gt;-(Count({1&amp;lt;[Contribution Receive Date.autoCalendar.Year]={'2018','2019'}, [Is Deductible]={'YES'}&amp;gt;} distinct [Rollup ID]) -&lt;BR /&gt;Count({1&amp;lt;[Contribution Receive Date.autoCalendar.Year]={'2019'}, [Is Deductible]={'YES'}&amp;gt;} distinct [Rollup ID]))&lt;/P&gt;&lt;P&gt;// minus all of the people who contributed ONLY in 2019&lt;/P&gt;&lt;P&gt;-(Count({1&amp;lt;[Contribution Receive Date.autoCalendar.Year]={'2018','2019'}, [Is Deductible]={'YES'}&amp;gt;} distinct [Rollup ID]) -&lt;BR /&gt;Count({1&amp;lt;[Contribution Receive Date.autoCalendar.Year]={'2018'}, [Is Deductible]={'YES'}&amp;gt;} distinct [Rollup ID]))&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 19:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Identity-of-1-is-Responding-to-Filters/m-p/1779950#M60649</guid>
      <dc:creator>walkasia</dc:creator>
      <dc:date>2021-02-03T19:37:52Z</dc:date>
    </item>
  </channel>
</rss>

