<?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 Measure involving Different Part Number UOM in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Measure-involving-Different-Part-Number-UOM/m-p/1607121#M45020</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to divide Order Quantity by the UOM of the corresponding Item number. the item numbers ending in E are eaches, and without the E are cases. I need to divide the EA order quantity by the Case UOM. This is coming out of a database, so the above and below expressions are not working for me yet. Unsure of what to use to see this result.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Qlik Help.png" style="width: 704px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16152i6306848424EB0A0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik Help.png" alt="Qlik Help.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(IF(pr_codenum LIKE '*E', or_ordquant)) /&lt;/P&gt;&lt;P&gt;sum(IF(pr_codenum LIKE '*E',({1&amp;lt;pr_codenum-={'*E'}&amp;gt;} [Part Number UOM])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;Tyler&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:08:04 GMT</pubDate>
    <dc:creator>tyember1</dc:creator>
    <dc:date>2024-11-16T05:08:04Z</dc:date>
    <item>
      <title>Measure involving Different Part Number UOM</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-involving-Different-Part-Number-UOM/m-p/1607121#M45020</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to divide Order Quantity by the UOM of the corresponding Item number. the item numbers ending in E are eaches, and without the E are cases. I need to divide the EA order quantity by the Case UOM. This is coming out of a database, so the above and below expressions are not working for me yet. Unsure of what to use to see this result.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Qlik Help.png" style="width: 704px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/16152i6306848424EB0A0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Qlik Help.png" alt="Qlik Help.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(IF(pr_codenum LIKE '*E', or_ordquant)) /&lt;/P&gt;&lt;P&gt;sum(IF(pr_codenum LIKE '*E',({1&amp;lt;pr_codenum-={'*E'}&amp;gt;} [Part Number UOM])))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;Tyler&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-involving-Different-Part-Number-UOM/m-p/1607121#M45020</guid>
      <dc:creator>tyember1</dc:creator>
      <dc:date>2024-11-16T05:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Measure involving Different Part Number UOM</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-involving-Different-Part-Number-UOM/m-p/1607126#M45022</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;sum( {&amp;lt; pr_codenum ={ '*E'} &amp;gt;}&amp;nbsp; or_ordquant)) /&lt;/P&gt;&lt;P&gt;count (&amp;nbsp; &amp;nbsp;Total {&amp;lt; pr_codenum ={ '*E'} &amp;gt;} &amp;gt;} [Part Number UOM])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2019 17:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-involving-Different-Part-Number-UOM/m-p/1607126#M45022</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-07-29T17:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Measure involving Different Part Number UOM</title>
      <link>https://community.qlik.com/t5/App-Development/Measure-involving-Different-Part-Number-UOM/m-p/1607690#M45084</link>
      <description>&lt;P&gt;I ended up creating a table and picking out the numbers from the item description then joining to the Item Master.&lt;BR /&gt;ex of item description:&lt;/P&gt;&lt;P&gt;pr_codenum: 60020E pr_descrip: FR Smoked Pecans 1/1lb&lt;/P&gt;&lt;P&gt;pr_codenum: 60020 pr_descrip: FR Smoked Pecans 12/1lb&lt;/P&gt;&lt;P&gt;Item_Master:&lt;BR /&gt;LOAD&lt;BR /&gt;*,&lt;BR /&gt;pr_c2id as c2_id,&lt;BR /&gt;KeepChar(replace(pr_descrip,'W/','With'),'1234567890/') as 'Part Number UOM',&lt;BR /&gt;left(pr_codenum,5) as 'CombinedPartCode',&lt;BR /&gt;pr_caid as ca_id&lt;BR /&gt;FROM [lib://Extract QVDs/TL_Item_Master.QVD]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;left join(Item_Master)&lt;BR /&gt;IM_2:&lt;BR /&gt;LOAD&lt;BR /&gt;left(pr_codenum,5) as 'CombinedPartCode',&lt;BR /&gt;(Subfield(KeepChar(replace(pr_descrip,'W/','With'),'1234567890/') ,'/',1)) as 'Case to EA UOM'&lt;BR /&gt;FROM [lib://Extract QVDs/TL_Item_Master.QVD]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now that we have the same Case to EA UOM for both the items that end in E and items that do not, I can use an expression to convert the order count from EA to Case&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 18:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Measure-involving-Different-Part-Number-UOM/m-p/1607690#M45084</guid>
      <dc:creator>tyember1</dc:creator>
      <dc:date>2019-07-30T18:38:40Z</dc:date>
    </item>
  </channel>
</rss>

