<?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: trouble limiting canonical week Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/trouble-limiting-canonical-week-Calculated-Dimension/m-p/742487#M265104</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;Try =if(CanonicalWk&amp;gt;=$(=MinString({$&amp;lt;status={'X','Y'}&amp;gt;} ShippedWk)),CanonicalWk)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 13:03:37 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-03-19T13:03:37Z</dc:date>
    <item>
      <title>trouble limiting canonical week Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/trouble-limiting-canonical-week-Calculated-Dimension/m-p/742486#M265103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart where the dimension is a set of canonical WeekName()'s (called CanonicalWk)&lt;/P&gt;&lt;P&gt;I only want to show weeks after the minimum date in another non-canonical week field, say ShippedWk.&amp;nbsp; In other words, I'm lopping off all the empty weeks on the left side of the chart up to the earliest week with Shipping data, then showing all weeks after that.&amp;nbsp; In the test data, this minimum week happens to be 2014/23.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another note - I have to display&lt;EM&gt; all&lt;/EM&gt; canonical weeks after this date whether they have 0 values or not, so I can't simply use the Suppress options on the Presentation tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that the right way to do this is with a Calculated Dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I hard code the minimum date into the Calculated Dimension like this, I get exactly what I want:&lt;/P&gt;&lt;P&gt;=if(CanonicalWk&amp;gt;='2014/23',CanonicalWk)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also know that this yields the string 2014/23.&lt;/P&gt;&lt;P&gt;=MinString({$&amp;lt;status={'X','Y'}&amp;gt;} ShippedWk)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I combine those into this Calculated Dimension, I get "Error in calculated dimension"&lt;/P&gt;&lt;P&gt;=if(CanonicalWk&amp;gt;=MinString({$&amp;lt;status={'X','Y'}&amp;gt;} ShippedWk),CanonicalWk)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a syntax issue, or am I missing something bigger?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 14:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trouble-limiting-canonical-week-Calculated-Dimension/m-p/742486#M265103</guid>
      <dc:creator />
      <dc:date>2015-03-18T14:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: trouble limiting canonical week Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/trouble-limiting-canonical-week-Calculated-Dimension/m-p/742487#M265104</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;Try =if(CanonicalWk&amp;gt;=$(=MinString({$&amp;lt;status={'X','Y'}&amp;gt;} ShippedWk)),CanonicalWk)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 13:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trouble-limiting-canonical-week-Calculated-Dimension/m-p/742487#M265104</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-03-19T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: trouble limiting canonical week Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/trouble-limiting-canonical-week-Calculated-Dimension/m-p/742488#M265105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No difference - same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should mention too that there are no errors (red underlining) shown as I populate the Calculated Dimension field.&amp;nbsp; The chart shows a single bar, and the dimension label beneath the bar is "// Error in calculated dimension"&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81307_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 13:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trouble-limiting-canonical-week-Calculated-Dimension/m-p/742488#M265105</guid>
      <dc:creator />
      <dc:date>2015-03-19T13:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: trouble limiting canonical week Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/trouble-limiting-canonical-week-Calculated-Dimension/m-p/742489#M265106</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;Ah.&amp;nbsp; Syntax.&amp;nbsp; Unless it's an integer, single quotes are needed.&amp;nbsp; The correct answer is:&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;=if(CanonicalWk&amp;gt;='$(=MinString({$&amp;lt;status={'X','Y'}&amp;gt;} ShippedWk))',CanonicalWk)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 16:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/trouble-limiting-canonical-week-Calculated-Dimension/m-p/742489#M265106</guid>
      <dc:creator />
      <dc:date>2015-03-23T16:50:03Z</dc:date>
    </item>
  </channel>
</rss>

