<?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 Error in calculated dimension for a dynamic bucket in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension-for-a-dynamic-bucket/m-p/1560135#M441237</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to define a calculated dimension based on the solution offer here by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42856"&gt;@effinty2112&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Dynamic-bucket/td-p/1435684" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/Dynamic-bucket/td-p/1435684&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The limit of each bucked ise dynamic.&lt;/P&gt;&lt;P&gt;My expression works fine in a text box, but generates an error when I try to use it for a calculated dimension.&lt;/P&gt;&lt;P&gt;Any idea why?&lt;/P&gt;&lt;P&gt;=Pick(Match(-1,&lt;/P&gt;&lt;P&gt;sum(SalesOrder_Line_Part_Qty) &amp;lt; vLimit1,&lt;BR /&gt;sum(SalesOrder_Line_Part_Qty) &amp;lt; vLimit2,&lt;BR /&gt;sum(SalesOrder_Line_Part_Qty) &amp;lt; vLimit3,&lt;BR /&gt;sum(SalesOrder_Line_Part_Qty) &amp;lt; vLimit4,&lt;BR /&gt;-1),&lt;/P&gt;&lt;P&gt;'&amp;lt;='&amp;amp; vLimit1,&lt;BR /&gt;'&amp;lt;=:'&amp;amp;vLimit2,&lt;BR /&gt;'&amp;lt;=:'&amp;amp;vLimit3,&lt;BR /&gt;'&amp;lt;=:'&amp;amp;vLimit4)&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:04:22 GMT</pubDate>
    <dc:creator>dafnis14</dc:creator>
    <dc:date>2024-11-16T04:04:22Z</dc:date>
    <item>
      <title>Error in calculated dimension for a dynamic bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension-for-a-dynamic-bucket/m-p/1560135#M441237</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to define a calculated dimension based on the solution offer here by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/42856"&gt;@effinty2112&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Dynamic-bucket/td-p/1435684" target="_blank"&gt;https://community.qlik.com/t5/New-to-QlikView/Dynamic-bucket/td-p/1435684&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The limit of each bucked ise dynamic.&lt;/P&gt;&lt;P&gt;My expression works fine in a text box, but generates an error when I try to use it for a calculated dimension.&lt;/P&gt;&lt;P&gt;Any idea why?&lt;/P&gt;&lt;P&gt;=Pick(Match(-1,&lt;/P&gt;&lt;P&gt;sum(SalesOrder_Line_Part_Qty) &amp;lt; vLimit1,&lt;BR /&gt;sum(SalesOrder_Line_Part_Qty) &amp;lt; vLimit2,&lt;BR /&gt;sum(SalesOrder_Line_Part_Qty) &amp;lt; vLimit3,&lt;BR /&gt;sum(SalesOrder_Line_Part_Qty) &amp;lt; vLimit4,&lt;BR /&gt;-1),&lt;/P&gt;&lt;P&gt;'&amp;lt;='&amp;amp; vLimit1,&lt;BR /&gt;'&amp;lt;=:'&amp;amp;vLimit2,&lt;BR /&gt;'&amp;lt;=:'&amp;amp;vLimit3,&lt;BR /&gt;'&amp;lt;=:'&amp;amp;vLimit4)&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension-for-a-dynamic-bucket/m-p/1560135#M441237</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2024-11-16T04:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error in calculated dimension for a dynamic bucket</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension-for-a-dynamic-bucket/m-p/1560238#M441251</link>
      <description>&lt;P&gt;I got an idea from a solution&amp;nbsp; offered by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6152"&gt;@Oleg_Troyansky&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/" target="_blank"&gt;http://www.naturalsynergies.com/q-tip-14-aggr-and-synthetic-dimensions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I've modified the expression to include AGGR() :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Pick(Match(-1,&lt;BR /&gt;&lt;BR /&gt;aggr(sum(SalesOrder_Line_Part_Qty),SalesOrder_Line_PartID) &amp;lt;= vLimit1,&lt;BR /&gt;aggr(sum(SalesOrder_Line_Part_Qty),SalesOrder_Line_PartID) &amp;lt;= vLimit2,&lt;BR /&gt;aggr(sum(SalesOrder_Line_Part_Qty),SalesOrder_Line_PartID) &amp;lt;= vLimit3,&lt;BR /&gt;aggr(sum(SalesOrder_Line_Part_Qty),SalesOrder_Line_PartID) &amp;lt;= vLimit4,&lt;BR /&gt;-1),&lt;/P&gt;&lt;P&gt;'&amp;lt;='&amp;amp; vLimit1,&lt;BR /&gt;'&amp;lt;=:'&amp;amp;vLimit2,&lt;BR /&gt;'&amp;lt;=:'&amp;amp;vLimit3,&lt;BR /&gt;'&amp;lt;=:'&amp;amp;vLimit4)&lt;/P&gt;&lt;P&gt;Thank you Oleg!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 16:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-calculated-dimension-for-a-dynamic-bucket/m-p/1560238#M441251</guid>
      <dc:creator>dafnis14</dc:creator>
      <dc:date>2019-03-22T16:59:00Z</dc:date>
    </item>
  </channel>
</rss>

