<?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 How to create a Index Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-create-a-Index-Chart/m-p/2061978#M87105</link>
    <description>&lt;P&gt;Dear Colleagues,&lt;/P&gt;
&lt;P&gt;I'm trying to create a Index chart&lt;SPAN&gt;&amp;nbsp;based on 2 different dimension (year and fuel type).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The idea is to analyze and monitoring how the average cost of the car are developped during the year and split it between fuel type (e.g. petrol, diesel, electric etc.)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The issue is the denominator because the total function, aggregate the cost for the year, but don't divide to fuel type, below the formula used:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(sum( total {&amp;lt; WA_TYPE -= {'RIC'},[End_Date.autoCalendar.Month]=, TOTAL_AMOUNT_WA = {"&amp;lt;=$(vMaxCost)&amp;gt;=$(vMinCost)"} &amp;gt;} if(Year(DATA_AUTORIZZAZIONE_WA)=min(total Year(DATA_AUTORIZZAZIONE_WA)), TOTAL_AMOUNT_WA))&lt;BR /&gt;/&lt;BR /&gt;Count( total DISTINCT {&amp;lt; WA_TYPE -= {'RIC'},[End_Date.autoCalendar.Month]= , TOTAL_AMOUNT_WA = {"&amp;lt;=$(vMaxCost)&amp;gt;=$(vMinCost)"} &amp;gt;} if(Year(DATE_AUTHORITY_WA)=min(total Year(DATE_AUTHORITY_WA)), NUMERO_WA)))&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How can resolve it?&amp;nbsp; In attached the result of this formula&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2023 10:57:51 GMT</pubDate>
    <dc:creator>Brunei</dc:creator>
    <dc:date>2023-04-19T10:57:51Z</dc:date>
    <item>
      <title>How to create a Index Chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-Index-Chart/m-p/2061978#M87105</link>
      <description>&lt;P&gt;Dear Colleagues,&lt;/P&gt;
&lt;P&gt;I'm trying to create a Index chart&lt;SPAN&gt;&amp;nbsp;based on 2 different dimension (year and fuel type).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The idea is to analyze and monitoring how the average cost of the car are developped during the year and split it between fuel type (e.g. petrol, diesel, electric etc.)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The issue is the denominator because the total function, aggregate the cost for the year, but don't divide to fuel type, below the formula used:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(sum( total {&amp;lt; WA_TYPE -= {'RIC'},[End_Date.autoCalendar.Month]=, TOTAL_AMOUNT_WA = {"&amp;lt;=$(vMaxCost)&amp;gt;=$(vMinCost)"} &amp;gt;} if(Year(DATA_AUTORIZZAZIONE_WA)=min(total Year(DATA_AUTORIZZAZIONE_WA)), TOTAL_AMOUNT_WA))&lt;BR /&gt;/&lt;BR /&gt;Count( total DISTINCT {&amp;lt; WA_TYPE -= {'RIC'},[End_Date.autoCalendar.Month]= , TOTAL_AMOUNT_WA = {"&amp;lt;=$(vMaxCost)&amp;gt;=$(vMinCost)"} &amp;gt;} if(Year(DATE_AUTHORITY_WA)=min(total Year(DATE_AUTHORITY_WA)), NUMERO_WA)))&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How can resolve it?&amp;nbsp; In attached the result of this formula&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 10:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-Index-Chart/m-p/2061978#M87105</guid>
      <dc:creator>Brunei</dc:creator>
      <dc:date>2023-04-19T10:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Index Chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-Index-Chart/m-p/2062006#M87106</link>
      <description>&lt;P&gt;Depends on waht kind of index. First you have to decide if you want it to be a weighted average price index, or the kind you index to 100, and let go from there. I think there's another kind too, i forget, but the two i mentioned are teh most common. The SP500 is a market weighted index while the Dow 30 is the other kind.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 11:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-Index-Chart/m-p/2062006#M87106</guid>
      <dc:creator>paimon9</dc:creator>
      <dc:date>2023-04-19T11:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Index Chart</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-Index-Chart/m-p/2062018#M87108</link>
      <description>&lt;P&gt;It's not necessary&amp;nbsp;&lt;SPAN&gt;weighted index, I need index to 100&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 12:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-Index-Chart/m-p/2062018#M87108</guid>
      <dc:creator>Brunei</dc:creator>
      <dc:date>2023-04-19T12:11:43Z</dc:date>
    </item>
  </channel>
</rss>

