<?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 based on min/ max slider variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-based-on-min-max-slider-variables/m-p/754210#M662883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need dollar sign expansion on your vBegin and vEnd variables:&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: 13px;"&gt;=Sum({&amp;lt; Date_Actuals = {"&amp;gt;=$(=Date($(vBegin), 'DD/MM/YYYY')&amp;lt;=$(=Date($(vEnd), 'DD/MM/YYYY')"} &amp;gt;} [Perf. Hours])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2015 21:45:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-19T21:45:35Z</dc:date>
    <item>
      <title>Set Analysis based on min/ max slider variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-based-on-min-max-slider-variables/m-p/754209#M662882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table with 2 dimensions: client name &amp;amp; employee and 3 expressions: planned hours, performed hours, bugetted hours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These 3 hours come from 3 source files, with the client name being the key that occurs in every file (in my load script, client name is a common field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The goal is to show a table that per client shows the actual hours performed, planned hours to come and then the budgetted hours. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a multi value slider, which holds the dates of the performed hours. When i change this slider, the performed hours in the table change (which is OK).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next step, the goal was to make the planned hours be calculated as all the hours planned, starting from the last date selected in the slider. I figured out that i can make the slider based off on variables being min() and max() of the performed hours. I thought i could grab the max() variable and make a set analysis in my table based off on the values for these variables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any set expression that i try however, is not working.&amp;nbsp; Additionally, now that the slider is based on variables, the performed hours also don't update anymore, so i assume a set expression is needed here aswell? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example set expression: =Sum({&amp;lt; Date_Actuals = {"&amp;gt;=$(=Date(vBegin, 'DD/MM/YYYY')&amp;lt;=$(=Date(vEnd, 'DD/MM/YYYY')"} &amp;gt;} [Perf. Hours]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where vBegin and vEnd are my slider min and max dates. I echoed them in a text box and they work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody point me in the right direction? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 16:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-based-on-min-max-slider-variables/m-p/754209#M662882</guid>
      <dc:creator />
      <dc:date>2015-02-19T16:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis based on min/ max slider variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-based-on-min-max-slider-variables/m-p/754210#M662883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need dollar sign expansion on your vBegin and vEnd variables:&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: 13px;"&gt;=Sum({&amp;lt; Date_Actuals = {"&amp;gt;=$(=Date($(vBegin), 'DD/MM/YYYY')&amp;lt;=$(=Date($(vEnd), 'DD/MM/YYYY')"} &amp;gt;} [Perf. Hours])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 21:45:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-based-on-min-max-slider-variables/m-p/754210#M662883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-19T21:45:35Z</dc:date>
    </item>
  </channel>
</rss>

