<?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: Calculation in the Data-editor in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculation-in-the-Data-editor/m-p/778081#M10907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You got a circular reference since you have too many keys. Read &lt;A href="https://community.qlik.com/qlik-blogpost/3178"&gt;Circular References&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your data model is really the same as a "Slowly changing dimension" where you have both an interval key, and an additional key: Tarif. Read more in &lt;A href="https://community.qlik.com/qlik-blogpost/3148"&gt;Slowly Changing Dimensions&lt;/A&gt; and &lt;A href="https://community.qlik.com/docs/DOC-4310"&gt;IntervalMatch and Slowly Changing Dimensions&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, try the attached script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 09:32:43 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2015-03-25T09:32:43Z</dc:date>
    <item>
      <title>Calculation in the Data-editor</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-in-the-Data-editor/m-p/778078#M10904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/H1&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one week ago i opend a discussion with the title &lt;/P&gt;&lt;P&gt;"calculate of a new KPI doesn't work".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fortunately we found a solution for my problem. &lt;/P&gt;&lt;P&gt;the calculated KPI was called PriceCalc&lt;/P&gt;&lt;P&gt;sum(if(ConsumptionFrom&amp;lt;=Consumption and Consumption&amp;lt;=ConsumptionTo, BasicRate+EnergyRate*Consumption,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to know if i can calculate my values also in the data-editor???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pic3.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81654_pic3.PNG" style="height: 370px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards, rico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 12:13:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-in-the-Data-editor/m-p/778078#M10904</guid>
      <dc:creator />
      <dc:date>2015-03-24T12:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in the Data-editor</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-in-the-Data-editor/m-p/778079#M10905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can. But, you need a "Group By" in your load statement. Further, you will get static values that don't change as you make selections. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, what you do in your formula is a "between" comparison. You should look at &lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt; before you create your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 20:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-in-the-Data-editor/m-p/778079#M10905</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-24T20:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in the Data-editor</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-in-the-Data-editor/m-p/778080#M10906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the IntervallMatch yield the following error:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pic4.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/81818_pic4.PNG" style="height: 533px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;the 'group by' statement is known from the sql-syntax. but i can not transfer it into the qlik sense syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another question is: should i calculate my values in excel before&amp;nbsp; starting with Qlik Sense? because it is an BI-Tool and now 'Calculation-Tool'??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards, rico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 08:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-in-the-Data-editor/m-p/778080#M10906</guid>
      <dc:creator />
      <dc:date>2015-03-25T08:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in the Data-editor</title>
      <link>https://community.qlik.com/t5/App-Development/Calculation-in-the-Data-editor/m-p/778081#M10907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You got a circular reference since you have too many keys. Read &lt;A href="https://community.qlik.com/qlik-blogpost/3178"&gt;Circular References&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your data model is really the same as a "Slowly changing dimension" where you have both an interval key, and an additional key: Tarif. Read more in &lt;A href="https://community.qlik.com/qlik-blogpost/3148"&gt;Slowly Changing Dimensions&lt;/A&gt; and &lt;A href="https://community.qlik.com/docs/DOC-4310"&gt;IntervalMatch and Slowly Changing Dimensions&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, try the attached script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 09:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculation-in-the-Data-editor/m-p/778081#M10907</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-25T09:32:43Z</dc:date>
    </item>
  </channel>
</rss>

