<?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: Graph Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739404#M264197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is both the inline table and variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YEAR, YEARSORT, R, G, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014, 1, 0, 106, 182&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLAN, 2, 169, 209, 92&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, 3, 111, 175, 215&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable is vColor =&lt;/P&gt;&lt;P&gt;if(not IsNull(R), RGB(R, G, B))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the background color of the graph set to $(vColor).&amp;nbsp; When selections are made, without the year being locked down, the colors come back correctly.&amp;nbsp; 2014 is a dark blue, plan a light green, and 2013 is a light blue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2015 20:38:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-17T20:38:23Z</dc:date>
    <item>
      <title>Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739392#M264185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to lock a graph from year selections being made?&amp;nbsp; I know I can get rid of the list box selection, but is it possible to lock down a graphy from a yearly selection?&amp;nbsp; The user wants the graph to remain static for all 3 years, and allow other non year selections to be made.&amp;nbsp; Here is the graph:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sales graph.png" class="image-1 jive-image" src="/legacyfs/online/78366_sales graph.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 19:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739392#M264185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T19:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739393#M264186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;STRONG&gt; {&amp;lt;Year = {'*'}&amp;gt;}&lt;/STRONG&gt; as your set modifier within your expression. This will make sure that all years display regardless of the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 19:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739393#M264186</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-17T19:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739394#M264187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help that will keep all the selections on the chart.&amp;nbsp; That will however move the selections around if the user selects a different year, and also changes the color to all one year.&amp;nbsp; Is there a way to lock everything down?&amp;nbsp; I have inclosed two pictures:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sales graph.png" class="image-1 jive-image" src="/legacyfs/online/78367_sales graph.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sales graph2.png" class="jive-image image-2" src="/legacyfs/online/78377_sales graph2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739394#M264187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T20:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739395#M264188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Locking everything down could be done using this &lt;STRONG&gt;{1}&lt;/STRONG&gt;, but I thought you said that you want the user to be able to make non-year related selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To understand what happened, when you made a selection on the year all the three bars changed to show the same color?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739395#M264188</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-17T20:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739396#M264189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ignore some selections&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1334"&gt;Ignore all selections except some specific fields using Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or maybe with set analysis&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; &lt;STRONG&gt;{1}&lt;/STRONG&gt; Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;returns total sales within the application, disregarding the selection but not the dimension. If used in a chart with e.g. Products as dimension, each product will get a different value.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739396#M264189</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-02-17T20:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739397#M264190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is correct, I want to allow them to select different products or different months, but I do not want the Year to be a selection.&amp;nbsp; When Year is selected, the charts all turn the same color like in the bottom picture I included.&amp;nbsp; I also tried set analysis with Year = , but that changed to the same color Year as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739397#M264190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T20:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739398#M264191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using one expression and Year as your dimension or are you using three expressions??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739398#M264191</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-17T20:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739399#M264192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using one expression for all 3 years.&amp;nbsp; I was trying to avoid having to use 3 expressions if possible since I have replicated this similar graph about 8 times.&amp;nbsp; Do you think that will fix the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739399#M264192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T20:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739400#M264193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I think what you are doing is correct. One question that comes to my mind is: &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Are you using some kind of&lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333330154419px;"&gt; if statement&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; for the Background Color? Cause that is the only way you can color the bars in different colors when they all originate from the same the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me if you are using a statement there and it would be great if you can post what you are doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739400#M264193</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-17T20:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739401#M264194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the expression suggested but I received a syntax error.&amp;nbsp; Here is the expression I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[$(=Concat({1&amp;lt;$Field-={'YEAR'}&amp;gt;}distinct $Field,']=,[')&amp;amp;']=')&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions for how I can alter the statement to work correctly?&amp;nbsp; I have a couple of other fields in the set analysis as well, and I just put a comman after &lt;SPAN style="font-size: 13.3333330154419px;"&gt;]=')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:22:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739401#M264194</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T20:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739402#M264195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a variable as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(not IsNull(R), RGB(R, G, B)) which ties to an inline statement I created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739402#M264195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T20:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739403#M264196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to share your Inline table as well as the variable. Is this inline table connected to the Year field somehow? Do you see activity in the values of R, G, B when you make a selection in the year field? Cause that is the only thing that could explain the changing colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739403#M264196</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-17T20:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739404#M264197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is both the inline table and variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; YEAR, YEARSORT, R, G, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2014, 1, 0, 106, 182&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PLAN, 2, 169, 209, 92&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013, 3, 111, 175, 215&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable is vColor =&lt;/P&gt;&lt;P&gt;if(not IsNull(R), RGB(R, G, B))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the background color of the graph set to $(vColor).&amp;nbsp; When selections are made, without the year being locked down, the colors come back correctly.&amp;nbsp; 2014 is a dark blue, plan a light green, and 2013 is a light blue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739404#M264197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T20:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739405#M264198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a workaround, but it solves your purpose. You can create another state and the list box for Year would be in a alternate state. Any selection made in the alternate state won't impact anything in your default state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: But wherever you would want to use the expression which changes with the Year, you will have to make sure that it is associated with Alternate state's Year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second workaround is to create three expressions and no dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching a qvw in which I have tried to implement both methods for you. Please have a look and let me know what you think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 21:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739405#M264198</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-17T21:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739406#M264199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help.&amp;nbsp; Although it will take longer, I believe setting up three expressions will work better as it is more simplistic.&amp;nbsp; Are their any benefits to using alternate states?&amp;nbsp; Seems like there would be more work on the back end outside of the charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 21:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739406#M264199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-17T21:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Graph Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739407#M264200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya I think the best solution would be to create 3 expressions. Just like you said, it would be a hassle to make sure that all the Year selections are linked to the Alternate State for it to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 22:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Graph-Selections/m-p/739407#M264200</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-02-17T22:08:37Z</dc:date>
    </item>
  </channel>
</rss>

