<?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: How to hide dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776060#M1027132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your problem has nothing to do with my expression. In your data model, there is a discrepancy between Month values that originate as column headers, and those that come straight out of an Excel Month column. They are being treated as different values and that is why you have to use this big expression to get a dimension value out of the Month field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the Table Viewer and preview the Synthetic key table. &lt;EM&gt;There are two areas of values&lt;/EM&gt;, (scroll down to see what I mean and rmember: left-aligned means &lt;SPAN style="text-decoration: underline;"&gt;text&lt;/SPAN&gt;) numerical ones at the bottom (that come from the Value-sheet and which are correct) and text values that result from the two CROSSTABLE loads. They do &lt;STRONG style="text-decoration: underline;"&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;/STRONG&gt; associate and will not work as key values. You will always have problems in your document if you don't fix that one first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An easy solution would be to reload every table from a CROSSTABLE load into a table.with properly formatted fields. For example, add table names to all LOAD statements. On the Plant tab, add the following to the bottom:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PlantCross:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CROSSTABLE () LOAD...;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Plant:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOCONCATENATE LOAD Date#(Motnh) AS Month, Plant, [Plant Value] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RESIDENT PlantCross;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DROP Table PlantCross;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula I gave you in a previous post will now suddenly and magically display a bar chart with the frist few months absent. Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Skip First Few Months thread155552.jpg" class="jive-image image-1" src="/legacyfs/online/88789_Skip First Few Months thread155552.jpg" style="height: 217px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2015 10:45:31 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2015-06-09T10:45:31Z</dc:date>
    <item>
      <title>How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776053#M1027122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;How to hide the first 5 months, from Jan-2014 to May-2014?&lt;/P&gt;&lt;P&gt;When I update May-2015, Jun-2015 and so on, how to show the latest 12 months and hide the first few months?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776053#M1027122</guid>
      <dc:creator />
      <dc:date>2015-03-10T13:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776054#M1027125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;MonthYearField-={'Jan-14','Feb-14'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776054#M1027125</guid>
      <dc:creator />
      <dc:date>2015-03-10T13:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776055#M1027127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if you want a rolling 12-month chart, going back from last month, use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=sum({&amp;lt;MonthYearDateField = &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; {'&amp;gt;=$(=MonthStart(AddMonths(today(),-12)))&amp;lt;$(=MonthStart(today()))'}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that in order for this expression to work, MonthYearDateField should have an underlying date value, not just a text value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776055#M1027127</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-03-10T13:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776056#M1027128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Harshal Patil.&lt;BR /&gt;how to show the latest 12 month automatically, so I don't need to update definition each month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776056#M1027128</guid>
      <dc:creator />
      <dc:date>2015-03-10T13:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776057#M1027129</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;Way to achieve your requirement for 12 months financial year if it starts from April-15 create Financial calendar based on that for 2015 startMonth will be April-15 ...&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;//Start with April and consider that fin year as max from both year as year eg 2014-15 , as 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: maroon;"&gt;CalendarDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;)) &amp;gt; 4 ,(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: maroon;"&gt;CalendarDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;) + 1),&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: maroon;"&gt;CalendarDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: black;"&gt;) ) &lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: blue;"&gt;AS&lt;/SPAN&gt; &lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif'; color: maroon;"&gt;FIN_YEAR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-or-&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;YearName(mydate, 0, $(vFiscalYearStartMonth)) AS FiscalYear;&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vFiscalYearStartMonth=4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;then&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;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;FiscalYr &lt;/SPAN&gt;="$(=Year(today()))"&amp;gt;}Sales)&lt;/SPAN&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;&lt;BR /&gt;&lt;/SPAN&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;It will show only current fiscal year data &amp;amp; respective months from where it starts ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:13:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776057#M1027129</guid>
      <dc:creator />
      <dc:date>2015-03-11T07:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776058#M1027130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Peter. I tried but it doesn't work for corsstable. Could you kindly show me how to wirte this script in corret way? Please find attached files on top of the page.&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 09:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776058#M1027130</guid>
      <dc:creator />
      <dc:date>2015-06-09T09:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776059#M1027131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;I am a beginner of Qlikview. Could you kindly show me how to wirte this script in corret way? Please find attached files on top of the page.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 09:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776059#M1027131</guid>
      <dc:creator />
      <dc:date>2015-06-09T09:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776060#M1027132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your problem has nothing to do with my expression. In your data model, there is a discrepancy between Month values that originate as column headers, and those that come straight out of an Excel Month column. They are being treated as different values and that is why you have to use this big expression to get a dimension value out of the Month field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open the Table Viewer and preview the Synthetic key table. &lt;EM&gt;There are two areas of values&lt;/EM&gt;, (scroll down to see what I mean and rmember: left-aligned means &lt;SPAN style="text-decoration: underline;"&gt;text&lt;/SPAN&gt;) numerical ones at the bottom (that come from the Value-sheet and which are correct) and text values that result from the two CROSSTABLE loads. They do &lt;STRONG style="text-decoration: underline;"&gt;&lt;EM&gt;not&lt;/EM&gt;&lt;/STRONG&gt; associate and will not work as key values. You will always have problems in your document if you don't fix that one first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An easy solution would be to reload every table from a CROSSTABLE load into a table.with properly formatted fields. For example, add table names to all LOAD statements. On the Plant tab, add the following to the bottom:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PlantCross:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CROSSTABLE () LOAD...;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Plant:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOCONCATENATE LOAD Date#(Motnh) AS Month, Plant, [Plant Value] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RESIDENT PlantCross;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DROP Table PlantCross;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula I gave you in a previous post will now suddenly and magically display a bar chart with the frist few months absent. Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Skip First Few Months thread155552.jpg" class="jive-image image-1" src="/legacyfs/online/88789_Skip First Few Months thread155552.jpg" style="height: 217px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2015 10:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776060#M1027132</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-06-09T10:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776061#M1027133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anna Anna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;were you able to fix your document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 09:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776061#M1027133</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-06-11T09:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide dimension</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776062#M1027134</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;PFA,&lt;/P&gt;&lt;P&gt;You need to follow steps to achieve your req.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harshal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 07:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-hide-dimension/m-p/776062#M1027134</guid>
      <dc:creator />
      <dc:date>2015-06-17T07:10:08Z</dc:date>
    </item>
  </channel>
</rss>

