<?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: How to add data/value in the expression not in the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635896#M1089504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dariusz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are genius &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2014 14:15:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-02T14:15:27Z</dc:date>
    <item>
      <title>How to add data/value in the expression not in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635894#M1089502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi, QV community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I need to some help to add data in the expression.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have an example for you guys to see.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I will talk about the example because you understand better if you look at it.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;First take a look at the example before read my explanation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;One Job Number (AARS10) which is the same number as the console Job has information about the cost and Container Type.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The other Job Numbers (AARS11 and AARS12) have information about the revenues and nothing about the container type as you can see in the QlikView file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I need the to get the same Container Types value in all my jobs. So when I filter Container Type "40HC" I will get all the jobs not only AARS10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;My it is possible to use the Consol Job number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Any ideas?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The solution below is correct if I would wan to do add the data in the script but I am looking for the same solution in the &lt;STRONG style="text-decoration: underline;"&gt;Chart Properties&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD [Console Job],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Job number],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revenue,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Container,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Job number] = [Console Job], [Container Type], Peek([Container Type])) as [Container Type]&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Example QV.xlsx]&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 13:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635894#M1089502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-02T13:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data/value in the expression not in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635895#M1089503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(MaxString(TOTAL &amp;lt;[Console Job]&amp;gt; [Container Type]),[Console Job],[Job number])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 14:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635895#M1089503</guid>
      <dc:creator />
      <dc:date>2014-06-02T14:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data/value in the expression not in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635896#M1089504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dariusz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are genius &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2014 14:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635896#M1089504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-02T14:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data/value in the expression not in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635897#M1089505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need 7500 points to be a Genius here &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 09:57:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635897#M1089505</guid>
      <dc:creator />
      <dc:date>2014-06-03T09:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to add data/value in the expression not in the script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635898#M1089506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Dariusz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the answer. It was the answer I was looking for.&lt;/P&gt;&lt;P&gt;But I have a problem because sometimes the same Job Number have many different Container Types. (see the data below)&lt;/P&gt;&lt;P&gt;When I use your expression I run into problems because as you know the MaxString function reads the first container type. Do you have any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Console Job&lt;/TD&gt;&lt;TD&gt;Job number&lt;/TD&gt;&lt;TD&gt;Revenue&lt;/TD&gt;&lt;TD&gt;Cost&lt;/TD&gt;&lt;TD&gt;Container&lt;/TD&gt;&lt;TD&gt;Container Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt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>Tue, 10 Jun 2014 14:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-data-value-in-the-expression-not-in-the-script/m-p/635898#M1089506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-10T14:16:41Z</dc:date>
    </item>
  </channel>
</rss>

