<?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: Re: Re: Set analysis to include end dates based on start date selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825448#M290738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charlotte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming you only have an end date where something has ended, you could use something like this. I changed the expression totals to sum the rows so that you get a count of how many have started/ended in total for any month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't use your 'end counter' as that didn't seem to correlate with your end dates - if you need it only to show where end counter = 1, you can use a similar idea to what was provided for the start counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2014 13:32:35 GMT</pubDate>
    <dc:creator>morganaaron</dc:creator>
    <dc:date>2014-11-13T13:32:35Z</dc:date>
    <item>
      <title>Set analysis to include end dates based on start date selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825444#M290734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm looking for some set analysis help. I have ref and start and end date. I hold a row for each reference for each month, with a start flag against the month the reference started in and an end flag against the month the reference ended in. I'd like to select a month and display all the references that started in that month and in a different column, a 0 or a 1 depending on whether they've ended or not. Is this possible to do using the P in set analysis? if I don't use P, my end flag column also filters for the month selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach some data and an example qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks, charlotte&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 11:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825444#M290734</guid>
      <dc:creator>charlotte_qvw</dc:creator>
      <dc:date>2014-11-13T11:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to include end dates based on start date selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825445#M290735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 11:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825445#M290735</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-11-13T11:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to include end dates based on start date selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825446#M290736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert. I missed out some examples in my data where the end is in fact blank. So for all my examples, there should be a 1 in the end column, as they've all ended. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach a new example with a blank end date as well. what I would like, is when the use selects the April date, for the 4 April start references to be displayed. There should be a 1 in the start column for all, and a 1 in the end column for the 3 that have ended and a 0 for the one that has not ended. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again, appreciated !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 12:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825446#M290736</guid>
      <dc:creator>charlotte_qvw</dc:creator>
      <dc:date>2014-11-13T12:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set analysis to include end dates based on start date selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825447#M290737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert. I missed out some examples in my data where the end is in fact blank. So for all my examples, there should be a 1 in the end column, as they've all ended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach a new example with a blank end date as well. what I would like, is when the use selects the April date, for the 4 April start references to be displayed. There should be a 1 in the start column for all, and a 1 in the end column for the 3 that have ended and a 0 for the one that has not ended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again, appreciated !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 12:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825447#M290737</guid>
      <dc:creator>charlotte_qvw</dc:creator>
      <dc:date>2014-11-13T12:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Set analysis to include end dates based on start date selected</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825448#M290738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charlotte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming you only have an end date where something has ended, you could use something like this. I changed the expression totals to sum the rows so that you get a count of how many have started/ended in total for any month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't use your 'end counter' as that didn't seem to correlate with your end dates - if you need it only to show where end counter = 1, you can use a similar idea to what was provided for the start counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 13:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-include-end-dates-based-on-start-date-selected/m-p/825448#M290738</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2014-11-13T13:32:35Z</dc:date>
    </item>
  </channel>
</rss>

