<?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 Two dimensions, side by side, filtered in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1510584#M749924</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to Qlik Sense and I have no previous coding background whatsoever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a bar stacked bar chart of Client A - 2017 that includes the sum&amp;nbsp; of (Stream 1 , Stream 2 , Stream 3) in direct comparison to Client A - 2018 the sum of (Stream 1, Stream 2, Stream 3). I have a list of 30 clients so I would like to apply the Filter Pane to only show one client at a time, so the chart should only be side by side comparison of Client A for both years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently the layout of the data that I inputted into Qlik looks like the attached and I would like it to look like the other attached.&lt;/P&gt;&lt;P&gt;How can I have two dimensions compared side by side, using the same field but filtered by year? And then using the filter pane to only see one client at a time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Beginner</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1510584#M749924</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to Qlik Sense and I have no previous coding background whatsoever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a bar stacked bar chart of Client A - 2017 that includes the sum&amp;nbsp; of (Stream 1 , Stream 2 , Stream 3) in direct comparison to Client A - 2018 the sum of (Stream 1, Stream 2, Stream 3). I have a list of 30 clients so I would like to apply the Filter Pane to only show one client at a time, so the chart should only be side by side comparison of Client A for both years.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently the layout of the data that I inputted into Qlik looks like the attached and I would like it to look like the other attached.&lt;/P&gt;&lt;P&gt;How can I have two dimensions compared side by side, using the same field but filtered by year? And then using the filter pane to only see one client at a time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1510584#M749924</guid>
      <dc:creator>Beginner</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1510593#M749925</link>
      <description>&lt;P&gt;You can do this using a bar chart with one dimension for&amp;nbsp;Client and two expressions, one expression for 2017 sales, the other expression for 2018 sales.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression would use a set expression to select the year. something like&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; expression1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum({&amp;lt;Year={2017} &amp;gt;} [Stream 1] + [Stream 2] + [Stream 3])&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; expression2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sum({&amp;lt;Year={2018} &amp;gt;}&amp;nbsp;&amp;nbsp;[Stream 1] + [Stream 2] + [Stream 3])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;or you could use&amp;nbsp; &amp;nbsp; a formula so the year is not hardcoded.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; expression1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum({&amp;lt;Year={$(=max(Year)-1)} &amp;gt;}&amp;nbsp;[Stream 1] + [Stream 2] + [Stream 3])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;expression2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum({&amp;lt;Year={$(=max(Year))} &amp;gt;} &amp;nbsp;[Stream 1] + [Stream 2] + [Stream 3])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You would need to replace the "year" field and the other fields with your actual field names.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 17:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1510593#M749925</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2018-11-21T17:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511017#M749926</link>
      <description>&lt;P&gt;Hi Colin,&lt;/P&gt;&lt;P&gt;Thanks for the help. Can I ask, for the dimension I will open the expression editor and in put the attached?&lt;/P&gt;&lt;P&gt;The Stream field names are in green as these are replicas of my actual field names.&lt;/P&gt;&lt;P&gt;It still says invalid dimension? Is there anything else I need to do?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 10:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511017#M749926</guid>
      <dc:creator>Beginner</dc:creator>
      <dc:date>2018-11-22T10:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511062#M749927</link>
      <description>&lt;P&gt;QlikView is case sensitive, so in QlikView 'Year' and 'year' are two different fields.&lt;/P&gt;&lt;P&gt;Can you show a screen shot showing the error in context or post a sample of you application.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 11:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511062#M749927</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2018-11-22T11:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511073#M749928</link>
      <description>&lt;P&gt;I have uploaded the same exact data as indicated to make it more realistic.&lt;/P&gt;&lt;P&gt;Here are the errors I am getting.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 11:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511073#M749928</guid>
      <dc:creator>Beginner</dc:creator>
      <dc:date>2018-11-22T11:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511079#M749929</link>
      <description>&lt;P&gt;OK, you are using QlikSense, not QlikView.&lt;/P&gt;&lt;P&gt;The error is the dimension not the expression. What is the dimension on your chart?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 11:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511079#M749929</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2018-11-22T11:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511086#M749930</link>
      <description>&lt;P&gt;Yes I am using Qlik Sense.&lt;/P&gt;&lt;P&gt;Here is what it says under invalid dimension.&lt;/P&gt;&lt;P&gt;And what the data I have loaded/using looks like.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 11:57:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511086#M749930</guid>
      <dc:creator>Beginner</dc:creator>
      <dc:date>2018-11-22T11:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511129#M749931</link>
      <description>&lt;P&gt;You have put the expression into the dimension not the measure.&lt;/P&gt;&lt;P&gt;You should use &lt;STRONG&gt;[Test Sheet.Client]&lt;/STRONG&gt; as the dimension&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;sum({&amp;lt;Year={2017} &amp;gt;} [Stream 1] + [Stream 2] + [Stream 3])&amp;nbsp; for &lt;STRONG&gt;measure1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;Year={2018} &amp;gt;} [Stream 1] + [Stream 2] + [Stream 3]) for &lt;STRONG&gt;measure2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 12:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511129#M749931</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2018-11-22T12:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511171#M749932</link>
      <description>&lt;P&gt;Great, that works!&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another chart I want to do the exact same thing for, but now the Streams that are fed into the sum to be differentiated by colour.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now, it's a&amp;nbsp;grouped chart to show 2017 and 2018 right next to each other for each client, but now to have both a stacked and group chart in one, by differentiating each Stream of the sum of 2017 and 2018.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 13:40:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511171#M749932</guid>
      <dc:creator>Beginner</dc:creator>
      <dc:date>2018-11-22T13:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Two dimensions, side by side, filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511574#M749933</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Does anyone have a solution to the above?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 13:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-dimensions-side-by-side-filtered/m-p/1511574#M749933</guid>
      <dc:creator>Beginner</dc:creator>
      <dc:date>2018-11-23T13:43:15Z</dc:date>
    </item>
  </channel>
</rss>

