<?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 Calculating a Migration Table by Aggregating Changes in Dimensional Parameters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-a-Migration-Table-by-Aggregating-Changes-in/m-p/580898#M478858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create the following excel chart in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I intend to use it to show how PD Grades(probability of defaults) have migrated this year(or any selected year) relative to the year prior.&amp;nbsp; Using a 15 grade PD scale, and assuming that a particular loan is currently ranked 7 in 2014 and was ranked 5 in 2013, it would be counted in the cell PD Grade 7,PD Migration -2 (higher PD's are bad).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm ultmately trying to count the number of loans that have moved over the last 12 month and how far each has moved.&amp;nbsp; I'm looking for a home for each one of my 80,000+ loans somewhere in this chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I'm having(at least I think this is the problem) is that my dimension, PD Grade, is ultimately what I'm trying to compute differences for, at the individual account level.&amp;nbsp; So when I try using the following formula to calculate the difference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({$&amp;lt;Year = {$(#=Only(year-1)}&amp;gt;}PD) - only({$&amp;lt;Year = {$(#=Only(Year))}&amp;gt;}PD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get differences of zero across the board. If I remove PD as my dimension and use account number, for example, it works fine but then my dimension isn't helpful(I have a list of 80,000+rows vs the 15 that I want).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may not be the most clear problem but any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2014 19:13:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-27T19:13:46Z</dc:date>
    <item>
      <title>Calculating a Migration Table by Aggregating Changes in Dimensional Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Migration-Table-by-Aggregating-Changes-in/m-p/580898#M478858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create the following excel chart in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I intend to use it to show how PD Grades(probability of defaults) have migrated this year(or any selected year) relative to the year prior.&amp;nbsp; Using a 15 grade PD scale, and assuming that a particular loan is currently ranked 7 in 2014 and was ranked 5 in 2013, it would be counted in the cell PD Grade 7,PD Migration -2 (higher PD's are bad).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm ultmately trying to count the number of loans that have moved over the last 12 month and how far each has moved.&amp;nbsp; I'm looking for a home for each one of my 80,000+ loans somewhere in this chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I'm having(at least I think this is the problem) is that my dimension, PD Grade, is ultimately what I'm trying to compute differences for, at the individual account level.&amp;nbsp; So when I try using the following formula to calculate the difference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({$&amp;lt;Year = {$(#=Only(year-1)}&amp;gt;}PD) - only({$&amp;lt;Year = {$(#=Only(Year))}&amp;gt;}PD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get differences of zero across the board. If I remove PD as my dimension and use account number, for example, it works fine but then my dimension isn't helpful(I have a list of 80,000+rows vs the 15 that I want).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may not be the most clear problem but any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 19:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Migration-Table-by-Aggregating-Changes-in/m-p/580898#M478858</guid>
      <dc:creator />
      <dc:date>2014-02-27T19:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating a Migration Table by Aggregating Changes in Dimensional Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-a-Migration-Table-by-Aggregating-Changes-in/m-p/580899#M478859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you have to use aggr function to calculate the differences for each account number and then use some aggregation to get the value for the whole PD Grade.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 19:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-a-Migration-Table-by-Aggregating-Changes-in/m-p/580899#M478859</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2014-02-27T19:36:54Z</dc:date>
    </item>
  </channel>
</rss>

