<?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: Display top 20 or all based when condition met(column value = some value) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/display-data-all-based-when-condition-met-column-value-some/m-p/1747544#M453393</link>
    <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Could you please help me to add the OR condition to the above logic.&amp;nbsp;I have a requirement to pull the data based on multiple conditions ..I tried below but not getting desired results..could you please help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Aggr(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(vPtNdAtt = 1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Rank(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only(( Status='Missing 'and DateType='CaseCreatedDate' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ( [Case Type] = 'test' and testdate &amp;gt;='$(vToday)'and testdate&amp;lt;='$(v30Days)')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([Case Type] = 'test2' and test2date &amp;gt;='$(vToday)'and test2date&amp;lt;='$(v30Days)' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([claims] = '0'),[Identifier]), [Identifier])) &amp;lt;= 20,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only(( Status='Missing 'and DateType='CaseCreatedDate' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ( [Case Type] = 'test' and testdate &amp;gt;='$(vToday)'and testdate&amp;lt;='$(v30Days)')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([Case Type] = 'test2' and test2date &amp;gt;='$(vToday)'and test2date&amp;lt;='$(v30Days)' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([claims] = '0'),[Identifier]),[Identifier])),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only(( Status='Missing 'and DateType='CaseCreatedDate' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ( [Case Type] = 'test' and testdate &amp;gt;='$(vToday)'and testdate&amp;lt;='$(v30Days)')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([Case Type] = 'test2' and test2date &amp;gt;='$(vToday)'and test2date&amp;lt;='$(v30Days)' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([claims] = '0'),[Identifier]), [Identifier])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;), [Identifier])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 05:53:31 GMT</pubDate>
    <dc:creator>Sai78</dc:creator>
    <dc:date>2020-09-28T05:53:31Z</dc:date>
    <item>
      <title>display data  all based when condition met(column value = some value)</title>
      <link>https://community.qlik.com/t5/QlikView/display-data-all-based-when-condition-met-column-value-some/m-p/1743230#M453090</link>
      <description>&lt;P&gt;I'm trying to display the top 20 when user click on show top n else display all records based on condition met(column value = some value)&lt;/P&gt;&lt;P&gt;Attached is what I tried but logic is not working ..any insight would greatly be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 01:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/display-data-all-based-when-condition-met-column-value-some/m-p/1743230#M453090</guid>
      <dc:creator>Sai78</dc:creator>
      <dc:date>2020-09-16T01:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 or all based when condition met(column value = some value)</title>
      <link>https://community.qlik.com/t5/QlikView/display-data-all-based-when-condition-met-column-value-some/m-p/1743261#M453093</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Aggr(
	If(vAtt = 1,
		If(Rank(Only({&amp;lt;[column  2] = {0}, [Column 1]&amp;gt;} [Column 1])) &amp;lt;= 20, Only({&amp;lt;[column  2] = {0}, [Column 1]&amp;gt;} [Column 1])),
		Only({&amp;lt;[column  2] = {0}, [Column 1]&amp;gt;} [Column 1])
	)
, [Column 1])&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Sep 2020 19:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/display-data-all-based-when-condition-met-column-value-some/m-p/1743261#M453093</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-09-11T19:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 or all based when condition met(column value = some value)</title>
      <link>https://community.qlik.com/t5/QlikView/display-data-all-based-when-condition-met-column-value-some/m-p/1744146#M453138</link>
      <description>&lt;P&gt;I tried to implement a similar approach to another condition, but I get an error in the expression,, could you check on below condition where I made a mistake or if any other way I can write this logic. (This expression has' and' and 'OR ' values )&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Aggr(&lt;BR /&gt;If(vPtNdAtt = 1,&lt;BR /&gt;If(Rank(&lt;BR /&gt;Only(( Status='Missing 'and DateType='CaseCreatedDate' )&lt;BR /&gt;OR ( [Case Type] = 'test' and testdate &amp;gt;='$(vToday)'and testdate&amp;lt;='$(v30Days)')&lt;BR /&gt;OR ([Case Type] = 'test2' and test2date &amp;gt;='$(vToday)'and test2date&amp;lt;='$(v30Days)' )&lt;BR /&gt;OR ([claims] = '0'),[Identifier]), [Identifier])) &amp;lt;= 20,&lt;BR /&gt;Only(( Status='Missing 'and DateType='CaseCreatedDate' )&lt;BR /&gt;OR ( [Case Type] = 'test' and testdate &amp;gt;='$(vToday)'and testdate&amp;lt;='$(v30Days)')&lt;BR /&gt;OR ([Case Type] = 'test2' and test2date &amp;gt;='$(vToday)'and test2date&amp;lt;='$(v30Days)' )&lt;BR /&gt;OR ([claims] = '0'),[Identifier]),[Identifier])),&lt;BR /&gt;Only(( Status='Missing 'and DateType='CaseCreatedDate' )&lt;BR /&gt;OR ( [Case Type] = 'test' and testdate &amp;gt;='$(vToday)'and testdate&amp;lt;='$(v30Days)')&lt;BR /&gt;OR ([Case Type] = 'test2' and test2date &amp;gt;='$(vToday)'and test2date&amp;lt;='$(v30Days)' )&lt;BR /&gt;OR ([claims] = '0'),[Identifier]), [Identifier])&lt;BR /&gt;), [Identifier])&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 13:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/display-data-all-based-when-condition-met-column-value-some/m-p/1744146#M453138</guid>
      <dc:creator>Sai78</dc:creator>
      <dc:date>2020-09-16T13:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Display top 20 or all based when condition met(column value = some value)</title>
      <link>https://community.qlik.com/t5/QlikView/display-data-all-based-when-condition-met-column-value-some/m-p/1747544#M453393</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Could you please help me to add the OR condition to the above logic.&amp;nbsp;I have a requirement to pull the data based on multiple conditions ..I tried below but not getting desired results..could you please help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Aggr(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(vPtNdAtt = 1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If(Rank(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only(( Status='Missing 'and DateType='CaseCreatedDate' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ( [Case Type] = 'test' and testdate &amp;gt;='$(vToday)'and testdate&amp;lt;='$(v30Days)')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([Case Type] = 'test2' and test2date &amp;gt;='$(vToday)'and test2date&amp;lt;='$(v30Days)' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([claims] = '0'),[Identifier]), [Identifier])) &amp;lt;= 20,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only(( Status='Missing 'and DateType='CaseCreatedDate' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ( [Case Type] = 'test' and testdate &amp;gt;='$(vToday)'and testdate&amp;lt;='$(v30Days)')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([Case Type] = 'test2' and test2date &amp;gt;='$(vToday)'and test2date&amp;lt;='$(v30Days)' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([claims] = '0'),[Identifier]),[Identifier])),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only(( Status='Missing 'and DateType='CaseCreatedDate' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ( [Case Type] = 'test' and testdate &amp;gt;='$(vToday)'and testdate&amp;lt;='$(v30Days)')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([Case Type] = 'test2' and test2date &amp;gt;='$(vToday)'and test2date&amp;lt;='$(v30Days)' )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR ([claims] = '0'),[Identifier]), [Identifier])&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;), [Identifier])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 05:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/display-data-all-based-when-condition-met-column-value-some/m-p/1747544#M453393</guid>
      <dc:creator>Sai78</dc:creator>
      <dc:date>2020-09-28T05:53:31Z</dc:date>
    </item>
  </channel>
</rss>

