<?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: Calculate metric based  on two measures from different tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-metric-based-on-two-measures-from-different-tables/m-p/2480620#M100730</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35369"&gt;@florian_kloster&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;you may need to create a common time dimension that can be linked to both tables. You can find many posts about Master Calendar here in the community, like this for example:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/How-to-Create-Master-Calendar/td-p/103109" target="_blank"&gt;Solved: How to Create Master Calendar ? - Qlik Community - 103109&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 08:16:48 GMT</pubDate>
    <dc:creator>F_B</dc:creator>
    <dc:date>2024-09-10T08:16:48Z</dc:date>
    <item>
      <title>Calculate metric based  on two measures from different tables</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-metric-based-on-two-measures-from-different-tables/m-p/2142343#M92928</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have a quick question regrading my attempt to combine two metrics into one KPI from different tables.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;first metric:&lt;/STRONG&gt;&lt;BR /&gt;sum(aggr(sum({$&amp;lt;OPPORTUNITY_BUSINESS_UNIT={$(vBusiness_Unit)}&amp;gt;} OPPORTUNITY_TOTAL_OPPORTUNITY_QUANTITY), AGGREGATION_IDENTIFIER, OPPORTUNITY_CREATED_DATE_YEAR)*AGGREGATION_WEIGHTING_POSTAL_CODE)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;second metric:&lt;/STRONG&gt;&lt;BR /&gt;sum(REGISTERED_ELEVATORS_NEW)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;What I want to achive:&lt;BR /&gt;&lt;/STRONG&gt;I want to calculate first metric / second metric and display this as a line chart by a time-dimension.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;BR /&gt;Both metrics are from different tables and therefore have different time related fields. I could calculate the first metric and join it on the second data source, but this would be less preferable since the calculation is relatively complex.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question:&lt;BR /&gt;&lt;/STRONG&gt;Is there any way to combine both metrics and show the result in a line chart, even though both have different time related fields?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Florian&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 11:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-metric-based-on-two-measures-from-different-tables/m-p/2142343#M92928</guid>
      <dc:creator>florian_kloster</dc:creator>
      <dc:date>2023-11-29T11:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate metric based  on two measures from different tables</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-metric-based-on-two-measures-from-different-tables/m-p/2480620#M100730</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35369"&gt;@florian_kloster&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;you may need to create a common time dimension that can be linked to both tables. You can find many posts about Master Calendar here in the community, like this for example:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/How-to-Create-Master-Calendar/td-p/103109" target="_blank"&gt;Solved: How to Create Master Calendar ? - Qlik Community - 103109&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 08:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-metric-based-on-two-measures-from-different-tables/m-p/2480620#M100730</guid>
      <dc:creator>F_B</dc:creator>
      <dc:date>2024-09-10T08:16:48Z</dc:date>
    </item>
  </channel>
</rss>

