<?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 Flipping between two charts with unique expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318609#M117422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Long time reader, first time poster.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I have two charts that have the same dimension but different expressions. I really want to create a button that when clicked will flip between the two different charts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;This would be similar to a fast change chart except I am under the impression that is for changing chart types, and is limited to using the same expression in each chart.&amp;nbsp; I want to change the expression being graphed, not necessarily the chart type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Thanks, any help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Dec 2011 21:23:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-21T21:23:00Z</dc:date>
    <item>
      <title>Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318609#M117422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Long time reader, first time poster.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I have two charts that have the same dimension but different expressions. I really want to create a button that when clicked will flip between the two different charts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;This would be similar to a fast change chart except I am under the impression that is for changing chart types, and is limited to using the same expression in each chart.&amp;nbsp; I want to change the expression being graphed, not necessarily the chart type.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;Thanks, any help is appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 21:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318609#M117422</guid>
      <dc:creator />
      <dc:date>2011-12-21T21:23:00Z</dc:date>
    </item>
    <item>
      <title>Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318610#M117423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you can do is create a cyclical expression.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, you define the 2 expressions in 1 chart and drag 1 expression over the other or select the 2nd expression and click the Group button below the expression list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After clicking OK, a cyclic button will appear at the bottom of your chart.&amp;nbsp; You can move that by selecting the chart and then pressing shift+ctrl on your keyboard that will allow you to move and/or resize certain elements of your chart including the cyclic button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 21:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318610#M117423</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-12-21T21:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318611#M117424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some workarounds to your issue. One is to create two different charts with the same dimension but different expressions, and use the conditional show expression under the chart Properties, Layout tab to show one or the other, depending on the action triggered by the button, for example, a variable set to 1 (one chart) or 2 (the other chart).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another one is to set a variable as expression, say vExpression, and populate the variable with an action of the button (button Properties, Actions, New, External, Set Variable, Variable vExpression):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;If(vExpression = 'Sum(Value)', 'Sum(Amount)', 'Sum(Value)')&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the variable as expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;$(=vExpression)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want this button to be more similar to the actual fast change icon in the chart, you can create a text object instead, that will let you use actions as well, with transparency background set to 100% without borders and put over the caption of the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, the fast change button allows you to display the same information already shown by the chart (same dimensions and expressions) rendered in different ways, but nothing to do with changing expressions or dimensions themselves, only to the type of chart, like going to the chart Properties, General tab, and clicking a different type of chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Yes, Karl's suggestion to use grouped expressions seems to be easier and cleaner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 21:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318611#M117424</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-12-21T21:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318612#M117425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be going a little too far for your requirement, but when I have multiple charts on a tab, and only want some visible at a time, I tend to name them and create a cyclic field group with my chart names, then check for the value of the group as my show condition.&amp;nbsp; See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 21:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318612#M117425</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-12-21T21:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318613#M117426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&amp;nbsp; Is there a reason you wouldn't use a container in this case?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 22:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318613#M117426</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-12-21T22:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318614#M117427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Karl Pover wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John,&amp;nbsp; Is there a reason you wouldn't use a container in this case? &lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Often, my "charts" are a set of related objects that I want to display at the same time.&amp;nbsp; You can see this in the attached example, where the charts display with a list box specific to that chart, and one of the charts is actually two charts displayed together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far as I know, containers can only display one object at a time?&amp;nbsp; Am I mistaken?&amp;nbsp; I've only been on version 10 for a short while (we're late adopters).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One object at a time kills containers in my mind.&amp;nbsp; When I first heard of containers, I was hoping you could have a container that displayed multiple objects at once, and then wrap another container around those containers to control which set of objects was displayed.&amp;nbsp; It doesn't seem to have worked out that way.&amp;nbsp; And since containers aren't satisfactory for maybe half of my cases, I'd rather just stick with my current approach so as to present the same user experience across tabs and documents (and versions in my specific case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a very minor issue, I also don't see any simple "click here to go to the next object in the container" the way I can with my approach.&amp;nbsp; I think this allows for easier user exploration of the available charts, and I'd like to see that added to containers.&amp;nbsp; Again, I could be missing a setting since I'm so new to version 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I've tried to do something similar with containers on the second tab in the example.&amp;nbsp; It just doesn't work as well in my opinion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not telling anyone to NOT to use containers.&amp;nbsp; If they work for people, great, and I'm hoping they get better.&amp;nbsp; But I'm just not satisfied with their current functionality (unless I'm missing something).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Forgot to attach new example with containers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 23:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318614#M117427</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-12-21T23:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318615#M117428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, and you're right, having more than 1 object in a container is new to QV 11.&amp;nbsp; However, they can only be combined in a rigid grid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have seen what you mentioned earlier, but selecting the cyclical icon in your app in QV 11 froze up my QlikView.&amp;nbsp; It'll probably be fixed by the time you upgrade to QV 11, but you might want to keep it in mind before migrating to QV 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 23:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318615#M117428</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-12-21T23:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318616#M117429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; First, thanks for all the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the cyclic expression approach that Karl suggested.&amp;nbsp; But it appears you can only group two expressions.&amp;nbsp; What I am trying to do (which was not made clear, sorry) is flip between two different charts that each have multiple expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart 1 is sales and margin over time&lt;/P&gt;&lt;P&gt;Chart 2 is three different discounting metrics over time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 16:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318616#M117429</guid>
      <dc:creator />
      <dc:date>2011-12-22T16:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318617#M117430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fastest way to do it and if you have QV 10, is you create a Container object to swap 2 charts.&amp;nbsp; If you are looking for something more complex, the easiest way to swap multiple charts is using the variable that controls whether an object is hidden or shown.&amp;nbsp; That hidden control is found in the Layout tab in the object properties.&amp;nbsp; You can change the variable value using an action that is triggered by clicking a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, if you still have questions, tell us which part is unclear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 17:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318617#M117430</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-12-22T17:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318618#M117431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The container object works perfectly, thanks Karl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2012 16:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318618#M117431</guid>
      <dc:creator />
      <dc:date>2012-01-03T16:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Flipping between two charts with unique expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318619#M117432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another alternative is to have multiple expressions but have them conditionally shown via a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you press a button or do something else it can change the value of the variable.&amp;nbsp; Or you could have a data island with an expression picker.&amp;nbsp; Pick an expression from that listbox and it will hide all the other expressions except the one with that ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use that more often as a Dimension Picker but I don't see why it wouldn't work.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 21:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Flipping-between-two-charts-with-unique-expressions/m-p/318619#M117432</guid>
      <dc:creator>dgreenberg</dc:creator>
      <dc:date>2015-05-13T21:00:34Z</dc:date>
    </item>
  </channel>
</rss>

