<?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: Need Expression in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574034#M213820</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;At the moment everyone is pretty much guessing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to explain how to select the "base" supplier code. Is it always depot S1, or the first instance in the file or some other method? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2014 12:25:21 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2014-02-12T12:25:21Z</dc:date>
    <item>
      <title>Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574028#M213814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me solution for the below query. I need a expression in straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concept :- In my application, we have four depots (S1,S2,S3,S4). In all depots same part no available (Eg:- "A"). But Supplier code's will be differ. For S1 depot, XYZ is the supplier code. But for remaining depots (S2,S3,S4) -- &amp;gt; S1 is the supplier code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I need to create a straight table , where I need to show the base supplier code. Hope you ppl understand my query. Please provide solution asap. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample data :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Exp.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/53001_Exp.jpg" style="width: 620px; height: 348px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 09:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574028#M213814</guid>
      <dc:creator />
      <dc:date>2014-02-12T09:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574029#M213815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attach sample qvw &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 10:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574029#M213815</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2014-02-12T10:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574030#M213816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&amp;nbsp; Below expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only(SUPPLIER CODE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 10:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574030#M213816</guid>
      <dc:creator>kiranmanoharrode</dc:creator>
      <dc:date>2014-02-12T10:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574031#M213817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a tricky one if you have only two supplier. ie s1 and XYZ. But if you have multiple supplier, then have to think in different way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 10:44:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574031#M213817</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-02-12T10:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574032#M213818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reenaabraham,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write this in expression for calculating Supplier:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Supplier,'S1','XYZ')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 11:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574032#M213818</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-02-12T11:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574033#M213819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've a solution that can work for multiple DEPOT and Supplier data.&lt;/P&gt;&lt;P&gt;1. I've created a sample data like below.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dptsupp.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53019_dptsupp.png" /&gt;&lt;/P&gt;&lt;P&gt;2. Objective is to create another field in the script as NEWSUPP which will have values like below&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dptsupp1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53020_dptsupp1.png" /&gt;&lt;/P&gt;&lt;P&gt;3. This is how you can do it at script level.&lt;/P&gt;&lt;P&gt;dptmap:&lt;/P&gt;&lt;P&gt;Mapping LOAD&lt;/P&gt;&lt;P&gt;DEPOT,SUPPLIER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;dEPOTsUPPLIER.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dpt:&lt;/P&gt;&lt;P&gt;LOAD DEPOT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PART,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUPPLIER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('dptmap',SUPPLIER,SUPPLIER) as NWSUPP&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;dEPOTsUPPLIER.xlsx (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. In the UI your straight table may use the new field NWSUPP.&lt;/P&gt;&lt;P&gt;Attached xls and QVW are for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 12:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574033#M213819</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-02-12T12:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574034#M213820</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;At the moment everyone is pretty much guessing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to explain how to select the "base" supplier code. Is it always depot S1, or the first instance in the file or some other method? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 12:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574034#M213820</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-02-12T12:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574035#M213821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late response.&lt;/P&gt;&lt;P&gt;In my case, I have 50 k parts with different supplier code's. Base supplier is S1 only in all case's.&lt;/P&gt;&lt;P&gt;Please find my requirement below.&amp;nbsp; Please let me know the solution for same. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Supplier.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/53182_Supplier.jpg" style="width: 620px; height: 348px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 10:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574035#M213821</guid>
      <dc:creator />
      <dc:date>2014-02-14T10:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574036#M213822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If there is only 1 part then your solution is fine. But in my case, I have many parts. Please find my reply for the requirement. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 10:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574036#M213822</guid>
      <dc:creator />
      <dc:date>2014-02-14T10:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Need Expression in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574037#M213823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you may try the composite key that means considering DEPOT and PART as a single field.&lt;/P&gt;&lt;P&gt;Please find the attached QVW. Given below is how it looks in QlikView.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dptsupp2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53198_dptsupp2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 11:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Expression-in-straight-table/m-p/574037#M213823</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-02-14T11:15:56Z</dc:date>
    </item>
  </channel>
</rss>

