<?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 find a value based on condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-find-a-value-based-on-condition/m-p/1242810#M24715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help in finding out the Rating of a particular ID based on a condition.&lt;/P&gt;&lt;P&gt;Current table is in the below format &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="192"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Rater&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Rating&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;X123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;S&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;X123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Moody&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;AA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;X123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fitch&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;AA+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Y123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Moody&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BB+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Y123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;D&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Z123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;DBRS&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Z123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;D&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Z123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;S&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;A123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Moody&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;B123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Kroll&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;AA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;B123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;D&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Aaa&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now , i want to find the "Rating" for a particular "ID" based on a below condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;Use S&amp;amp;P&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If &lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;S&amp;amp;P &lt;/SPAN&gt;unavailable, Use Moody&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If&amp;nbsp; (&lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;S&amp;amp;P&amp;nbsp; and Moody) are &lt;/SPAN&gt;unavailable, Use Fitch&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If (&lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;S&amp;amp;P and Moody and Fitch) are &lt;/SPAN&gt;unavailable, Use Kroll&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;if &lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;S&amp;amp;P and Moody and Fitch and Kroll) are &lt;/SPAN&gt; unavailable, Use AM Best&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If unavailable, Use DBRS&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If unavailable, Use Egan Jones&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If unavailable, Use D&amp;amp;P&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So output i'm looking at is&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="192"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="64"&gt;ID&lt;/TD&gt;&lt;TD width="64"&gt;Rater&lt;/TD&gt;&lt;TD width="64"&gt;Rating&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;X123&lt;/TD&gt;&lt;TD&gt;S&amp;amp;P&lt;/TD&gt;&lt;TD&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Y123&lt;/TD&gt;&lt;TD&gt;Moody&lt;/TD&gt;&lt;TD&gt;BB+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Z123&lt;/TD&gt;&lt;TD&gt;S&amp;amp;P&lt;/TD&gt;&lt;TD&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;A123&lt;/TD&gt;&lt;TD&gt;Moody&lt;/TD&gt;&lt;TD&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;B123&lt;/TD&gt;&lt;TD&gt;Kroll&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me how to get to this point .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Nov 2016 15:01:50 GMT</pubDate>
    <dc:creator>spavankumar1980</dc:creator>
    <dc:date>2016-11-13T15:01:50Z</dc:date>
    <item>
      <title>How to find a value based on condition</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-value-based-on-condition/m-p/1242810#M24715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help in finding out the Rating of a particular ID based on a condition.&lt;/P&gt;&lt;P&gt;Current table is in the below format &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="192"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" width="64"&gt;ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Rater&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Rating&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;X123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;S&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;X123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Moody&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;AA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;X123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Fitch&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;AA+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Y123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Moody&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BB+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Y123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;D&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;BB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Z123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;DBRS&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Z123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;D&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;Z123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;S&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;A123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Moody&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;B123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Kroll&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;AA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;B123&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;D&amp;amp;P&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;Aaa&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now , i want to find the "Rating" for a particular "ID" based on a below condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;Use S&amp;amp;P&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If &lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;S&amp;amp;P &lt;/SPAN&gt;unavailable, Use Moody&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If&amp;nbsp; (&lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;S&amp;amp;P&amp;nbsp; and Moody) are &lt;/SPAN&gt;unavailable, Use Fitch&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If (&lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;S&amp;amp;P and Moody and Fitch) are &lt;/SPAN&gt;unavailable, Use Kroll&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;if &lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman', serif; font-size: 16px;"&gt;S&amp;amp;P and Moody and Fitch and Kroll) are &lt;/SPAN&gt; unavailable, Use AM Best&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If unavailable, Use DBRS&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If unavailable, Use Egan Jones&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: black;"&gt;If unavailable, Use D&amp;amp;P&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So output i'm looking at is&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="192"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="64"&gt;ID&lt;/TD&gt;&lt;TD width="64"&gt;Rater&lt;/TD&gt;&lt;TD width="64"&gt;Rating&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;X123&lt;/TD&gt;&lt;TD&gt;S&amp;amp;P&lt;/TD&gt;&lt;TD&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Y123&lt;/TD&gt;&lt;TD&gt;Moody&lt;/TD&gt;&lt;TD&gt;BB+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;Z123&lt;/TD&gt;&lt;TD&gt;S&amp;amp;P&lt;/TD&gt;&lt;TD&gt;AAA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;A123&lt;/TD&gt;&lt;TD&gt;Moody&lt;/TD&gt;&lt;TD&gt;A+&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19"&gt;B123&lt;/TD&gt;&lt;TD&gt;Kroll&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me how to get to this point .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2016 15:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-value-based-on-condition/m-p/1242810#M24715</guid>
      <dc:creator>spavankumar1980</dc:creator>
      <dc:date>2016-11-13T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a value based on condition</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-value-based-on-condition/m-p/1242811#M24716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can add a table (Z2) to your data to sort the Rater&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Z1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ID, Rater, Rating&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;X123, S&amp;amp;P, A+&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;X123, Moody, AA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;X123, Fitch, AA+&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Y123, Moody, BB+&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Y123, D&amp;amp;P, BB&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Z123, DBRS, A+&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Z123, D&amp;amp;P, A+&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Z123, S&amp;amp;P, AAA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A123, Moody, A+&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;B123, Kroll, AA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;B123, D&amp;amp;P, Aaa&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Z2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rater, RaterOrder&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;S&amp;amp;P, 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Moody, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Fitch, 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Kroll, 4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AM Best, 5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DBRS, 6&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Egan Jones, 7&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;D&amp;amp;P, 8&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and these expressions in the chart:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FirstSortedValue(Rater, RaterOrder)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FirstSortedValue(Rating, RaterOrder)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2016 16:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-value-based-on-condition/m-p/1242811#M24716</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-11-13T16:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to find a value based on condition</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-a-value-based-on-condition/m-p/1242812#M24717</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;Try below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;ID, Rater, Rating&lt;/P&gt;&lt;P&gt;X123, S&amp;amp;P, A+&lt;/P&gt;&lt;P&gt;X123, Moody, AA&lt;/P&gt;&lt;P&gt;X123, Fitch, AA+&lt;/P&gt;&lt;P&gt;Y123, Moody, BB+&lt;/P&gt;&lt;P&gt;Y123, D&amp;amp;P, BB&lt;/P&gt;&lt;P&gt;Z123, DBRS, A+&lt;/P&gt;&lt;P&gt;Z123, D&amp;amp;P, A+&lt;/P&gt;&lt;P&gt;Z123, S&amp;amp;P, AAA&lt;/P&gt;&lt;P&gt;A123, Moody, A+&lt;/P&gt;&lt;P&gt;B123, Kroll, AA&lt;/P&gt;&lt;P&gt;B123, D&amp;amp;P, AAA&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left join (Data)&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;Rater, Priority&lt;/P&gt;&lt;P&gt;S&amp;amp;P,1&lt;/P&gt;&lt;P&gt;Moody,2&lt;/P&gt;&lt;P&gt;Fitch,3&lt;/P&gt;&lt;P&gt;Kroll,4&lt;/P&gt;&lt;P&gt;DBRS,5&lt;/P&gt;&lt;P&gt;Egan Jones,6&lt;/P&gt;&lt;P&gt;D&amp;amp;P,7&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;/P&gt;&lt;P&gt;Load ID as ID1, FirstSortedValue(Rating,Priority) as Rating1, FirstSortedValue(Rater,Priority) as Rater1&lt;/P&gt;&lt;P&gt;Resident Data Group by ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2016 16:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-a-value-based-on-condition/m-p/1242812#M24717</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-11-13T16:44:52Z</dc:date>
    </item>
  </channel>
</rss>

