<?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: Nested set analysis query in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116337#M8085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;updated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Sum({&amp;lt;[Business Date] = {"$(=max([Creation Date]))"}, [Creation Date]=&amp;gt;}Score)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2018 08:53:16 GMT</pubDate>
    <dc:creator>shraddha_g</dc:creator>
    <dc:date>2018-09-12T08:53:16Z</dc:date>
    <item>
      <title>Nested set analysis query</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116334#M8082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data like &lt;SPAN style="font-size: 13.3333px;"&gt;following&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID, Creation Date,Business Date, Score &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1,10/1/2018,10/1/2018,10&lt;/P&gt;&lt;P&gt;1,10/1/2018,10/2/2018,20&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1,10/1/2018,10/3/2018,30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2,10/1/2018,1&lt;SPAN style="font-size: 13.3333px;"&gt;0/1/2018,50&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2,10/1/2018,1&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;0/2/2018,600&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2,10/1/2018,1&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;0/3/2018,50&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so for each business date score will be generated. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Requirements :&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Want to show MTD value for&amp;nbsp; score &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;filter :&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Creation Date : Always one selected date&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Example and expected output &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;For ex : i want MTD as of 10/2/2018 ( selected creation date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Expected result : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Step 1: Get the all rows for creation date&amp;nbsp; between 10/1/2018 and 10/2/2018 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;ID, Creation Date,Business Date, Score &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1,10/1/2018,10/1/2018,10&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1,10/1/2018,10/2/2018,20&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2,10/1/2018,1&lt;SPAN style="font-size: 13.3333px;"&gt;0/1/2018,50&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2,10/1/2018,1&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;0/2/2018,600&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 2&lt;/STRONG&gt; : &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Once we receive output i want to get record where &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt;"&gt;creation date = &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Business Date when we are selecting single creation date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1,10/1/2018,10/1/2018,10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2,10/1/2018,1&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;0/1/2018,50&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Step 3: &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;sum(score) for above rows.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Howe this can be achieved though set analysis . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show total = 60 in KPI in above case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request you to please let me know your thoughts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 15:54:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116334#M8082</guid>
      <dc:creator>prashantsanchet</dc:creator>
      <dc:date>2018-09-11T15:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis query</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116335#M8083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help how to write nested set analysis for same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 08:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116335#M8083</guid>
      <dc:creator>prashantsanchet</dc:creator>
      <dc:date>2018-09-12T08:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis query</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116336#M8084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[Business Date] = {"$(=max([Creation Date]))"}&amp;gt;}Score)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 08:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116336#M8084</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2018-09-12T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis query</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116337#M8085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;updated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Sum({&amp;lt;[Business Date] = {"$(=max([Creation Date]))"}, [Creation Date]=&amp;gt;}Score)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 08:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116337#M8085</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2018-09-12T08:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nested set analysis query</title>
      <link>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116338#M8086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shraddha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply but i am not getting expected output with above query as i need a MTD value given one creation date selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request to Please help me . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 09:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nested-set-analysis-query/m-p/116338#M8086</guid>
      <dc:creator>prashantsanchet</dc:creator>
      <dc:date>2018-09-12T09:16:44Z</dc:date>
    </item>
  </channel>
</rss>

