<?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 Different Reference line for different filter Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534206#M746364</link>
    <description>&lt;P&gt;Hi - Can you please let me know how to have different reference line&amp;nbsp; in a trend chart when selecting different filter in Qlikview? Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>karthik606</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Different Reference line for different filter Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534206#M746364</link>
      <description>&lt;P&gt;Hi - Can you please let me know how to have different reference line&amp;nbsp; in a trend chart when selecting different filter in Qlikview? Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534206#M746364</guid>
      <dc:creator>karthik606</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Different Reference line for different filter Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534208#M746365</link>
      <description>&lt;P&gt;If you wish to have different Reference lines according to filed selections you might try:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getfieldselections.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getfieldselections.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.jpg" style="width: 434px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4366i71721376F8BA7D97/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.jpg" alt="Screenshot_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this case if there is something selected in [YOUR FIELD] than the Reference line will appear if not that it's invisible.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 05:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534208#M746365</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-01-24T05:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Different Reference line for different filter Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534290#M746366</link>
      <description>&lt;P&gt;Thanks for your swift response. I have "Hub" as filtering criteria and under that it can be "Hub 1", "Hub 2", "Hub 3", "Hub 4"&lt;BR /&gt;If I select Hub 1, then the reference line should be at 500 in the corresponding trend chart.&lt;BR /&gt;If I select Hub 2, then the reference line should be at 200.&lt;BR /&gt;If I select Hub 3, then the reference line should be at 300.&lt;BR /&gt;If nothing is selected, then the reference line should be at 600.&lt;/P&gt;&lt;P&gt;I used the below formula by right click on the Trend chart--&amp;gt;Properties--&amp;gt;Presentation--&amp;gt;Reference Line--&amp;gt;Conditional but it didnt work.&lt;/P&gt;&lt;P&gt;=If (GetFieldSelections(Hub) like 'Hub1*',500)&lt;BR /&gt;Elseif((GetFieldSelections(Hub) like 'Hub2*',200)&lt;BR /&gt;Elseif((GetFieldSelections(Hub) like 'Hub3*',300)&lt;BR /&gt;Else((GetFieldSelections(Hub) like ' ',600)&lt;/P&gt;&lt;P&gt;&amp;nbsp;Attached the screenshot for quick reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 08:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534290#M746366</guid>
      <dc:creator>karthik606</dc:creator>
      <dc:date>2019-01-24T08:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Different Reference line for different filter Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534305#M746367</link>
      <description>Than in the expression field in Reference line properties use this:&lt;BR /&gt;=If(GetCurrentSelections (Hub) = 'Hub1', 500,&lt;BR /&gt;If(GetCurrentSelections (Hub) = 'Hub2', 200,&lt;BR /&gt;If(GetCurrentSelections (Hub) = 'Hub3', 300,&lt;BR /&gt;If(Len(GetFieldSelections(Hub)) = 0, 600))))</description>
      <pubDate>Thu, 24 Jan 2019 09:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534305#M746367</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-01-24T09:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Different Reference line for different filter Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534314#M746368</link>
      <description>&lt;P&gt;I just tried this and it works only without selection. I am trying to make it work individually for Hub1,Hub2 and Hub3.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 09:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534314#M746368</guid>
      <dc:creator>karthik606</dc:creator>
      <dc:date>2019-01-24T09:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Different Reference line for different filter Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534387#M746369</link>
      <description>&lt;P&gt;My bad, try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(Right(GetCurrentSelections (Hub), 4) = 'Hub1', 500,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Right(GetCurrentSelections (Hub), 4) = 'Hub2', 200,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Right(GetCurrentSelections (Hub), 4) = 'Hub3', 300,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Len(GetFieldSelections(Hub)) = 0, 600))))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;About GetCurrentSelections:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getcurrentselections.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/FieldFunctions/getcurrentselections.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 11:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-Reference-line-for-different-filter-Selection/m-p/1534387#M746369</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-01-24T11:13:52Z</dc:date>
    </item>
  </channel>
</rss>

