<?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 Use axis value in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-axis-value-in-expression/m-p/196815#M56730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the X value, but your expression is more complex since you want to compare the axis value from one value to the value of others.&lt;/P&gt;&lt;P&gt;I would load a continuous set of dates then IntervalMatch load the Task Beggining and Ending to create a flag "Active/Not Active" and use it in the chart with an expression like "count(if(Flag='Active',TASK_ID))"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2011 15:35:12 GMT</pubDate>
    <dc:creator>fernandotoledo</dc:creator>
    <dc:date>2011-04-04T15:35:12Z</dc:date>
    <item>
      <title>Use axis value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-axis-value-in-expression/m-p/196814#M56729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to use the value of the X-axis in an expression?&lt;/P&gt;&lt;P&gt;I want to make a graph that shows the amount of test that were running on a certain moment.&lt;/P&gt;&lt;P&gt;So my x-axis would show all dates, and my expression needs to show the count of all tests, with the end-date bigger than the value of the x-axis, and offcourse the start date smaller than the value of the x-axis.&lt;/P&gt;&lt;P&gt;In that way i can see how many running test there were over time..&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 15:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-axis-value-in-expression/m-p/196814#M56729</guid>
      <dc:creator />
      <dc:date>2011-04-04T15:10:53Z</dc:date>
    </item>
    <item>
      <title>Use axis value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-axis-value-in-expression/m-p/196815#M56730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the X value, but your expression is more complex since you want to compare the axis value from one value to the value of others.&lt;/P&gt;&lt;P&gt;I would load a continuous set of dates then IntervalMatch load the Task Beggining and Ending to create a flag "Active/Not Active" and use it in the chart with an expression like "count(if(Flag='Active',TASK_ID))"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 15:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-axis-value-in-expression/m-p/196815#M56730</guid>
      <dc:creator>fernandotoledo</dc:creator>
      <dc:date>2011-04-04T15:35:12Z</dc:date>
    </item>
    <item>
      <title>Use axis value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-axis-value-in-expression/m-p/196816#M56731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the tip about interval match!&lt;/P&gt;&lt;P&gt;I've searched a bit on the forum and applied it to my Qlikview application and got it working.&lt;/P&gt;&lt;P&gt;But I wasn't really happy with the synthetic key..&lt;/P&gt;&lt;P&gt;Then I found a solution in this topic: http://community.qlik.com/forums/t/23510.aspx&lt;/P&gt;&lt;P&gt;This works very well, and no synthetic keys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&amp;lt;pre&amp;gt;Vacation:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;EmployeeId, StartDate, EndDate&lt;BR /&gt;1,1/1/2009, 1/15/2009&lt;BR /&gt;2,1/10/2009,1/14/2009&lt;BR /&gt;3,1/2/2009,1/4/2009&lt;BR /&gt;3,1/15/2009,1/25/2009&lt;BR /&gt;4,1/1/2009, 1/15/2009&lt;BR /&gt;];&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE style="margin:0px;"&gt;left join (Vacation)&lt;BR /&gt;load StartDate&lt;BR /&gt; ,EndDate&lt;BR /&gt; ,autonumber(StartDate &amp;amp; '-' &amp;amp; EndDate) as DateRangeId&lt;BR /&gt;resident Vacation;&lt;BR /&gt;&lt;BR /&gt;VacationToDate:&lt;BR /&gt;load distinct&lt;BR /&gt; DateRangeId,&lt;BR /&gt; StartDate + IterNo() - 1 as Date&lt;BR /&gt;resident Vacation&lt;BR /&gt;while StartDate + IterNo() - 1 &amp;lt;= EndDate;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;credits go to orka&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 14:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-axis-value-in-expression/m-p/196816#M56731</guid>
      <dc:creator />
      <dc:date>2011-04-05T14:20:26Z</dc:date>
    </item>
  </channel>
</rss>

