<?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: Reuse Set Analysis Result in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1813991#M1212818</link>
    <description>&lt;P&gt;Looks like you need the TOTAL Qualifier in your expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Sum(TOTAL {&amp;lt;IsFirstDay={"Y"}, Month = {"1"}&amp;gt;} Active)&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 09 Jun 2021 19:20:06 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2021-06-09T19:20:06Z</dc:date>
    <item>
      <title>Reuse Set Analysis Result</title>
      <link>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1813977#M1212817</link>
      <description>&lt;DIV class="MessageInResponseTo lia-component-message-view-widget-in-response-to lia-component-in-response-to"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a table that for each month shows what the ending of the month headcount is. It uses this expression:&lt;BR /&gt;&lt;STRONG&gt;Month Headcount = Sum( {&amp;lt;IsLastDay={"Y"}&amp;gt;} Active)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In order to do a calculation (turnover) I need to also get the first day of the year headcount and use that number in each row of the table.&lt;/P&gt;&lt;P&gt;I can get the first day of the month, for the first month number with this expression:&lt;BR /&gt;&lt;STRONG&gt;First Day of Year =Sum( {&amp;lt;IsFirstDay={"Y"}, Month = {"1"}&amp;gt;} Active)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;My question is:&amp;nbsp; How can I repeat that first day of the month in the table or get that result in each row's calculation.&lt;/P&gt;&lt;P&gt;Where I am stuck is that it only shows up in the first month, in the table.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;I just need to get the First Day of Year number. That is so I can use this calculation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=YTD Terminations / (First Day of Year + Month Headcount)/2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I had tried some different approaches such as using variables and trying out using an equal sign in the expression, and sometime not. I'm still a bit fuzzy on when the expression calculates based on if there is an equal sign or not in the expression.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I appreciate the advice!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Jun 2021 18:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1813977#M1212817</guid>
      <dc:creator>treborscottnam</dc:creator>
      <dc:date>2021-06-09T18:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse Set Analysis Result</title>
      <link>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1813991#M1212818</link>
      <description>&lt;P&gt;Looks like you need the TOTAL Qualifier in your expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Sum(TOTAL {&amp;lt;IsFirstDay={"Y"}, Month = {"1"}&amp;gt;} Active)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 09 Jun 2021 19:20:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1813991#M1212818</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2021-06-09T19:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse Set Analysis Result</title>
      <link>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814038#M1212820</link>
      <description>&lt;P&gt;Hi sunny_talwar,&lt;/P&gt;&lt;P&gt;I really appreciate the answer. I tried that, but it didn't work for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is, I neglected to mention that I have multiple years. So the TOTAL did its job and summed up the years, but I need the total just for the year in which those months fall.&lt;/P&gt;&lt;P&gt;For example, what I'd like to see is a table like I've attached (I tried inserting a table, but kept getting errors that wouldn't allow me to post).&amp;nbsp;Using TOTAL gave me 10,150, in the First Day of the Year column.&lt;/P&gt;&lt;P&gt;I hope that fills in what I neglected to say originally.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 02:30:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814038#M1212820</guid>
      <dc:creator>treborscottnam</dc:creator>
      <dc:date>2021-06-10T02:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse Set Analysis Result</title>
      <link>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814142#M1212832</link>
      <description>&lt;P&gt;In that case, try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Sum(TOTAL &amp;lt;Year&amp;gt; {&amp;lt;IsFirstDay={"Y"}, Month = {"1"}&amp;gt;} Active)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 10 Jun 2021 10:41:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814142#M1212832</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2021-06-10T10:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse Set Analysis Result</title>
      <link>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814266#M1212849</link>
      <description>&lt;P&gt;Thank you so much! That is exactly what I was looking for and it was a huge help.&lt;/P&gt;&lt;P&gt;I thought I had a basic understanding of Set Analysis, but it appears I still have a lot more to learn.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 15:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814266#M1212849</guid>
      <dc:creator>treborscottnam</dc:creator>
      <dc:date>2021-06-10T15:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse Set Analysis Result</title>
      <link>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814268#M1212850</link>
      <description>&lt;P&gt;Well this is not really set analysis. Read more about Total Qualifier here -&amp;gt;&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/May2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/define-aggregation-scope.htm" target="_blank" rel="noopener"&gt;Defining the aggregation scope&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 16:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814268#M1212850</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2021-06-10T16:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reuse Set Analysis Result</title>
      <link>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814270#M1212852</link>
      <description>&lt;P&gt;Well, that proves even more how much I have to learn!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 16:17:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reuse-Set-Analysis-Result/m-p/1814270#M1212852</guid>
      <dc:creator>treborscottnam</dc:creator>
      <dc:date>2021-06-10T16:17:23Z</dc:date>
    </item>
  </channel>
</rss>

