<?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: Bar chart grouping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405524#M558692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the function Year () and Month (). You can scale as the year and month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 13:48:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-24T13:48:46Z</dc:date>
    <item>
      <title>Bar chart grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405523#M558691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart that gives a total value by month.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can someone please tell me how I can write an expression to show the last 12 months per month but group the prior months by year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405523#M558691</guid>
      <dc:creator />
      <dc:date>2013-05-24T13:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405524#M558692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the function Year () and Month (). You can scale as the year and month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Rebeca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405524#M558692</guid>
      <dc:creator />
      <dc:date>2013-05-24T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405525#M558693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rebecaa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my chart at the moment I have the below formula, if I want to show individual months for the last 12 months OR group previosu 12 months into a year - how can I add this to this formula?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Currency&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'GBP',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSGBP FeesBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSGBP CostsBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Currency&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'USD',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSUSD FeesBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSUSD CostsBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Currency&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'EUR',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSEUR FeesBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSEUR CostsBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Currency&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'HKD',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSHKD FeesBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSHKD CostsBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Currency&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'SGD',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSSGD FeesBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSSGD CostsBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Currency&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'CHF',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSCHF FeesBilled Amt]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BILLINGSCHF CostsBilled Amt]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'0'))))))) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 13:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405525#M558693</guid>
      <dc:creator />
      <dc:date>2013-05-24T13:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405526#M558694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can send an example with data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 17:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405526#M558694</guid>
      <dc:creator />
      <dc:date>2013-05-24T17:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405527#M558695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought of one way I could do this, by creating a variable that picks up the max month from my data, then add this to my existing expression (below) then creating new expressions to give me the last 12 months etc, replacing the -1 with -2,-3 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone tell me if my approach seems ok to do or if there is a better standard practice way of doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;If(Currency = 'GBP' and penum=$(=vMaxPeriod)-1,[BILLINGSGBP FeesBilled Amt]+[BILLINGSGBP CostsBilled Amt],&lt;/P&gt;&lt;P&gt;If(Currency = 'USD' and penum=$(=vMaxPeriod)-1,[BILLINGSUSD FeesBilled Amt]+[BILLINGSUSD CostsBilled Amt],&lt;/P&gt;&lt;P&gt;If(Currency = 'EUR' and penum=$(=vMaxPeriod)-1,[BILLINGSEUR FeesBilled Amt]+[BILLINGSEUR CostsBilled Amt],&lt;/P&gt;&lt;P&gt;If(Currency = 'HKD' and penum=$(=vMaxPeriod)-1,[BILLINGSHKD FeesBilled Amt]+[BILLINGSHKD CostsBilled Amt],&lt;/P&gt;&lt;P&gt;If(Currency = 'SGD' and penum=$(=vMaxPeriod)-1,[BILLINGSSGD FeesBilled Amt]+[BILLINGSSGD CostsBilled Amt],&lt;/P&gt;&lt;P&gt;If(Currency = 'CHF' and penum=$(=vMaxPeriod)-1,[BILLINGSCHF FeesBilled Amt]+[BILLINGSCHF CostsBilled Amt],'0')))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 09:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405527#M558695</guid>
      <dc:creator />
      <dc:date>2013-05-28T09:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405528#M558696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do have a Master Calendar table in your data model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you add an "Bar Chart Date" field to that table and use it as the dimension on your chart? Some simple if/then logic and a left join would provide the field. Even if you don't have a Master Calendar table, I guess there's no reason why this fiel couldn't be added to you main data. Apologies if I've misunderstood your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="165"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="75"&gt;Month&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="90"&gt;Barchart Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/01/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/02/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/03/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/04/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/05/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/06/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/07/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/08/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/09/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/10/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/11/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/12/2011&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/01/2012&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/02/2012&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/03/2012&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/04/2012&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/04/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/05/2012&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/05/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/06/2012&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/06/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/07/2012&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/07/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/08/2012&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/08/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/09/2012&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/09/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/10/2012&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/10/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/11/2012&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/11/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/12/2012&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/01/2013&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/01/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/02/2013&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/02/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/03/2013&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/03/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/04/2013&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/04/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="20" style="border-top: none;"&gt;01/05/2013&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;01/05/2013&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 09:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-grouping/m-p/405528#M558696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-28T09:28:44Z</dc:date>
    </item>
  </channel>
</rss>

