<?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 Dynamic Reference line (Based Upon Filter) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Reference-line-Based-Upon-Filter/m-p/1093400#M363404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a dynamic reference line that will change position based upon the filter(s) selected.&lt;/P&gt;&lt;P&gt;For example, if I select the filter 'Carrot' in the group 'Fuit and Vege' the reference line should be '=10000'. If nothing is selected the reference line should be '=20000', if I Select 'Apple' and 'Carrot' (2 filters)&amp;nbsp; the reference line should be '=15000'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to avoid having to change my actual data set to include something that will allocate Carrot to be 10,000 (for example). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know the expression I can use within the reference line to create this reference line? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help, and please feel free to ask any questions for clarification!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Apr 2016 15:36:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-11T15:36:55Z</dc:date>
    <item>
      <title>Dynamic Reference line (Based Upon Filter)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Reference-line-Based-Upon-Filter/m-p/1093400#M363404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a dynamic reference line that will change position based upon the filter(s) selected.&lt;/P&gt;&lt;P&gt;For example, if I select the filter 'Carrot' in the group 'Fuit and Vege' the reference line should be '=10000'. If nothing is selected the reference line should be '=20000', if I Select 'Apple' and 'Carrot' (2 filters)&amp;nbsp; the reference line should be '=15000'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to avoid having to change my actual data set to include something that will allocate Carrot to be 10,000 (for example). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know the expression I can use within the reference line to create this reference line? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help, and please feel free to ask any questions for clarification!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 15:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Reference-line-Based-Upon-Filter/m-p/1093400#M363404</guid>
      <dc:creator />
      <dc:date>2016-04-11T15:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Reference line (Based Upon Filter)</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Reference-line-Based-Upon-Filter/m-p/1093401#M363405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be there is good suggestion.. Try this also. -&amp;gt; Reference lines in the Presentation Tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)=1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,'*Carrot*'),10000,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;GetSelectedCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)=2 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,','),'*Carrot*') &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;WildMatch&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,','),'*Apple*'),15000,20000)) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2016 16:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Reference-line-Based-Upon-Filter/m-p/1093401#M363405</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-04-11T16:50:48Z</dc:date>
    </item>
  </channel>
</rss>

