<?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: lookup based on dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173280#M522257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax checker is not the most reliable part in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There were some recent changes in the checker, in my V12 version, it's not marked as error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as a general rule, if in doubt, just press OK and check the result of the expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Jun 2016 11:04:42 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-12T11:04:42Z</dc:date>
    <item>
      <title>lookup based on dimension</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173277#M522251</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 have a set of transaction data in a stock market. my goal is to find the latest transaction date in Persian (Jalali) format. since qlikview doesn't recognize the date format, I've bound Persian format to Gregorian one, and I'm trying to lookup Persian date with maximum Gregorian date for each customer as dimension. However my tries has been failed.&lt;/P&gt;&lt;P&gt;I've tried combination of only and max in set analysis but it failed since set analysis doesn't care about dimension...&lt;/P&gt;&lt;P&gt;I've also tried FirstSortedValue to no avail since it could be more than just one transaction in the last date.&lt;/P&gt;&lt;P&gt;I'd be glad if anyone knew a solution to the problem.&lt;/P&gt;&lt;P&gt;PS. I have attached a sample file...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jun 2016 12:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173277#M522251</guid>
      <dc:creator />
      <dc:date>2016-06-11T12:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: lookup based on dimension</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173278#M522252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FirstSortedValue(&lt;STRONG&gt;DISTINCT&lt;/STRONG&gt; TransactionPersianDate,-TransactionDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be ok in your setting, since the persian date should not differ for the same max gregorian date, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jun 2016 14:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173278#M522252</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-11T14:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: lookup based on dimension</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173279#M522255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the Persian date does not differ for the same Gregorian date. But the problem is FirstSortedValue doesn't accept the DISTINCT parameter...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: It does accept the parameter but showing error.... weird!! ....&lt;/P&gt;&lt;P&gt;Thank you for your useful response..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 05:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173279#M522255</guid>
      <dc:creator />
      <dc:date>2016-06-12T05:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: lookup based on dimension</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173280#M522257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The syntax checker is not the most reliable part in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There were some recent changes in the checker, in my V12 version, it's not marked as error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as a general rule, if in doubt, just press OK and check the result of the expression &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jun 2016 11:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173280#M522257</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-12T11:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: lookup based on dimension</title>
      <link>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173281#M522258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you instead create your Persian dates as duals, you can use Max(TransactionPersianDate).&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;Dual(TransactionPersianDate,TransactionDate) as TransactionPersianDate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also &lt;A href="https://community.qlik.com/qlik-blogpost/4898"&gt;Non-Gregorian calendars&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 11:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/lookup-based-on-dimension/m-p/1173281#M522258</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2016-07-19T11:38:42Z</dc:date>
    </item>
  </channel>
</rss>

