<?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: Set Analysis Values Change in Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301657#M460666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;See the below link to understand what aggr function is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://www.analyticsvidhya.com/blog/2014/02/aggr/" rel="nofollow" target="_blank"&gt;https://www.analyticsvidhya.com/blog/2014/02/aggr/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can read the &lt;A __default_attr="4003" __jive_macro_name="user" class="jive_macro default_title jive_macro_user" href="https://community.qlik.com/"&gt;&lt;/A&gt; blogs on aggr function which will truly help you to understand the aggr function&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2017 05:57:16 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-04-24T05:57:16Z</dc:date>
    <item>
      <title>Set Analysis Values Change in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301652#M460661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been developing two models of attribution. One where a person is directly connected to $ and another where the person is connected to $ through an intermediary account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I am having is that the calculation at the account level is not working as expected in a straight table. When there are no selections it is inaccurate ... when I select only one value, it is accurate. I tried to provide an example below as well as the calculations and data models. I know this is a long shot, but I would appreciate any help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- dave &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;No Selections&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="NoSelections.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/160905_NoSelections.PNG" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Selection&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;IMG alt="Selection.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/160906_Selection.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Column1 - Camp.Campaign Name (Scooby)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Column2 - NOT working as expected &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[AcctOpps.Upsell ARR (converted)] = {"&amp;gt;0"}&amp;gt;} If([AcctOpps.Close Date] &amp;gt; [Camp.Campaign Start Date],Aggr(Only([AcctOpps.Upsell ARR (converted)]),[AcctOpps.Opportunity ID])))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Column3 - Working as expected &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Opps.Upsell ARR (converted)] = {"&amp;gt;0"}&amp;gt;} If([Opps.Close Date] &amp;gt; [Camp.Campaign Start Date], [Opps.Upsell ARR (converted)]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DM.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/160907_DM.PNG" style="height: 217px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Apr 2017 23:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301652#M460661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-22T23:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Values Change in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301653#M460662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[AcctOpps.Upsell ARR (converted)] = {"&amp;gt;0"}&amp;gt;} &lt;STRONG&gt;aggr(&lt;/STRONG&gt;If([AcctOpps.Close Date] &amp;gt; [Camp.Campaign Start Date],[AcctOpps.Upsell ARR (converted)]),&lt;STRONG&gt;[AcctOpps.Opportunity ID]&lt;/STRONG&gt;,&lt;STRONG&gt;[Camp.Campaign Name])&lt;/STRONG&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2017 07:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301653#M460662</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-23T07:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Values Change in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301654#M460663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please post a sample app, it may be a data model issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2017 07:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301654#M460663</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-04-23T07:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Values Change in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301655#M460664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;amazing job kushal! thank you SO much. do you have any references I can use to learn this?&amp;nbsp; it looks like you moved the if inside the aggr and added campaign name to the aggr as well, but I dont completely understand why this works &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2017 13:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301655#M460664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-23T13:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Values Change in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301656#M460665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for the resourced vineeth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2017 13:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301656#M460665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-23T13:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Values Change in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301657#M460666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;See the below link to understand what aggr function is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://www.analyticsvidhya.com/blog/2014/02/aggr/" rel="nofollow" target="_blank"&gt;https://www.analyticsvidhya.com/blog/2014/02/aggr/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can read the &lt;A __default_attr="4003" __jive_macro_name="user" class="jive_macro default_title jive_macro_user" href="https://community.qlik.com/"&gt;&lt;/A&gt; blogs on aggr function which will truly help you to understand the aggr function&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 05:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Values-Change-in-Straight-Table/m-p/1301657#M460666</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-04-24T05:57:16Z</dc:date>
    </item>
  </channel>
</rss>

