<?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 Cost mapping to newly created fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cost-mapping-to-newly-created-fields/m-p/1769869#M454528</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about mapping costs for a project to dynamic fields and placing them in the correct cells.&lt;/P&gt;&lt;P&gt;The scenario is:&lt;/P&gt;&lt;P&gt;there are multiple projects, whose phases are determined by the milestone dates within the activities of the project&lt;/P&gt;&lt;P&gt;The costs are estimated by multiple people&lt;/P&gt;&lt;P&gt;The problem is I need to roll these costs up by they cost type (dynamic) then put them in the year month that they fall in the project.&lt;/P&gt;&lt;P&gt;I have the project phases created and costs loaded, I am trying to do something like this (in variables)&lt;/P&gt;&lt;P&gt;The costs would come in from Dept1, Dept2, Dept3.&lt;/P&gt;&lt;P&gt;I am trying to map Dept1 and Dept2 to COSTTYPE1 and Dept2 to COSTTYPE2&lt;/P&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;(This is in Variables, not a load script.)&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp;vExternal =:&lt;/P&gt;&lt;P&gt;if(COSTSOURCE = 'Dept1' OR COSTSOURCE = 'Dept3', $(Cost))&lt;/P&gt;&lt;P&gt;if(COSTSOURCE = 'Dept1' OR COSTSOURCE = 'Dept3', Cost)&lt;/P&gt;&lt;P&gt;vExternal = if(COSTSOURCE = 'Dept1' OR COSTSOURCE = 'Dept3',sum(Cost))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the cost is not coming through.&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp;if(COSTSOURCE = 'Dept1',$(Cost))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 17:45:34 GMT</pubDate>
    <dc:creator>rrrggg20</dc:creator>
    <dc:date>2020-12-21T17:45:34Z</dc:date>
    <item>
      <title>Cost mapping to newly created fields</title>
      <link>https://community.qlik.com/t5/QlikView/Cost-mapping-to-newly-created-fields/m-p/1769869#M454528</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about mapping costs for a project to dynamic fields and placing them in the correct cells.&lt;/P&gt;&lt;P&gt;The scenario is:&lt;/P&gt;&lt;P&gt;there are multiple projects, whose phases are determined by the milestone dates within the activities of the project&lt;/P&gt;&lt;P&gt;The costs are estimated by multiple people&lt;/P&gt;&lt;P&gt;The problem is I need to roll these costs up by they cost type (dynamic) then put them in the year month that they fall in the project.&lt;/P&gt;&lt;P&gt;I have the project phases created and costs loaded, I am trying to do something like this (in variables)&lt;/P&gt;&lt;P&gt;The costs would come in from Dept1, Dept2, Dept3.&lt;/P&gt;&lt;P&gt;I am trying to map Dept1 and Dept2 to COSTTYPE1 and Dept2 to COSTTYPE2&lt;/P&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;(This is in Variables, not a load script.)&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp;vExternal =:&lt;/P&gt;&lt;P&gt;if(COSTSOURCE = 'Dept1' OR COSTSOURCE = 'Dept3', $(Cost))&lt;/P&gt;&lt;P&gt;if(COSTSOURCE = 'Dept1' OR COSTSOURCE = 'Dept3', Cost)&lt;/P&gt;&lt;P&gt;vExternal = if(COSTSOURCE = 'Dept1' OR COSTSOURCE = 'Dept3',sum(Cost))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help is appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the cost is not coming through.&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp;if(COSTSOURCE = 'Dept1',$(Cost))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 17:45:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cost-mapping-to-newly-created-fields/m-p/1769869#M454528</guid>
      <dc:creator>rrrggg20</dc:creator>
      <dc:date>2020-12-21T17:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cost mapping to newly created fields</title>
      <link>https://community.qlik.com/t5/QlikView/Cost-mapping-to-newly-created-fields/m-p/1769873#M454530</link>
      <description>&lt;P&gt;stupid typo, I found it.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 18:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cost-mapping-to-newly-created-fields/m-p/1769873#M454530</guid>
      <dc:creator>rrrggg20</dc:creator>
      <dc:date>2020-12-21T18:06:48Z</dc:date>
    </item>
  </channel>
</rss>

