<?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: Create fields within dimension using existing fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369865#M137525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is in the loadscript, are you sure tthis is what you mean? Cause I cant type your sollution in the loadscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks René&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2012 08:00:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-27T08:00:35Z</dc:date>
    <item>
      <title>Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369859#M137519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help me, really need this solved but dont know how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading a lot of data on customer and product level. One dimension is named "Type" and contains the Fields "Sellings Costs" and "Net Sales Value" and more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension "Type" is created by a separated file, the original sales data cointains GL acounts. A group of GL Accounts creates a Type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script I first load the sales data on GL account level and already group some GL accounts when using the "+" or "-" function. So far no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want the Type "Selling Costs" /&amp;nbsp; "Net Sales Value" as "Selling Costs %". &lt;/P&gt;&lt;P&gt;The problem is that this number is put into the datatable as a fixed number. If I create a chart that shows data on a higher level than customer and product, that the values of "Selling Costs %" are being summed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I have one customer that buys two products and on both products he receives 50% Selling Costs on the Net Sales Value and I present the sales of this account in the chart but not on the product level, the outcome is 100%. This is 50% + 50%. The correct outcome is 50%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the presentation it is required that I use only one column / dimesion. The expression should also be only one colomn. So it looks something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="2" cellspacing="0" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Type&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Budget&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Actual&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Net Sales Value&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;TD&gt;90&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: left; background-color: transparent; font-family: Arial; color: #333333; padding: 2px;"&gt;Sellings Costs&lt;/TD&gt;&lt;TD style="text-align: left; background-color: transparent; font-family: Arial; color: #333333; padding: 2px;"&gt;25&lt;/TD&gt;&lt;TD style="text-align: left; background-color: transparent; font-family: Arial; color: #333333; padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: left; background-color: transparent; font-family: Arial; color: #333333; padding: 2px;"&gt;&lt;P&gt;Selling Costs %&lt;/P&gt;&lt;/TD&gt;&lt;TD style="text-align: left; background-color: transparent; font-family: Arial; color: #333333; padding: 2px;"&gt;0.25&lt;/TD&gt;&lt;TD style="text-align: left; background-color: transparent; font-family: Arial; color: #333333; padding: 2px;"&gt;0.33&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody got an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;René&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 13:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369859#M137519</guid>
      <dc:creator />
      <dc:date>2012-07-26T13:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369860#M137520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are using an expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13433193300127406" jivemacro_uid="_13433193300127406"&gt;&lt;P&gt;Sum([Selling Costs]/[Net Sales Value])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Switch to the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13433193359784195" jivemacro_uid="_13433193359784195"&gt;&lt;P&gt;Sum([Selling Costs])/sum([Net Sales Value])&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 16:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369860#M137520</guid>
      <dc:creator />
      <dc:date>2012-07-26T16:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369861#M137521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is in the loadscript, are you sure tthis is what you mean? Cause I cant type your sollution in the loadscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks Ren'e&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 08:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369861#M137521</guid>
      <dc:creator />
      <dc:date>2012-07-27T08:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369862#M137522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is in the loadscript, are you sure tthis is what you mean? Cause I cant type your sollution in the loadscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks Ren'e&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 08:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369862#M137522</guid>
      <dc:creator />
      <dc:date>2012-07-27T08:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369863#M137523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is in the loadscript, are you sure tthis is what you mean? Cause I cant type your sollution in the loadscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks Ren'e&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 08:00:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369863#M137523</guid>
      <dc:creator />
      <dc:date>2012-07-27T08:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369864#M137524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is in the loadscript, are you sure tthis is what you mean? Cause I cant type your sollution in the loadscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks Ren'e&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 08:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369864#M137524</guid>
      <dc:creator />
      <dc:date>2012-07-27T08:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369865#M137525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is in the loadscript, are you sure tthis is what you mean? Cause I cant type your sollution in the loadscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks René&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 08:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369865#M137525</guid>
      <dc:creator />
      <dc:date>2012-07-27T08:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369866#M137526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is in the loadscript, are you sure tthis is what you mean? Cause I cant type your sollution in the loadscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks René&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 08:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369866#M137526</guid>
      <dc:creator />
      <dc:date>2012-07-27T08:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369867#M137527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. This is not for load script. Can you share your data model for suggesting changes? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 08:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369867#M137527</guid>
      <dc:creator />
      <dc:date>2012-07-27T08:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create fields within dimension using existing fields</title>
      <link>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369868#M137528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You answer ws so far helpfull that I decided to build the data structure differently. Now we make the Selling Costs % in an expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to avoid this but I think its the only way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So thanks for thinking with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ren'e&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 10:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-fields-within-dimension-using-existing-fields/m-p/369868#M137528</guid>
      <dc:creator />
      <dc:date>2012-07-30T10:44:24Z</dc:date>
    </item>
  </channel>
</rss>

