<?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: Rolling 12Months for Sales in Bar Chart in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78490#M16508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try it and it didnt work ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2018 09:55:20 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2018-03-23T09:55:20Z</dc:date>
    <item>
      <title>Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78485#M16503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I am trying to show only last 12 months Total_Expense measure value in bar chart... X-Axis = YYYYMM &amp;amp; Y-Axis= Sum of Total Expense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using &lt;STRONG&gt;Sum(TOTAL_EXPENSE) expression in measure value.. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Format is YYYYMM, which data used to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me find out expression which i can use for last 12 rolling months in the bar chart.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197286_Untitled.png" style="height: 136px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 09:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78485#M16503</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-23T09:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78486#M16504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4252"&gt;Calculating rolling n-period totals, averages or other aggregations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 09:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78486#M16504</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2018-03-23T09:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78487#M16505</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;The way I tend to deal with rolling values is to build a table which links each month to itself and the previous 11 months and then use that table as the dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This blog post explains both why this tends to work best, and how to implement it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.quickintelligence.co.uk/qlikview-accumulate-values/" title="https://www.quickintelligence.co.uk/qlikview-accumulate-values/"&gt;https://www.quickintelligence.co.uk/qlikview-accumulate-values/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The blog is a few years old and based on QlikView, but the data model part is identical.&amp;nbsp; If you download the QVW example file you can use the QlikView Converter in the Qlik Sense Dev Hub to bring it into Sense.&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;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 09:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78487#M16505</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2018-03-23T09:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78488#M16506</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;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(&amp;nbsp; {&amp;lt;YYYYMM={"&amp;gt;=$(=AddMonths(Max(YYYYMM),-12))&amp;lt;=$(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Max(YYYYMM)&lt;/STRONG&gt;)"}&amp;gt;}&amp;nbsp; TOTAL_EXPENSE)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If it don't work, you should evaluate and format your YYYYMM field as a Date, using Date#() and Date() functions.&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 09:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78488#M16506</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-23T09:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78489#M16507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How should i evaluate and format... My X-Axis is like "201701(YYYYMM), 201702, .... " Format dimensions, can you help on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 09:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78489#M16507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-23T09:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78490#M16508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try it and it didnt work ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 09:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78490#M16508</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-23T09:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78491#M16509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd alter this part Youssef from:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(=AddMonths(Max(YYYYMM),-12))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;to&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(=MonthStart(AddMonths(Max(YYYYMM),-12)))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 09:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78491#M16509</guid>
      <dc:creator>OmarBenSalem</dc:creator>
      <dc:date>2018-03-23T09:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78492#M16510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Youssef, Didnt work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78492#M16510</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-23T10:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78493#M16511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't use the Monthstart because it is YYYYMM field.. don't see the utility of this unless I use a Date field (with day included)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78493#M16511</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-23T10:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78494#M16512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to confirm, are you trying to do a 12 Month Moving Annual Total or just limit the bar chart to the last 12 months?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is the former then the blog post above will deliver what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is just limiting to the last 12 months that is different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the field name of the dimension?&amp;nbsp; I'm presuming that YYYYMM is the date format and not the name of the field?&amp;nbsp; In the examples given above the field name should be used in place of YYYYMM.&amp;nbsp; You also need to be careful of date formats in Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78494#M16512</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2018-03-23T10:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78495#M16513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(&amp;nbsp; {&amp;lt;YYYYMM={"&amp;gt;=$(=AddMonths(Max(Date(Date#(YYYYMM,'YYYYMM'),'YYYYMM')),-12))&amp;lt;=$(=Max(Date(Date#(YYYYMM,'YYYYMM'),'YYYYMM')))"}&amp;gt;}&amp;nbsp; TOTAL_EXPENSE)&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PS: Make sure you use the correct field name (maybe it is not named like YYYYMM)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78495#M16513</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-23T10:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78496#M16514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am limiting last 12 months only... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X-Axis(Dimension) = CLAIM_YEARMONTH - Format like YYYYMM (Eg: 201701, 201702,.. 201707 .. 201712, 201801, 201802)&lt;/P&gt;&lt;P&gt;Y-Axis(Measure) = TOTAL_EXPENSES - $&lt;/P&gt;&lt;P&gt;in&lt;/P&gt;&lt;P&gt;If is format case, how to set my yearmonth analysis? Becuase there is no date available in the data.. All data's pretending by year &amp;amp; month.. Like YYYYMM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78496#M16514</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-23T10:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78497#M16515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(&amp;nbsp; {&amp;lt;YYYYMM={"&amp;gt;=$(=AddMonths(Max(Date(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;,'YYYYMM'),'YYYYMM')),-12))&amp;lt;=$(=Max(Date(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;,'YYYYMM'),'YYYYMM')))"}&amp;gt;}&amp;nbsp; TOTAL_EXPENSE)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78497#M16515</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-23T10:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78498#M16516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will therefore be wanting something like this in the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(&amp;nbsp; {&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;={"&amp;gt;=$(=Date(AddMonths(Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;),-12),'YYYYMM')"}&amp;gt;}&amp;nbsp; TOTAL_EXPENSES)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78498#M16516</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2018-03-23T10:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78499#M16517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;{"&amp;gt;=$(=Date(AddMonths(Max(CLAIM_YEARMONTH),-12),'YYYYMM')"}&amp;gt;} &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why these are in Green color...? while pasting in Expression.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think i need to make set format for yearmonth like "YYYYMM"? If yes, how should i do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78499#M16517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-23T10:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78500#M16518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like steve dark said it will be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(&amp;nbsp; {&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;CLAIM_YEARMONTH&lt;/STRONG&gt;&lt;/SPAN&gt;={"&amp;gt;=$(=AddMonths(Max(Date(Date#(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'YYYYMM'),'YYYYMM')),-12))&amp;lt;=$(=Max(Date(Date#(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'YYYYMM'),'YYYYMM')))"}&amp;gt;}&amp;nbsp; TOTAL_EXPENSE)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78500#M16518</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-23T10:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78501#M16519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Youssef... Again its showing all the months... not limiting to last 12 months...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 11:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78501#M16519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-23T11:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78502#M16520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note you have referred to both TOTAL_EXPENSE and TOTAL_EXPENSES, you will need to use the right name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's green because it is set analysis, this is just how Sense formats set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If CLAIM_YEARMONTH is not actually a date field, rather it's a string or a number, then it will need to be treated differently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you create a Filter Pane with CLAIM_YEARMONTH, does it align to the right or the left?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may be able to get the expression to work with the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(&amp;nbsp; {&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;={"&amp;gt;=$(=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;)-100)"}&amp;gt;}&amp;nbsp; TOTAL_EXPENSES)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best thing to do is to test and then build up, for example, does this work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(&amp;nbsp; {&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;={"&amp;gt;=201703"}&amp;gt;}&amp;nbsp; TOTAL_EXPENSES)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If so, we just need to get the date value to work correctly.&amp;nbsp; Next create a text box and check the contents of the variable (the bit inside the $() ) to work, add the following as a measure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Max(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;CLAIM_YEARMONTH&lt;/SPAN&gt;)-100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Check whether that returns the month you are expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be far better to format the date properly on load (using Date and Date#) but treating the date as an integer should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 11:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78502#M16520</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2018-03-23T11:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78503#M16521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would you be able to attach some data here ? at least more than 12 rows corresponding to year using a YYYYMM field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 12:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78503#M16521</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-23T12:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 12Months for Sales in Bar Chart</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78504#M16522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here i attached raw data which 201601 to 201802... But i need to show last 12 rolling months... Eg: 201703 to 201802...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2018 13:25:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Rolling-12Months-for-Sales-in-Bar-Chart/m-p/78504#M16522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-23T13:25:47Z</dc:date>
    </item>
  </channel>
</rss>

