<?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: Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596016#M444345</link>
    <description>&lt;P&gt;what is your expression? which date field you used&lt;/P&gt;&lt;P&gt;modify below expression as per your requirement.&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;sum({&amp;lt;date={"&amp;gt;=$(=date(max(date)))&amp;lt;$(=date(AddMonths(max(date),12)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Sangle&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 06:36:20 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2019-06-26T06:36:20Z</dc:date>
    <item>
      <title>Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596014#M444344</link>
      <description>&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;I have a dimension field(Month_Year) in my pivot table. I have some calculation based on measures. (shown below)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 691px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14438i2B6E791343276B30/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;here what I want is when I select a particular Month_Year in my list box&amp;nbsp; &amp;nbsp;preceding 12 months&amp;nbsp; of the selected Month_Year&amp;nbsp; should appear in the columns like shown above&amp;nbsp; Eg. When I select Jun-2019 above months should be in columns. Since I am unable to modify the Dimension (Month_Year) to obtain the above output I kindly seek your help&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 06:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596014#M444344</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-06-26T06:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596016#M444345</link>
      <description>&lt;P&gt;what is your expression? which date field you used&lt;/P&gt;&lt;P&gt;modify below expression as per your requirement.&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;sum({&amp;lt;date={"&amp;gt;=$(=date(max(date)))&amp;lt;$(=date(AddMonths(max(date),12)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Sangle&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 06:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596016#M444345</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2019-06-26T06:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596019#M444346</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;I did as you suggested but it returns no value and only one column appear. My expression is shown below&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Month_Year={"&amp;gt;=$(=date(max(Month_Year)))&amp;lt;$(=date(AddMonths(max(Month_Year),12)))"}&amp;gt;}PREMIUM)&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 06:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596019#M444346</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-06-26T06:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596033#M444347</link>
      <description>&lt;P&gt;just check with date format.. use straight table and move your cursor to expression header and check what value it is evaluating.&lt;/P&gt;&lt;P&gt;is it matching with your date format which you have month_year field?&lt;/P&gt;&lt;P&gt;Month_Year is in date format of string format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Sangle&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 07:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596033#M444347</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2019-06-26T07:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596044#M444348</link>
      <description>&lt;P&gt;Month Value is in string format&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 319px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14442i39E863398DB4C9DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 07:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596044#M444348</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-06-26T07:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596184#M444349</link>
      <description>&lt;P&gt;then convert that month_year value in date format in back end and use that field in set analysis for comparision&lt;/P&gt;&lt;P&gt;try below step&lt;/P&gt;&lt;P&gt;1: add new field as Date(Date#(Month_Year,'current month year format')) as date_month_year&lt;/P&gt;&lt;P&gt;2: in set analysis use this date_month_year field&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Sangle&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 10:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1596184#M444349</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2019-06-26T10:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1597113#M444350</link>
      <description>&lt;P&gt;I have tried with your suggestion got following result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 612px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14622i85EA76FD1C89EAD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My expression is&lt;/P&gt;&lt;P&gt;sum({&amp;lt;TRN_DATE={"&amp;gt;=$(=date(max(TRN_DATE)))&amp;lt;$(=date(AddMonths(max(TRN_DATE),5)))"}&amp;gt;}PREMIUM)&lt;/P&gt;&lt;P&gt;But&amp;nbsp; what I want is past 5 month from max TRN_DATE. I changed the expression as shown below but desired output is not&amp;nbsp; showing&lt;/P&gt;&lt;P&gt;sum({&amp;lt;TRN_DATE={"&amp;gt;=$(=date(max(TRN_DATE)))&amp;lt;$(=date(AddMonths(max(TRN_DATE),&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;-5&lt;/STRONG&gt;&lt;/FONT&gt;)))"}&amp;gt;}PREMIUM)&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Kindly help me to correct the expression&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 07:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1597113#M444350</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-06-28T07:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1597117#M444351</link>
      <description>&lt;P&gt;If you could share your sample app, you would probably get a resolution faster.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 07:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1597117#M444351</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-06-28T07:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1597120#M444352</link>
      <description>&lt;P&gt;just interchange &amp;lt; and &amp;gt;= in set analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;TRN_DATE={"&lt;STRONG&gt;&amp;gt;=&lt;/STRONG&gt;$(=date(AddMonths(max(TRN_DATE),&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;-5&lt;/STRONG&gt;&lt;/FONT&gt;&lt;SPAN&gt;)))&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;$(=date(max(TRN_DATE)))"}&amp;gt;}PREMIUM)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prashant Sangle&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 08:00:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1597120#M444352</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2019-06-28T08:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1597122#M444353</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 08:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimensions/m-p/1597122#M444353</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2019-06-28T08:15:21Z</dc:date>
    </item>
  </channel>
</rss>

