<?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 Conditional colours in combo chart for year-on-year analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Conditional-colours-in-combo-chart-for-year-on-year-analysis/m-p/1630055#M63410</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I've been battling with a request from a user and thought I'd ask the community before giving up.&amp;nbsp; I'm trying to achieve something it is extremely straightforward when using Qlikview.&amp;nbsp; What I want Qliksense to be able to do:&lt;/P&gt;&lt;P&gt;Select Dim3 = 'X' makes "This Year" bar black and LY symbol is red&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20443i30C5A025AE918B15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Select Dim3 = 'Y' makes "This Year" bar green while LY symbol remains red.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20444i5C6B12625601E48C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The attached .QVF is what Qliksense does with this, where the same colour is applied to both expressions.&amp;nbsp; I've tried all kinds of tricks to replicate the result above with no luck.&amp;nbsp; Has anyone needed to do something like this before?&amp;nbsp; I don't mind a hacky solution if it works.&amp;nbsp; The user would like the chart colour to change based on the brand selected, but if the colours of the expressions are identical it impacts readability of the chart.&amp;nbsp; It seems like something that should be super straightforward but I haven't been able to get it right in Qliksense&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 08:07:55 GMT</pubDate>
    <dc:creator>nsm1234567</dc:creator>
    <dc:date>2021-04-02T08:07:55Z</dc:date>
    <item>
      <title>Conditional colours in combo chart for year-on-year analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-colours-in-combo-chart-for-year-on-year-analysis/m-p/1630055#M63410</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I've been battling with a request from a user and thought I'd ask the community before giving up.&amp;nbsp; I'm trying to achieve something it is extremely straightforward when using Qlikview.&amp;nbsp; What I want Qliksense to be able to do:&lt;/P&gt;&lt;P&gt;Select Dim3 = 'X' makes "This Year" bar black and LY symbol is red&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20443i30C5A025AE918B15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Select Dim3 = 'Y' makes "This Year" bar green while LY symbol remains red.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20444i5C6B12625601E48C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The attached .QVF is what Qliksense does with this, where the same colour is applied to both expressions.&amp;nbsp; I've tried all kinds of tricks to replicate the result above with no luck.&amp;nbsp; Has anyone needed to do something like this before?&amp;nbsp; I don't mind a hacky solution if it works.&amp;nbsp; The user would like the chart colour to change based on the brand selected, but if the colours of the expressions are identical it impacts readability of the chart.&amp;nbsp; It seems like something that should be super straightforward but I haven't been able to get it right in Qliksense&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 08:07:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-colours-in-combo-chart-for-year-on-year-analysis/m-p/1630055#M63410</guid>
      <dc:creator>nsm1234567</dc:creator>
      <dc:date>2021-04-02T08:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional colours in combo chart for year-on-year analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-colours-in-combo-chart-for-year-on-year-analysis/m-p/1631897#M63411</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried creating Master measures?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20799iD49BAD63FBB8C484/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I did:&lt;/P&gt;&lt;P&gt;1. Create TY measure in master and when you do, mention its color as Black&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 205px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20800iD631F853E18E1E15/image-dimensions/205x189?v=v2" width="205" height="189" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Do the same for LY and make its color as Red.&lt;/P&gt;&lt;P&gt;3. Now in the Colors and legends tab, set it to multicolored and Use library colors option to 'Measure'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_2.png" style="width: 133px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/20801i8D1117362DAE7A40/image-dimensions/133x158?v=v2" width="133" height="158" role="button" title="clipboard_image_2.png" alt="clipboard_image_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now you have different colors for both LY and TY even on selection.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arjun&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 06:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-colours-in-combo-chart-for-year-on-year-analysis/m-p/1631897#M63411</guid>
      <dc:creator>_armoco_</dc:creator>
      <dc:date>2019-10-07T06:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional colours in combo chart for year-on-year analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-colours-in-combo-chart-for-year-on-year-analysis/m-p/1632068#M63412</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Yes, I've made different attempts using the master items but the example you've shown isn't the behaviour I want.&amp;nbsp; The app I've created caters for multiple companies.&amp;nbsp; The user has asked if when a particular company is selected, the colour scheme can change to reflect that company's dominant colours.&amp;nbsp; It seems though that it's not possible to do this without also then changing the LY colour.&lt;/P&gt;&lt;P&gt;The issue with setting the colour on the master item is that the master item's colour can't itself be based on an expression.&amp;nbsp; So for your example, I can't say, "If Brand 'A' is selected, the colour should be Green, but if Brand 'B' is selected the colour should be blue."&amp;nbsp; I can only consistently colour the bars according to the colour library.&lt;/P&gt;&lt;P&gt;That's what I'm trying to convey with the Qlikview example where this is super simple because each expression can have a colour expression&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 14:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-colours-in-combo-chart-for-year-on-year-analysis/m-p/1632068#M63412</guid>
      <dc:creator>nsm1234567</dc:creator>
      <dc:date>2019-10-07T14:06:36Z</dc:date>
    </item>
  </channel>
</rss>

