<?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: Add Reference Line to Chart based on formula in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Add-Reference-Line-to-Chart-based-on-formula/m-p/1851591#M70343</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6704"&gt;@CB308&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The reference line needs to resolve to one value which your code may not be doing. If "Field = 1" is the condition for the allocation of the date, can I suggest:&lt;/P&gt;
&lt;P&gt;max({$&amp;lt;Field={1}&amp;gt;}%Date)&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Anthony&lt;/P&gt;</description>
    <pubDate>Tue, 26 Oct 2021 03:01:33 GMT</pubDate>
    <dc:creator>anthonyj</dc:creator>
    <dc:date>2021-10-26T03:01:33Z</dc:date>
    <item>
      <title>Add Reference Line to Chart based on formula</title>
      <link>https://community.qlik.com/t5/App-Development/Add-Reference-Line-to-Chart-based-on-formula/m-p/1851438#M70335</link>
      <description>&lt;P&gt;I am trying to add Reference Lines to my Line Chart.&lt;/P&gt;
&lt;P&gt;My chart is by Date, and I want to show a reference line on dates where the visit ended as in&amp;nbsp; my image below.&lt;/P&gt;
&lt;P&gt;When I use formula If (Field = 1, %Date) nothing shows.&lt;/P&gt;
&lt;P&gt;How do I display the date for the date the visit ended?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CB308_0-1635177519684.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65172i85A0FA1AA3C4D941/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CB308_0-1635177519684.png" alt="CB308_0-1635177519684.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 16:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-Reference-Line-to-Chart-based-on-formula/m-p/1851438#M70335</guid>
      <dc:creator>CB308</dc:creator>
      <dc:date>2021-10-25T16:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Add Reference Line to Chart based on formula</title>
      <link>https://community.qlik.com/t5/App-Development/Add-Reference-Line-to-Chart-based-on-formula/m-p/1851591#M70343</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6704"&gt;@CB308&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The reference line needs to resolve to one value which your code may not be doing. If "Field = 1" is the condition for the allocation of the date, can I suggest:&lt;/P&gt;
&lt;P&gt;max({$&amp;lt;Field={1}&amp;gt;}%Date)&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Anthony&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 03:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-Reference-Line-to-Chart-based-on-formula/m-p/1851591#M70343</guid>
      <dc:creator>anthonyj</dc:creator>
      <dc:date>2021-10-26T03:01:33Z</dc:date>
    </item>
  </channel>
</rss>

