<?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: Table expression ignoring my calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/2012152#M1221797</link>
    <description>&lt;P&gt;Hi, I met the same issue, I'd like to create a dimension for 3 types according to CY-PY OR Diff. But it only shows the customer who have OR within the month selected. How to show all the customers?&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;= aggr( if(Sum({1&amp;lt;FY={'CY'},FROZENDATE= {"&amp;lt;=$(=max(FROZENDATE))"},Month&amp;gt;} ORVALUE)-&lt;BR /&gt;Sum({1&amp;lt;FY={'PY'},FROZENDATE= {"&amp;lt;=$(=addyears(max(FROZENDATE),-1))"},Month&amp;gt;} TOVALUE)&amp;gt;0 ,'With OR Growth',&lt;BR /&gt;if((Sum({1&amp;lt;FY={'CY'},FROZENDATE= {"&amp;lt;=$(=max(FROZENDATE))"},Month&amp;gt;} ORVALUE)-&lt;BR /&gt;Sum({1&amp;lt;FY={'PY'},FROZENDATE= {"&amp;lt;=$(=addyears(max(FROZENDATE),-1))"},Month&amp;gt;} TOVALUE)&amp;lt;0 &lt;BR /&gt;and Sum({1&amp;lt;FY={'CY'},FROZENDATE= {"&amp;lt;=$(=max(FROZENDATE))"},Month&amp;gt;} ORVALUE) &amp;lt;&amp;gt;0 ) ,'With OR Decrease',&lt;BR /&gt;if((Sum({1&amp;lt;FY={'CY'},FROZENDATE= {"&amp;lt;=$(=max(FROZENDATE))"},Month&amp;gt;} ORVALUE))=0 ,'CY Order=0'))), customerID)&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2022 14:31:03 GMT</pubDate>
    <dc:creator>StacyCui</dc:creator>
    <dc:date>2022-12-02T14:31:03Z</dc:date>
    <item>
      <title>Table expression ignoring my calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100174#M457469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get a list of discount % on HOOFDGROEP (main-level) and SUBGROEP (sub-level) per category (group of customers).&lt;/P&gt;&lt;P&gt;I defined the categories in a calculated dimension as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(aggr(sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[sales]), Customer)&amp;gt;0 and aggr(sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-size: 13.3333px;"&gt;sales&lt;/SPAN&gt;]),Customer)&amp;lt;=2500, '(a) 0 t/m 2.500',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(aggr(sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-size: 13.3333px;"&gt;sales&lt;/SPAN&gt;),&lt;SPAN style="font-size: 13.3333px;"&gt;Customer&lt;/SPAN&gt;)&amp;gt;2500 and aggr(sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-size: 13.3333px;"&gt;sales&lt;/SPAN&gt;]),&lt;SPAN style="font-size: 13.3333px;"&gt;Customer&lt;/SPAN&gt;)&amp;lt;=10000, '(b) 2.500,- t/m 10.000,-',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(aggr(sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-size: 13.3333px;"&gt;sales&lt;/SPAN&gt;]),&lt;SPAN style="font-size: 13.3333px;"&gt;Customer&lt;/SPAN&gt;)&amp;gt;10000 and aggr(sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-size: 13.3333px;"&gt;sales&lt;/SPAN&gt;),&lt;SPAN style="font-size: 13.3333px;"&gt;Customer&lt;/SPAN&gt;)&amp;lt;=25000, '(c) 10.000,- t/m 25.000,-',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(aggr(sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-size: 13.3333px;"&gt;sales&lt;/SPAN&gt;]),&lt;SPAN style="font-size: 13.3333px;"&gt;Customer&lt;/SPAN&gt;)&amp;gt;25000, '(d) 25.000,- en meer',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(aggr(sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-size: 13.3333px;"&gt;sales&lt;/SPAN&gt;),&lt;SPAN style="font-size: 13.3333px;"&gt;Customer&lt;/SPAN&gt;&amp;lt;=0, '(x) 0 of negatieve omzet')))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function is allocating our customers, based on the sum(sales), in each category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, this results in the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qliktable.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/217312_Qliktable.PNG" style="height: 253px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To this point, my calculated dimension is working fine, showing the sales (netto-omzet 2017), per Hoofdgroep and Subgroep. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I make an additional selection (in this case: Graco onder...) on Subgroep (sub-level) my calculated dimension is not working anymore. As shown in the figure below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qliktable2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/217316_Qliktable2.PNG" style="height: 61px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The calculated dimension (categories) are shifting, resulting in different sales number which are not reflecting reality. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Netto-omzet 2017 is defined as: =sum([Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Bruto-omzet 2017 is defined as: =sum([Sales Bruto])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Korting % 2017 is defined as: =(1-(Column(1)/Column(2)))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can anybody help me how to make this work properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 15:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100174#M457469</guid>
      <dc:creator>thymenkristen</dc:creator>
      <dc:date>2018-11-01T15:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table expression ignoring my calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100175#M457470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}, &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subgroep&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt;}[sales]) &amp;lt;= 0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'(x) 0 of negatieve omzet',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subgroep&lt;/SPAN&gt;&amp;gt;}[&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;]) &amp;lt;= 2500, '(a) 0 t/m 2.500',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subgroep&lt;/SPAN&gt;&amp;gt;}[&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;]) &amp;lt;= 10000, '(b) 2.500,- t/m 10.000,-',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(Sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Subgroep&lt;/SPAN&gt;&amp;gt;}[&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;) &amp;lt;= 25000, '(c) 10.000,- t/m 25.000,-',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;'(d) 25.000,- en meer'))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;, Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 15:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100175#M457470</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-01T15:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table expression ignoring my calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100176#M457471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your input Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it does not deliver the desired result yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did insert the new calculated dimension as you proposed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qliktable3.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/217326_Qliktable3.PNG" style="height: 338px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;However, if I select a Hoofdgroep (2nd column) in this case Graco Programma, then this table will pop up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qliktable4.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/217327_Qliktable4.PNG" style="height: 286px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;With different sales numbers, it seems like it is shifting the customers to another category. Based on their sales realized in the specific selected HOOFDGROEP, which in this case is Graco Programma. Same will happen if I make selections on Sub-level (Subgroep)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me! Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 16:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100176#M457471</guid>
      <dc:creator>thymenkristen</dc:creator>
      <dc:date>2018-11-01T16:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Table expression ignoring my calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100177#M457472</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;Hi All. Sunny is right and you can try to ignore all selections by replacing the set modifier $ to 1 if there &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;are &lt;/SPAN&gt;another filters&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 16:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100177#M457472</guid>
      <dc:creator>andrey_krylov</dc:creator>
      <dc:date>2018-11-01T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table expression ignoring my calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100178#M457473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right. Thanks all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 16:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100178#M457473</guid>
      <dc:creator>thymenkristen</dc:creator>
      <dc:date>2018-11-01T16:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Table expression ignoring my calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100179#M457474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to ignore selection in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hoofdgroep also&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subgroep, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hoofdgroep &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&amp;gt;}[sales]) &amp;lt;= 0, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'(x) 0 of negatieve omzet',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subgroep, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hoofdgroep &lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;}[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;]) &amp;lt;= 2500, '(a) 0 t/m 2.500',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subgroep, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hoofdgroep &lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;}[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;]) &amp;lt;= 10000, '(b) 2.500,- t/m 10.000,-',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Sum({$&amp;lt;Jaar={2017}, Markt={Houtbouw}, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Subgroep, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hoofdgroep &lt;/SPAN&gt;&lt;/SPAN&gt;&amp;gt;}[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;) &amp;lt;= 25000, '(c) 10.000,- t/m 25.000,-',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;'(d) 25.000,- en meer'))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;, Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or everything&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Sum({1&amp;lt;Jaar={2017}, Markt={Houtbouw}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&amp;gt;}[sales]) &amp;lt;= 0, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;'(x) 0 of negatieve omzet',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Sum({1&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;]) &amp;lt;= 2500, '(a) 0 t/m 2.500',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Sum({1&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;]) &amp;lt;= 10000, '(b) 2.500,- t/m 10.000,-',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Sum({1&amp;lt;Jaar={2017}, Markt={Houtbouw}&amp;gt;}[&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sales&lt;/SPAN&gt;) &amp;lt;= 25000, '(c) 10.000,- t/m 25.000,-',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;'(d) 25.000,- en meer'))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;, Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2018 17:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/100179#M457474</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-01T17:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table expression ignoring my calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/2012152#M1221797</link>
      <description>&lt;P&gt;Hi, I met the same issue, I'd like to create a dimension for 3 types according to CY-PY OR Diff. But it only shows the customer who have OR within the month selected. How to show all the customers?&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;= aggr( if(Sum({1&amp;lt;FY={'CY'},FROZENDATE= {"&amp;lt;=$(=max(FROZENDATE))"},Month&amp;gt;} ORVALUE)-&lt;BR /&gt;Sum({1&amp;lt;FY={'PY'},FROZENDATE= {"&amp;lt;=$(=addyears(max(FROZENDATE),-1))"},Month&amp;gt;} TOVALUE)&amp;gt;0 ,'With OR Growth',&lt;BR /&gt;if((Sum({1&amp;lt;FY={'CY'},FROZENDATE= {"&amp;lt;=$(=max(FROZENDATE))"},Month&amp;gt;} ORVALUE)-&lt;BR /&gt;Sum({1&amp;lt;FY={'PY'},FROZENDATE= {"&amp;lt;=$(=addyears(max(FROZENDATE),-1))"},Month&amp;gt;} TOVALUE)&amp;lt;0 &lt;BR /&gt;and Sum({1&amp;lt;FY={'CY'},FROZENDATE= {"&amp;lt;=$(=max(FROZENDATE))"},Month&amp;gt;} ORVALUE) &amp;lt;&amp;gt;0 ) ,'With OR Decrease',&lt;BR /&gt;if((Sum({1&amp;lt;FY={'CY'},FROZENDATE= {"&amp;lt;=$(=max(FROZENDATE))"},Month&amp;gt;} ORVALUE))=0 ,'CY Order=0'))), customerID)&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 14:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-expression-ignoring-my-calculated-dimension/m-p/2012152#M1221797</guid>
      <dc:creator>StacyCui</dc:creator>
      <dc:date>2022-12-02T14:31:03Z</dc:date>
    </item>
  </channel>
</rss>

