<?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: Making an expression a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Making-an-expression-a-dimension/m-p/389073#M1154356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't believe it was that simple! Never really understood the Aggr function, but it did exactly what I wanted, thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2013 15:27:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-25T15:27:45Z</dc:date>
    <item>
      <title>Making an expression a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Making-an-expression-a-dimension/m-p/389071#M1154354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't get my mind around this one. I have a number of customers who we do mailings to, but we don't want to mail them too often. I'm tracking the number of mailings we're sending in my expression, but I would like to load it as a dimension, so I can filter on it. E.g. of data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 147px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;Customer &lt;/TD&gt;&lt;TD class="xl63" width="83"&gt;Campaign Id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl64"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl64"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;B&lt;/TD&gt;&lt;TD class="xl64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;B&lt;/TD&gt;&lt;TD class="xl64"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20"&gt;C&lt;/TD&gt;&lt;TD class="xl64"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my expression I simply count(Campaign Id) and it turns out like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="153"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="70"&gt;Customer &lt;/TD&gt;&lt;TD class="xl65" width="83"&gt;Count(Campaign Id)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl66"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;B&lt;/TD&gt;&lt;TD class="xl66"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;C&lt;/TD&gt;&lt;TD class="xl66"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would very much like to load this count in my script, so I could filter out anyone who had been mailed e.g. 3 times or more and also being able to filter on those not mailed yet... But when I try to load it in my script I only get the value of 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it makes sense and thank you for your help in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 14:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-an-expression-a-dimension/m-p/389071#M1154354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-25T14:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Making an expression a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Making-an-expression-a-dimension/m-p/389072#M1154355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you may use AGGR function in a calculated dimension like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P align="center" style="text-align: center;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: windowtext;"&gt;Aggr(Count(Campaign_Id),Customer)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 15:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-an-expression-a-dimension/m-p/389072#M1154355</guid>
      <dc:creator />
      <dc:date>2013-03-25T15:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Making an expression a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Making-an-expression-a-dimension/m-p/389073#M1154356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't believe it was that simple! Never really understood the Aggr function, but it did exactly what I wanted, thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 15:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-an-expression-a-dimension/m-p/389073#M1154356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-25T15:27:45Z</dc:date>
    </item>
  </channel>
</rss>

