<?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: Differences based on Date and Sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325041#M828281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be smarter to just create a new Excel column using DAX arithmetic to do this? Seems like QlikView doesn't support this type of expression in a way that makes it worth doing in their program instead of in the file that's being imported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jul 2017 15:22:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-07-04T15:22:30Z</dc:date>
    <item>
      <title>Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325033#M828273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys, I'm trying to create visuals that show differences from a month to month in a single metric. Similar to what is happening in this sample table I made in excel.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169042_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;My script currently looks like this.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET ThousandSep=',';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET DecimalSep='.';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET MoneyThousandSep=',';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET MoneyDecimalSep='.';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET MoneyFormat='$#,##0.00;-$#,##0.00';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET TimeFormat='hh:mm:ss TT';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET DateFormat='M/DD/YY';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET TimestampFormat='M/DD/YY hh:mm:ss[.fff] TT';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET FirstWeekDay=6;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET BrokenWeeks=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET ReferenceDay=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET FirstMonthOfYear=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET CollationLocale='en-CA';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET LongMonthNames='January;February;March;April;May;June;July;August;September;October;November;December';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;SET LongDayNames='Monday;Tuesday;Wednesday;Thursday;Friday;Saturday;Sunday';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Report:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;LOAD *,Date(MonthStart(Date),'MMM-YY') as Month FROM [FILE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(ooxml, embedded labels, table is US);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;LOAD *,Date(MonthStart(Date),'MMM-YY') as Month FROM [FILE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(ooxml, embedded labels, table is EMEA);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;LOAD *,Date(MonthStart(Date),'MMM-YY') as Month FROM [FILE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(ooxml, embedded labels, table is CANADA);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;LOAD *,Date(MonthStart(Date),'MMM-YY') as Month FROM [FILE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(ooxml, embedded labels, table is Canada);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;LOAD *,Date(MonthStart(Date),'MMM-YY') as Month FROM [FILE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(ooxml, embedded labels, table is EMEA);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;LOAD *,Date(MonthStart(Date),'MMM-YY') as Month FROM [FILE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(ooxml, embedded labels, table is USA);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;LOAD *,Date(MonthStart(Date),'MMM-YY') as Month FROM [FILE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(ooxml, embedded labels, table is CanadaApril);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;LOAD *,Date(MonthStart(Date),'MMM-YY') as Month FROM [FILE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(ooxml, embedded labels, table is EMEAApril);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Concatenate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;LOAD *,Date(MonthStart(Date),'MMM-YY') as Month FROM [FILE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(ooxml, embedded labels, table is USA);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Set vLastMonth="=Date(Max(Month),'MMM-YY')";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Set v2ndLastMonth="=Date(addMonth(Max(Month),-1),'MMM-YY')";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my expression in my table is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Sum({$&amp;lt;Month={"$(vLastMonth)"}&amp;gt;}[Seat Count]) - Sum({$&amp;lt;Month={"$(v2ndlastMonth"}&amp;gt;}[Seat Count])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I go about doing what I need? Should I be using a master calendar and, if so, how do I format my expression using a Calendar to give me the results I need?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325033#M828273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325034#M828274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM(Sales) - Above(SUM(Sales))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 14:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325034#M828274</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-07-04T14:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325035#M828275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;This works for just dates but what about if I wanted to expand it into multiple dimensions, such as below?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169046_Capture.PNG" style="height: 231px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 14:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325035#M828275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T14:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325036#M828276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Provide some more info&lt;/P&gt;&lt;P&gt;What is dimensions&lt;/P&gt;&lt;P&gt;What is expression here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 14:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325036#M828276</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-07-04T14:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325037#M828277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dimension in this case is Countries and Dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is the difference in [Seat Count] from one date to the next for each country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The [Expired] expression in the above screenshot is irrelevant to the Difference calculation as it should only be pertaining to [Seat Count].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 14:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325037#M828277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T14:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325038#M828278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Object to the left is the table I am trying to create. The object to the right is the test object I made using you initial response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 14:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325038#M828278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T14:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325039#M828279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide few line of sample data to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 14:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325039#M828279</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2017-07-04T14:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325040#M828280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's some sample data!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 15:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325040#M828280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T15:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325041#M828281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be smarter to just create a new Excel column using DAX arithmetic to do this? Seems like QlikView doesn't support this type of expression in a way that makes it worth doing in their program instead of in the file that's being imported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 15:22:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325041#M828281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T15:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Differences based on Date and Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325042#M828282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked after I rearranged my dimensions, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 19:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Differences-based-on-Date-and-Sales/m-p/1325042#M828282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T19:59:31Z</dc:date>
    </item>
  </channel>
</rss>

