<?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: QlikView set analysis help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-help/m-p/1744051#M453122</link>
    <description>&lt;P&gt;It might be easier to help if we can take a look at a sample app.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2020 16:05:24 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2020-09-15T16:05:24Z</dc:date>
    <item>
      <title>QlikView set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-help/m-p/1743973#M453119</link>
      <description>&lt;P&gt;I'm hoping what I wish to achieve is possible.&amp;nbsp; It is two fold, per the image I'm attaching.&amp;nbsp; &amp;nbsp;Basically, we are trying to (a) predict when we'll receive first payments in the door based on when we have received first payments in the last 6 months and (b) calculate how much we actually received by that predicted date, if anything.&amp;nbsp; Columns A through F are easily pulled from&amp;nbsp; the data model.&amp;nbsp; Each row in my data model will have a Release Date and may or may not have a First Payment Date depending of course if we received any payments&amp;nbsp; yet.&amp;nbsp; When I have both dates populated, I can then calculate that row's number days (the lag) between them, which is critical to achieve my results in the attached image.&lt;/P&gt;&lt;P&gt;(1)&amp;nbsp; Problem 1 is Column G (Avg Days) (in pink) - This seems to only populate when there is at least one row in my underlying data model with a First Payment Date populated, even though I want to get an avg of all data rows in the last 6 months from the row's Release Date.&amp;nbsp; For row 3, which hasn't received any payments yet, I don't quite understand why I cannot get the info from the previous 6 months to get my Avg # of Days for this column.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this set analysis in place for column G:&lt;/P&gt;&lt;P&gt;Avg(TOTAL&amp;lt;Group, Payor, Plan, [Release Date]&amp;gt;{$&amp;lt;[Release Date]={'&amp;gt;=$(=AddMonths([Release Date], -6&amp;gt;)) &amp;lt;=$(=[Release Date])'}&amp;gt;}LagDays_RelToFirstPaymt)&lt;/P&gt;&lt;P&gt;(2) Problem 2 is Column I (Actual Collections) (in yellow)- How can I use the date generated in column H in my set analysis for this column?&amp;nbsp; I tried to use the expression column name from column H in my set analysis but it is not working (maybe that is not allowed in a set analysis statement??).&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="pred cash flow.GIF" style="width: 644px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/40596i424ABA3F79E39223/image-dimensions/644x196?v=v2" width="644" height="196" role="button" title="pred cash flow.GIF" alt="pred cash flow.GIF" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-help/m-p/1743973#M453119</guid>
      <dc:creator>kdmarkee</dc:creator>
      <dc:date>2024-11-15T23:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-help/m-p/1744051#M453122</link>
      <description>&lt;P&gt;It might be easier to help if we can take a look at a sample app.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 16:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-help/m-p/1744051#M453122</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-09-15T16:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView set analysis help</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-help/m-p/1746943#M453366</link>
      <description>&lt;P&gt;About the best I can offer are the following links that may be of some help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to search Design Blog area yourself, you can use the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 19:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-set-analysis-help/m-p/1746943#M453366</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-09-24T19:44:42Z</dc:date>
    </item>
  </channel>
</rss>

