<?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 Sum of Costs associated with Item Issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-of-Costs-associated-with-Item-Issue/m-p/1827798#M68153</link>
    <description>&lt;P&gt;I am struggling to set up a sum of Costs by Inspector. I've tried these and many others on the forums and youtube. I am happy to pay the person who can solve my problem $75 via PayPal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current setup:&lt;/P&gt;&lt;P&gt;Dimension "QB" is&amp;nbsp;=&lt;SPAN&gt;if&lt;/SPAN&gt; (&lt;SPAN&gt;Match&lt;/SPAN&gt;(&lt;SPAN&gt;[Transactions.Item Type]&lt;/SPAN&gt;, 'ServiceItem', 'InventoryItem', 'InventoryAssemblyItem', 'NonInventoryItem', 'OtherChargeItem', 'DiscountItem') &lt;SPAN&gt;and&lt;/SPAN&gt; &lt;SPAN&gt;Match&lt;/SPAN&gt;(&lt;SPAN&gt;[Transactions.Txn Type]&lt;/SPAN&gt;, 'Invoice'), &lt;SPAN&gt;[Transactions.Item Type]&lt;/SPAN&gt;)&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Dimension "Item" &amp;nbsp;is Transactions.Item Full Name&lt;/P&gt;&lt;P&gt;Dimension "Type" is =&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;[Transactions.Inventory Table]&lt;SPAN&gt; = 0) &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;Transactions.Pending&lt;SPAN&gt; = 0 &lt;/SPAN&gt;&lt;SPAN&gt;or&lt;/SPAN&gt; &lt;SPAN&gt;IsNull&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;Transactions.Pending&lt;SPAN&gt;)) &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt; &lt;SPAN&gt;Match&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;[Transactions.Txn Type]&lt;SPAN&gt;, 'Invoice','Sales Receipt', 'Credit Memo', 'Charge', 'ARRefundCreditCard'), &lt;/SPAN&gt;[Transactions.Line Items Txn Type]&lt;SPAN&gt;)&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expression "Fee" is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;[Item.Purchase Cost]&lt;SPAN&gt;)&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;I did this because&amp;nbsp;I have no data on the transactions.cost field&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is what I've tried.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Aggr&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;[Transactions.Class Name]&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;[Fee]&lt;SPAN&gt;,&lt;/SPAN&gt;[Transactions.Item Full Name]&lt;SPAN&gt;,&lt;/SPAN&gt;[Transactions.Class Name]&lt;SPAN&gt;))&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and all combinations thereof, I've pushed Dimensions to Expressions to see if one will help calculate the Fee column.&lt;/P&gt;&lt;P&gt;I don't know if this is a currency or amount issue, but the Transactions.Amount with Sign isn't populating any results.&lt;/P&gt;&lt;P&gt;I've tried the basic functions as well and i'm not sure how to get the total to add up correctly.&lt;/P&gt;&lt;P&gt;I appreciate any help!&lt;/P&gt;</description>
    <pubDate>Thu, 12 Aug 2021 21:42:31 GMT</pubDate>
    <dc:creator>ambventure</dc:creator>
    <dc:date>2021-08-12T21:42:31Z</dc:date>
    <item>
      <title>Sum of Costs associated with Item Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-Costs-associated-with-Item-Issue/m-p/1827798#M68153</link>
      <description>&lt;P&gt;I am struggling to set up a sum of Costs by Inspector. I've tried these and many others on the forums and youtube. I am happy to pay the person who can solve my problem $75 via PayPal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current setup:&lt;/P&gt;&lt;P&gt;Dimension "QB" is&amp;nbsp;=&lt;SPAN&gt;if&lt;/SPAN&gt; (&lt;SPAN&gt;Match&lt;/SPAN&gt;(&lt;SPAN&gt;[Transactions.Item Type]&lt;/SPAN&gt;, 'ServiceItem', 'InventoryItem', 'InventoryAssemblyItem', 'NonInventoryItem', 'OtherChargeItem', 'DiscountItem') &lt;SPAN&gt;and&lt;/SPAN&gt; &lt;SPAN&gt;Match&lt;/SPAN&gt;(&lt;SPAN&gt;[Transactions.Txn Type]&lt;/SPAN&gt;, 'Invoice'), &lt;SPAN&gt;[Transactions.Item Type]&lt;/SPAN&gt;)&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Dimension "Item" &amp;nbsp;is Transactions.Item Full Name&lt;/P&gt;&lt;P&gt;Dimension "Type" is =&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;((&lt;/SPAN&gt;[Transactions.Inventory Table]&lt;SPAN&gt; = 0) &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;Transactions.Pending&lt;SPAN&gt; = 0 &lt;/SPAN&gt;&lt;SPAN&gt;or&lt;/SPAN&gt; &lt;SPAN&gt;IsNull&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;Transactions.Pending&lt;SPAN&gt;)) &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt; &lt;SPAN&gt;Match&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;[Transactions.Txn Type]&lt;SPAN&gt;, 'Invoice','Sales Receipt', 'Credit Memo', 'Charge', 'ARRefundCreditCard'), &lt;/SPAN&gt;[Transactions.Line Items Txn Type]&lt;SPAN&gt;)&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Expression "Fee" is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;[Item.Purchase Cost]&lt;SPAN&gt;)&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt;I did this because&amp;nbsp;I have no data on the transactions.cost field&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is what I've tried.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;Aggr&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Sum&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;[Transactions.Class Name]&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;[Fee]&lt;SPAN&gt;,&lt;/SPAN&gt;[Transactions.Item Full Name]&lt;SPAN&gt;,&lt;/SPAN&gt;[Transactions.Class Name]&lt;SPAN&gt;))&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and all combinations thereof, I've pushed Dimensions to Expressions to see if one will help calculate the Fee column.&lt;/P&gt;&lt;P&gt;I don't know if this is a currency or amount issue, but the Transactions.Amount with Sign isn't populating any results.&lt;/P&gt;&lt;P&gt;I've tried the basic functions as well and i'm not sure how to get the total to add up correctly.&lt;/P&gt;&lt;P&gt;I appreciate any help!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 21:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-Costs-associated-with-Item-Issue/m-p/1827798#M68153</guid>
      <dc:creator>ambventure</dc:creator>
      <dc:date>2021-08-12T21:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Costs associated with Product Item</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-Costs-associated-with-Item-Issue/m-p/1827840#M68158</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/147309"&gt;@ambventure&lt;/a&gt;&amp;nbsp; what is the expected total?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 21:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-Costs-associated-with-Item-Issue/m-p/1827840#M68158</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-08-10T21:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of Costs associated with Product Item</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-of-Costs-associated-with-Item-Issue/m-p/1827846#M68161</link>
      <description>&lt;P&gt;The total should be &amp;nbsp;370 instead of 150&lt;/P&gt;&lt;P&gt;My chart is trying to add up associated cost per item instead of a cost per invoice by Inspector.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 22:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-of-Costs-associated-with-Item-Issue/m-p/1827846#M68161</guid>
      <dc:creator>ambventure</dc:creator>
      <dc:date>2021-08-10T22:22:38Z</dc:date>
    </item>
  </channel>
</rss>

