<?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 Amalgamate Two Dimensions into One that represents different Expressions on the same line in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Amalgamate-Two-Dimensions-into-One-that-represents-different/m-p/559667#M208888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;I sit with the following scenario that I just cannot get a solution for:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;I need to calculate a Loss Ratio (ClaimAmt/Premium).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Dimension: CalcPeriod&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Expressions: ClaimAmt, Premium, LossRatioPerc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;The trick however is to get the correct sum of the ClaimAmt and the Premium on the same line, trying to aggregate it with a single amalgamated period Dimension that I called the “CalcPeriod”, which in the case of the ClaimAmt is the DateOfLossPeriod and in the case of the Premium, is the FinancialPeriod. (Both the Periods have a many to many relationship and cannot be linked to each other as they are two &lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;totally &lt;/SPAN&gt;separate entities.) A financial Period may have a few DateOfLossPeriods associated with it and a DateOfLossPeriod may have a few FinancialPeriods associated with it. The trick that I have to get right is to have ONLY ONE dimension set that amalgamates the two periods in one column called CalcPeriod, which will range from say M01Y2013 to M12Y2013 that will REPRESENT BOTH the FinancialPeriod for the Premium Expression Column and the DateOfLossPeriod for the Claim Expression Column on the same line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Any help will be highly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;J&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 11:56:42 GMT</pubDate>
    <dc:creator>JohannEls</dc:creator>
    <dc:date>2013-10-15T11:56:42Z</dc:date>
    <item>
      <title>Amalgamate Two Dimensions into One that represents different Expressions on the same line</title>
      <link>https://community.qlik.com/t5/QlikView/Amalgamate-Two-Dimensions-into-One-that-represents-different/m-p/559667#M208888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;I sit with the following scenario that I just cannot get a solution for:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;I need to calculate a Loss Ratio (ClaimAmt/Premium).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Dimension: CalcPeriod&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Expressions: ClaimAmt, Premium, LossRatioPerc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;The trick however is to get the correct sum of the ClaimAmt and the Premium on the same line, trying to aggregate it with a single amalgamated period Dimension that I called the “CalcPeriod”, which in the case of the ClaimAmt is the DateOfLossPeriod and in the case of the Premium, is the FinancialPeriod. (Both the Periods have a many to many relationship and cannot be linked to each other as they are two &lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;totally &lt;/SPAN&gt;separate entities.) A financial Period may have a few DateOfLossPeriods associated with it and a DateOfLossPeriod may have a few FinancialPeriods associated with it. The trick that I have to get right is to have ONLY ONE dimension set that amalgamates the two periods in one column called CalcPeriod, which will range from say M01Y2013 to M12Y2013 that will REPRESENT BOTH the FinancialPeriod for the Premium Expression Column and the DateOfLossPeriod for the Claim Expression Column on the same line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Any help will be highly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size: 14px; background-color: #dadee0;"&gt;J&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 11:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Amalgamate-Two-Dimensions-into-One-that-represents-different/m-p/559667#M208888</guid>
      <dc:creator>JohannEls</dc:creator>
      <dc:date>2013-10-15T11:56:42Z</dc:date>
    </item>
  </channel>
</rss>

