<?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 use column(1) value in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901248#M992563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please select date in calendar (30-jun-15), totally there is 5 shipment between job id&amp;nbsp; 41719 to 41539 . i tried with your solution , but it always showing single shipment for other customer also .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i want to show max job id origin value . Firstsorted value is taking min job id value . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help me to solve .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2015 06:16:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-20T06:16:20Z</dc:date>
    <item>
      <title>How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901245#M992560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my report i want to count no of shipment and display origin in expression . Please look in to my qvw and attached image .&lt;/P&gt;&lt;P&gt;I want to count no of shipment for the last 6 months before the last job date , i,e my last job date is 21-Mar-2014 . &lt;/P&gt;&lt;P&gt;totally there is 5 shipments from last job&amp;nbsp; to last job - 180&amp;nbsp;&amp;nbsp; (41539 to 41719) . also i want to show my origin value for the max job id 41719 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jul 2015 11:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901245#M992560</guid>
      <dc:creator />
      <dc:date>2015-07-18T11:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901246#M992561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see only one shippment which falls under the Max(Job_ID) and Max(Job_ID)-180&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="93256" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93256_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If what I am saying is right, then this expression is working:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count({&amp;lt;Job_ID = {"$(='&amp;gt;=' &amp;amp; (Max(Job_ID)-180))"}&amp;gt;}NO_OF_SHIPMENT)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For origin, try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FirstSortedValue(Origin, Job_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output Table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/93258_Capture.PNG" style="height: 64px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jul 2015 11:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901246#M992561</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-18T11:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901247#M992562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the HELP is misleading that you are not just referencing the value of first column by using column(1), but you are referencing the expression. And since your expression is an aggregation function, you need advanced aggregation if you want to embed it in another aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe like attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jul 2015 12:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901247#M992562</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-18T12:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901248#M992563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please select date in calendar (30-jun-15), totally there is 5 shipment between job id&amp;nbsp; 41719 to 41539 . i tried with your solution , but it always showing single shipment for other customer also .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i want to show max job id origin value . Firstsorted value is taking min job id value . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly help me to solve .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 06:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901248#M992563</guid>
      <dc:creator />
      <dc:date>2015-07-20T06:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901249#M992564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Swuehl ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot its working perfectly , but if i change date range , its taking more time to load , i think its happening because of huge data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just one small thing , if my last job date is null , then i want to hide customer row. i have selected suppress zero values in presentation for all expressions , but still service steel customer is appearing in report .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly look my image file and suggest .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 07:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901249#M992564</guid>
      <dc:creator />
      <dc:date>2015-07-20T07:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901250#M992565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you limit your data to your current selection and upload the QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 07:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901250#M992565</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-20T07:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901251#M992566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Swuehl ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have attached qvw with sample customer .&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; if my last job date is null , then i want to hide customer row.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly suggest .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 09:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901251#M992566</guid>
      <dc:creator />
      <dc:date>2015-07-20T09:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901252#M992567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sriram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA file for solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 09:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901252#M992567</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-20T09:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901253#M992568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 09:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901253#M992568</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-20T09:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901254#M992569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dear Swuehl ,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If my count of max (job_id) is &amp;gt; 1 and origin or destination&amp;nbsp; have different value , then its not showing in out put .&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For example customer Agritrade , max job is 41502 where destination have 2 different value , i want to display yangon in destination which displaying first in table box .&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For customer 3m&amp;nbsp; india limited , both origin and destination value is null ,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Kindly suggest . Thanks in advance for your continued support .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 12:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901254#M992569</guid>
      <dc:creator />
      <dc:date>2015-07-22T12:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use column(1) value in expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901255#M992570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is determining the priority, GP_LOCAL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try for destination:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(column(1),&lt;/P&gt;&lt;P&gt;Concat( &lt;/P&gt;&lt;P&gt;aggr(&lt;/P&gt;&lt;P&gt;if( max(total&amp;lt;Customer&amp;gt; if(Len(if(JOB_DATE&amp;gt;=vToDate-vRange and JOB_DATE&amp;lt;=vToDate,JOB_REF))=0 and Len(if(JOB_DATE&amp;lt;=vToDate-vRange,JOB_REF))&amp;gt;0 and Len(if(JOB_DATE&amp;gt;=vToDate,JOB_REF))=0,JOB_DATE)) = JOB_DATE&lt;/P&gt;&lt;P&gt;&amp;nbsp; , Destination), Customer, JOB_DATE, Destination),', ' ,-GP_LOCAL)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 21:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-column-1-value-in-expression/m-p/901255#M992570</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-22T21:47:22Z</dc:date>
    </item>
  </channel>
</rss>

