<?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: Reference Line by Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/1414250#M610170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Agrim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't put a straight vertical line directly in Qlik Sense, you'd have to use a workaround with your data on it.&lt;/P&gt;&lt;P&gt;As an example, using the code bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;A,B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/23/2017,100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/24/2017,101&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/25/2017,105&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/26/2017,195&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/01/2017,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/01/2017,100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/02/2017,200&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(B) as maxValue&lt;/P&gt;&lt;P&gt;Resident data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (data)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Today() as A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxValue as C&lt;/P&gt;&lt;P&gt;Resident test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will get the reference line based on today's date and gets the max value from your dataset so that you can create a combo chart, having the lines as you have on your images, and an additional expression with a bar, that would be your reference line, giving the following result.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180565_Sample.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding more data to it, you'll get something like:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/180575_Sample.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the sample QVF file aslo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Oct 2017 13:57:15 GMT</pubDate>
    <dc:creator>felipedl</dc:creator>
    <dc:date>2017-10-23T13:57:15Z</dc:date>
    <item>
      <title>?</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/1414249#M610169</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2019 15:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/1414249#M610169</guid>
      <dc:creator>xyz1</dc:creator>
      <dc:date>2019-04-14T15:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line by Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/1414250#M610170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Agrim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't put a straight vertical line directly in Qlik Sense, you'd have to use a workaround with your data on it.&lt;/P&gt;&lt;P&gt;As an example, using the code bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;A,B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/23/2017,100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/24/2017,101&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/25/2017,105&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/26/2017,195&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/01/2017,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/01/2017,100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/02/2017,200&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(B) as maxValue&lt;/P&gt;&lt;P&gt;Resident data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (data)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Today() as A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxValue as C&lt;/P&gt;&lt;P&gt;Resident test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table test;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will get the reference line based on today's date and gets the max value from your dataset so that you can create a combo chart, having the lines as you have on your images, and an additional expression with a bar, that would be your reference line, giving the following result.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180565_Sample.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding more data to it, you'll get something like:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sample.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/180575_Sample.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the sample QVF file aslo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Felipe. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 13:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/unreadable-title/m-p/1414250#M610170</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-10-23T13:57:15Z</dc:date>
    </item>
  </channel>
</rss>

