<?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: Grouped Bar chart - colors set by Dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542878#M109458</link>
    <description>&lt;P&gt;Did you try Combo Chart?&lt;/P&gt;&lt;P&gt;You can specify the colours per bar&lt;/P&gt;</description>
    <pubDate>Thu, 12 Feb 2026 12:00:02 GMT</pubDate>
    <dc:creator>robert_mika</dc:creator>
    <dc:date>2026-02-12T12:00:02Z</dc:date>
    <item>
      <title>Grouped Bar chart - colors set by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542851#M109455</link>
      <description>&lt;P&gt;For a client of mine I've built a simple grouped bar chart. I've got a "Sum(Amount)" displayed by hour, grouped by Date.&lt;BR /&gt;&lt;BR /&gt;I've then set the bar chart up so that it colors each day alternately in two colours, so the days become easy to recognize.&lt;BR /&gt;But while checking the chart, I've come upon the following: two dimension values next to each other are getting the same color.&lt;BR /&gt;&lt;BR /&gt;Both date values are distinctive values, so I don't understand why Qlik Sense wouldn't just alternate the color.&lt;/P&gt;&lt;P&gt;Any help with some clarification is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached a screenshot of the bar chart where you can see how colors should alternate, but for dates 21/12/2025 and 22/12/2025 it does &lt;U&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;/U&gt; alternate.&lt;/P&gt;&lt;P&gt;This is Qlik Sense Server November 2024 Patch 12 (14.212.19)&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 07:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542851#M109455</guid>
      <dc:creator>TPoismans</dc:creator>
      <dc:date>2026-02-12T07:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar chart - colors set by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542864#M109457</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/68447"&gt;@TPoismans&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you, please, indicate how are you creating the alternate colors? Are you using an expression to accomplish it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 10:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542864#M109457</guid>
      <dc:creator>Daniel_Castella</dc:creator>
      <dc:date>2026-02-12T10:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar chart - colors set by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542878#M109458</link>
      <description>&lt;P&gt;Did you try Combo Chart?&lt;/P&gt;&lt;P&gt;You can specify the colours per bar&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 12:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542878#M109458</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2026-02-12T12:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar chart - colors set by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542885#M109459</link>
      <description>&lt;P&gt;I'm just using the built-in feature of the bar chart&lt;/P&gt;&lt;P&gt;Appearance =&amp;gt; Colors and legends =&amp;gt; Switch to Custom =&amp;gt; Set it to "By dimension" and set it to Dimension1 (My date dimension).&lt;BR /&gt;Color is set to a 2-color palette I defined in the theme&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 12:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542885#M109459</guid>
      <dc:creator>TPoismans</dc:creator>
      <dc:date>2026-02-12T12:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar chart - colors set by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542888#M109460</link>
      <description>&lt;P&gt;I don't need every bar in a different colour, I wanted to have the days alternate in colour. It seemed to work, except on the part shown in the screenshot.&lt;/P&gt;&lt;P&gt;I want to know why it doesn't alternate between the 21/12 and 22/12 as it might pose a problem in other calculations if there's an issue with the values of the date.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 12:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542888#M109460</guid>
      <dc:creator>TPoismans</dc:creator>
      <dc:date>2026-02-12T12:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar chart - colors set by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542902#M109461</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/68447"&gt;@TPoismans&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would not recommend to use it in this way. I think it is better if you set the colors using an expression. You will always have more control over them. You can try for example this one, in my end seems to work:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size="2" color="#808080"&gt;=if(mod(Floor(Date) - Min(TOTAL Floor(Date)), 2) = 0, RGB(255,0,0), RGB(0,0,255))&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if it helps you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 14:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542902#M109461</guid>
      <dc:creator>Daniel_Castella</dc:creator>
      <dc:date>2026-02-12T14:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Grouped Bar chart - colors set by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542930#M109464</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/342059"&gt;@Daniel_Castella&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your suggestion does solve my issue, so I'll mark it as the solution.&lt;BR /&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Though I do wonder, why do you recommend not using the built-in feature the way I did? I would expect the color by dimension giving a different color to each value of the dimension, thus resulting in alternating the colors.&lt;BR /&gt;I've since found multiple dates where the color doesn't alternate, so I'm wondering if there's an issue with my date-data or if it's something in the way the coloring per dimension (value) is applied?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 17:16:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Grouped-Bar-chart-colors-set-by-Dimension/m-p/2542930#M109464</guid>
      <dc:creator>TPoismans</dc:creator>
      <dc:date>2026-02-12T17:16:18Z</dc:date>
    </item>
  </channel>
</rss>

