<?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: Calculated dimension based on expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473131#M1158854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the aggr function in your calculated dimension. Perhaps this works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Accumulated Sales] &amp;lt;= A_Perc_Kunde * aggr(Sum(Total IstWert),Customer_ID),Customer_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it doesn't it would help if you could post the qvw document you're working on or some sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jan 2013 09:58:14 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-01-02T09:58:14Z</dc:date>
    <item>
      <title>Calculated dimension based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473128#M1158851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some trouble with the methodology of calculated dimension and hope for your support &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to create a table which shows only a specific customer group. For that I've defined the expression "Kundenklasse" with this definition: =If([Accumulated Sales] &amp;lt;= A_Perc_Kunde * Sum(Total IstWert),'A',Null()).&lt;/P&gt;&lt;P&gt;The plan is to see only customers with Kundenklasse A in the table&lt;/P&gt;&lt;P&gt;To realize that I tried to define the selected Dimension (Customer_ID) as calculated dimension with the following expression: =If([Kundenklasse] = 'A',Customer_ID)&lt;/P&gt;&lt;P&gt;Unfortunately it doesn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; QlikView highlight the "Kundenklasse" as bad field name and I don't know why or how to solve this problem.&lt;/P&gt;&lt;P&gt;Does anybody have a clue?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="28046" alt="Unbenannt.PNG" class="jive-image" src="https://community.qlik.com/legacyfs/online/28046_Unbenannt.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nachricht geändert durch philipp.weiter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2013 14:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473128#M1158851</guid>
      <dc:creator />
      <dc:date>2013-01-01T14:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473129#M1158852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If(column(1) = 'A',Customer_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;column (1) means first Express which Name &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Kundenklasse&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; background-color: #ffffff; font-family: Arial;"&gt;Hope This helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2013 15:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473129#M1158852</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-01-01T15:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473130#M1158853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Luminary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank's for your approach. In my case it's column(4). If I try your formula there is no "bad field" error but it's still not working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;P&gt;The new result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="28053" class="jive-image" alt="123.PNG" src="https://community.qlik.com/legacyfs/online/28053_123.PNG" /&gt;&lt;/P&gt;&lt;P&gt;do you or anybody else have an other idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Philipp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jan 2013 16:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473130#M1158853</guid>
      <dc:creator />
      <dc:date>2013-01-01T16:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473131#M1158854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the aggr function in your calculated dimension. Perhaps this works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Accumulated Sales] &amp;lt;= A_Perc_Kunde * aggr(Sum(Total IstWert),Customer_ID),Customer_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it doesn't it would help if you could post the qvw document you're working on or some sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 09:58:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473131#M1158854</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-02T09:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473132#M1158855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your support. Sadly it doesn't work. Pls find the qvw document in the attachement of my original posts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 11:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473132#M1158855</guid>
      <dc:creator />
      <dc:date>2013-01-02T11:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473133#M1158856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think what you want to do is possible that way. But if you are using QV11 you can use dimension limits instead. Select the option &lt;EM&gt;Show only values that accumulate to &lt;/EM&gt;and put &lt;EM&gt;A_Perc_Kunde&lt;/EM&gt; in the first input field and select &lt;EM&gt;relative to the total&lt;/EM&gt; in the dropdown list next to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 12:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473133#M1158856</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-01-02T12:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimension based on expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473134#M1158857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's it! Thanks a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 12:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimension-based-on-expression/m-p/473134#M1158857</guid>
      <dc:creator />
      <dc:date>2013-01-02T12:37:44Z</dc:date>
    </item>
  </channel>
</rss>

