<?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 Calculated Dimension help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-help/m-p/267169#M499144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could use aggr to create your dimension:&lt;/P&gt;&lt;P&gt;=aggr(&amp;nbsp; if( Flag='Y', Category) , Customer, Flag)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I didn't get the pattern to generate the Qual_Category. If you explain, we can try to write the condition.. &lt;/P&gt;&lt;P&gt;Hope this helps for now... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2011 01:34:31 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2011-06-07T01:34:31Z</dc:date>
    <item>
      <title>Calculated Dimension help</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-help/m-p/267168#M499143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0in 0in 10pt; line-height: normal;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Hello All,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I don’t have access to my qvw script however, I am trying to create a calculated dimension that uses a flag (Y/N) to determine a qualifying category based off the Customer. I want to be able to look at the customer in a table and use the Qualifying Category to sum revenue. Here how I want the qualifying catergory to look like.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;&lt;SPAN style="mso-spacerun: yes;"&gt; &lt;/SPAN&gt;Customer,Flag,Category,Revenue,Qual_Category&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1,Y,A,100,A&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1,N,B,50,A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2,Y,C,100,C&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2,N,D,50,C&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNoSpacing" style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;I am able to use an if statement for the first true condition if(Flag=’Y’,Category, but trying to get the match based off of the customer is where I am having issues. Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 19:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-help/m-p/267168#M499143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-06T19:06:35Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension help</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-help/m-p/267169#M499144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could use aggr to create your dimension:&lt;/P&gt;&lt;P&gt;=aggr(&amp;nbsp; if( Flag='Y', Category) , Customer, Flag)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I didn't get the pattern to generate the Qual_Category. If you explain, we can try to write the condition.. &lt;/P&gt;&lt;P&gt;Hope this helps for now... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 01:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-help/m-p/267169#M499144</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-06-07T01:34:31Z</dc:date>
    </item>
  </channel>
</rss>

