<?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: Problem with calculations of costs and sells in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087416#M927785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your data is not consistent. May be you need to change your data model. Dim2 dimesion is not associated with cost value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 11:05:25 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2016-03-29T11:05:25Z</dc:date>
    <item>
      <title>Problem with calculations of costs and sells</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087413#M927779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings, i wonder if you could help me solve my problem here...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table where i have the following result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="file1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119650_file1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i would like to have it should be something like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/119660_Screenshot_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, i'm having problems on the association of the values by the name because the values aren't directly associated in the model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me&lt;/P&gt;&lt;P&gt;Best regards, Simão Ribeiro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087413#M927779</guid>
      <dc:creator>slribeiro</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with calculations of costs and sells</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087414#M927781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;share sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are component1....... component6 values present in both dim1 and dim2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 11:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087414#M927781</guid>
      <dc:creator>tyagishaila</dc:creator>
      <dc:date>2016-03-29T11:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with calculations of costs and sells</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087415#M927783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does your model look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 11:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087415#M927783</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2016-03-29T11:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with calculations of costs and sells</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087416#M927785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your data is not consistent. May be you need to change your data model. Dim2 dimesion is not associated with cost value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 11:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087416#M927785</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-29T11:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with calculations of costs and sells</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087417#M927787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Mapping LOAD&lt;/P&gt;&lt;P&gt; dim1,&lt;/P&gt;&lt;P&gt;costvalue&lt;/P&gt;&lt;P&gt;from table where &lt;/P&gt;&lt;P&gt;dim1 like 'component*';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;LOAD &lt;SPAN style="font-size: 13.3333px;"&gt; dim1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;dim2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Applymap('Temp',&lt;SPAN style="font-size: 13.3333px;"&gt;dim2) as costvalue,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sellvalue;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;from table &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;dim1 like 'product*';&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 11:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087417#M927787</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-29T11:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with calculations of costs and sells</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087418#M927789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like Your Model is not linked properly.&amp;nbsp; Please check the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 11:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087418#M927789</guid>
      <dc:creator>dusasuman</dc:creator>
      <dc:date>2016-03-29T11:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with calculations of costs and sells</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087419#M927791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;During the load, you could build a mapping table for the cost values for the components and then use ApplyMap to assign the costs to the products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option would be to load the components with their costs in a separate table and associate the components to the products via the component ID. Then in a table using the products (and optionally the components) as dimensions, you could simply sum the costs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 11:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-calculations-of-costs-and-sells/m-p/1087419#M927791</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-29T11:12:29Z</dc:date>
    </item>
  </channel>
</rss>

