<?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 lines on chart in % terms in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Reference-lines-on-chart-in-terms/m-p/1946135#M77963</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add another measure which will act as a trendline instead of adding Trendline to a measure&lt;/P&gt;
&lt;P&gt;Try with Pick(Wildmatch(&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=pick(wildmatch(&lt;SPAN&gt;REPKPIData_RepPathway&lt;/SPAN&gt;,'&lt;SPAN&gt;2WW&lt;/SPAN&gt;','&lt;SPAN&gt;CT &amp;amp; MRI OP&lt;/SPAN&gt;')+1,&lt;STRONG&gt;DEFAULT%&lt;/STRONG&gt;,0.9,0.75)&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2022 09:38:31 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2022-06-21T09:38:31Z</dc:date>
    <item>
      <title>Reference lines on chart in % terms</title>
      <link>https://community.qlik.com/t5/App-Development/Reference-lines-on-chart-in-terms/m-p/1945686#M77939</link>
      <description>&lt;P&gt;Hi all - I have a chart which shows our KPI in % terms, as follows:&lt;/P&gt;
&lt;P&gt;=Count([REPKPIData_EventKey])/ Count (TOTAL &amp;lt;REPKPIData_MonthReported&amp;gt; {&amp;lt;[REPKPIData_KPI]&amp;gt;} REPKPIData_EventKey)&lt;/P&gt;
&lt;P&gt;There are multiple pathway fields which can be selected (REPKPIData_Pathway) and the data will change on the chart.&amp;nbsp; I need to show different reference lines on the chart, depending on what the user selects using the above pathway field.&amp;nbsp; So, if user selects '2WW' I need it to show a reference line at 90%.&amp;nbsp; If they select 'CT &amp;amp; MRI OP' I need it to show a reference line at 75%...and so on.&lt;/P&gt;
&lt;P&gt;I've used the following formula, but it doesn't seem to work.&amp;nbsp; Any ideas?&lt;/P&gt;
&lt;P&gt;If(GetCurrentField(REPKPIData_RepPathway) = '2WW', 90)&lt;/P&gt;
&lt;P&gt;Many thanks all!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 12:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reference-lines-on-chart-in-terms/m-p/1945686#M77939</guid>
      <dc:creator>jlampard40</dc:creator>
      <dc:date>2022-06-20T12:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reference lines on chart in % terms</title>
      <link>https://community.qlik.com/t5/App-Development/Reference-lines-on-chart-in-terms/m-p/1946113#M77962</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/2751"&gt;@vinieme12&lt;/a&gt;&amp;nbsp; - are you able to help with this at all?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 08:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reference-lines-on-chart-in-terms/m-p/1946113#M77962</guid>
      <dc:creator>jlampard40</dc:creator>
      <dc:date>2022-06-21T08:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reference lines on chart in % terms</title>
      <link>https://community.qlik.com/t5/App-Development/Reference-lines-on-chart-in-terms/m-p/1946135#M77963</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Add another measure which will act as a trendline instead of adding Trendline to a measure&lt;/P&gt;
&lt;P&gt;Try with Pick(Wildmatch(&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=pick(wildmatch(&lt;SPAN&gt;REPKPIData_RepPathway&lt;/SPAN&gt;,'&lt;SPAN&gt;2WW&lt;/SPAN&gt;','&lt;SPAN&gt;CT &amp;amp; MRI OP&lt;/SPAN&gt;')+1,&lt;STRONG&gt;DEFAULT%&lt;/STRONG&gt;,0.9,0.75)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 09:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reference-lines-on-chart-in-terms/m-p/1946135#M77963</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-06-21T09:38:31Z</dc:date>
    </item>
  </channel>
</rss>

