<?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 with two variables for range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1669034#M449329</link>
    <description>&lt;P&gt;Thanks Mwoolf,&lt;/P&gt;&lt;P&gt;I have tried the two solutions in the attached link however neither has made a difference to my calculation which still comes out with the incorrect answer.&lt;/P&gt;&lt;P&gt;I did note from the original thread that the user who posted originally couldn't make use of the suggested solution either.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2020 15:12:40 GMT</pubDate>
    <dc:creator>chrismtb</dc:creator>
    <dc:date>2020-01-24T15:12:40Z</dc:date>
    <item>
      <title>set analysis with two variables for range</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1668869#M449325</link>
      <description>&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;I have a problem with a set analysis that i am trying to use and it is driving me mad.&lt;/P&gt;&lt;P&gt;I have several connected source tables that come together to provide something like the following information:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Staff_ID&lt;/TD&gt;&lt;TD&gt;Name&lt;/TD&gt;&lt;TD&gt;Week_ID&lt;/TD&gt;&lt;TD&gt;Timesheet_Status&lt;/TD&gt;&lt;TD&gt;Hours_Per_Week&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Steve&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;Outstanding&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/T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outstanding&lt;/TD&gt;&lt;TD&gt;35&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also got on the sheet input boxes for two variables - vMinWeek and vMaxWeek&lt;/P&gt;&lt;P&gt;I am building a table that provides a single line for each staff member and want set analysis to provide a sum of the Hours_Per_Week where the Timesheet_Status is "Outstanding" and the Week_ID is between&amp;nbsp;vMinWeek and vMaxWeek values.&lt;/P&gt;&lt;P&gt;my set analysis currently looks like this:&lt;/P&gt;&lt;P&gt;=aggr(sum({$&amp;lt;[Week_ID]={"&amp;gt;=$(vMinWeek)&amp;lt;=$(vMaxWeek)"},Timesheet_Status={"Outstanding"}&amp;gt;}Hours_Per_Week),Staff_ID)&lt;/P&gt;&lt;P&gt;I have tried with single quotes and double quotes, i have tried with and without the aggregation, I have even tried splitting out the Week_ID check into two separate conditions but everything seems to keep coming back with the same numbers... any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1668869#M449325</guid>
      <dc:creator>chrismtb</dc:creator>
      <dc:date>2024-11-16T19:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with two variables for range</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1669021#M449328</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Creating-Analytics/Set-Analysis-Date-Range/m-p/14302#M74" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Creating-Analytics/Set-Analysis-Date-Range/m-p/14302#M74&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 14:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1669021#M449328</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2020-01-24T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with two variables for range</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1669034#M449329</link>
      <description>&lt;P&gt;Thanks Mwoolf,&lt;/P&gt;&lt;P&gt;I have tried the two solutions in the attached link however neither has made a difference to my calculation which still comes out with the incorrect answer.&lt;/P&gt;&lt;P&gt;I did note from the original thread that the user who posted originally couldn't make use of the suggested solution either.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 15:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1669034#M449329</guid>
      <dc:creator>chrismtb</dc:creator>
      <dc:date>2020-01-24T15:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with two variables for range</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1669050#M449331</link>
      <description>&lt;P&gt;See the attached qvw.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 15:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1669050#M449331</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2020-01-24T15:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis with two variables for range</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1677726#M449851</link>
      <description>&lt;P&gt;Chris, not sure if Michael's last post got you what you needed with the example QVW or not, but I wanted to pass along a link to the Design Blog area that may prove useful on this one too:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you want to search this area further on your own, use the following link for that, lots of how-to posts in this area from our internal experts.&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;If Michael's last post did help, do not forget to give him credit and let other Members know by using the Accept as Solution button on his post.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 18:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-with-two-variables-for-range/m-p/1677726#M449851</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-02-20T18:48:02Z</dc:date>
    </item>
  </channel>
</rss>

