<?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: Creating Reference Line for Each Expression in a Bar Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Reference-Line-for-Each-Expression-in-a-Bar-Chart/m-p/1251376#M395974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Goutham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the updated application attached herewith.&lt;/P&gt;&lt;P&gt;Let me know if you have any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;References:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/33139" title="https://community.qlikview.com/thread/33139"&gt;Identifying which cyclic group value is being v... | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Read John Witherspoon's comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Mar 2017 04:51:34 GMT</pubDate>
    <dc:creator>rahulpawarb</dc:creator>
    <dc:date>2017-03-23T04:51:34Z</dc:date>
    <item>
      <title>Creating Reference Line for Each Expression in a Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Reference-Line-for-Each-Expression-in-a-Bar-Chart/m-p/1251373#M395971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have 2 expressions in a Bar Chart and these 2 expressions are Grouped. I trying to create a Reference line for each expression.&lt;/P&gt;&lt;P&gt;When a user selects first expression the reference line should display and when a user selects second expression the chart has to display second reference line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 11:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Reference-Line-for-Each-Expression-in-a-Bar-Chart/m-p/1251373#M395971</guid>
      <dc:creator>gouthamkk</dc:creator>
      <dc:date>2017-03-21T11:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Reference Line for Each Expression in a Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Reference-Line-for-Each-Expression-in-a-Bar-Chart/m-p/1251374#M395972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Goutham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust that you are doing well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a sample application showing bar chart with Month as dimension &amp;amp; two expressions - Tax Amount &amp;amp; Freight. Also added two different reference lines for each expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To show these reference lines conditionally I have created two variables &lt;SPAN style="font-size: 13.3333px;"&gt;vTaxAmt&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;vFreight and set them using document triggers (refer below steps):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1. Go to the document properties Alt + Ctrl + D&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2. Go to the Triggers tab and select field PickMetric from Field event trigger&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3. Added Set variable action for both the variables as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14901610203162772" jivemacro_uid="_14901610203162772"&gt;
&lt;P style="font-size: 13.3333px;"&gt;vFreight&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;=If(GetFieldSelections(PickMetric)='Freight Amount', 1, 0)&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;vTaxAmt&lt;/P&gt;
&lt;P style="font-size: 13.3333px;"&gt;=If(GetFieldSelections(PickMetric)='Tax Amount', 1, 0)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;4. Go to the chart properties &amp;amp; edit reference lines in Presentation tab&lt;/P&gt;&lt;P&gt;5. For Tax Amount &amp;amp; Freight &lt;SPAN style="font-size: 13.3333px;"&gt;reference line &lt;/SPAN&gt;set the conditional variables &lt;SPAN style="font-size: 13.3333px;"&gt;vTaxAmt&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vFreight &lt;/SPAN&gt;respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the sample application attached herewith.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;P.S.: I have used data island to hold expression names.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 05:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Reference-Line-for-Each-Expression-in-a-Bar-Chart/m-p/1251374#M395972</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-22T05:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Reference Line for Each Expression in a Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Reference-Line-for-Each-Expression-in-a-Bar-Chart/m-p/1251375#M395973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul,&lt;/P&gt;&lt;P&gt;Thanks for Work around. I am trying to see if there is a way by using Group expressions(using Cyclic objects) and achieve it, Instead of a drop down list box in data model. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 11:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Reference-Line-for-Each-Expression-in-a-Bar-Chart/m-p/1251375#M395973</guid>
      <dc:creator>gouthamkk</dc:creator>
      <dc:date>2017-03-22T11:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Reference Line for Each Expression in a Bar Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Reference-Line-for-Each-Expression-in-a-Bar-Chart/m-p/1251376#M395974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Goutham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the updated application attached herewith.&lt;/P&gt;&lt;P&gt;Let me know if you have any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;References:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/33139" title="https://community.qlikview.com/thread/33139"&gt;Identifying which cyclic group value is being v... | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Read John Witherspoon's comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 04:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Reference-Line-for-Each-Expression-in-a-Bar-Chart/m-p/1251376#M395974</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-23T04:51:34Z</dc:date>
    </item>
  </channel>
</rss>

