<?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: Top N chart is showing N-1 value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Top-N-chart-is-showing-N-1-value/m-p/1580992#M42441</link>
    <description>turn of the other values?</description>
    <pubDate>Thu, 16 May 2019 11:24:41 GMT</pubDate>
    <dc:creator>bramkn</dc:creator>
    <dc:date>2019-05-16T11:24:41Z</dc:date>
    <item>
      <title>Top N chart is showing N-1 value</title>
      <link>https://community.qlik.com/t5/App-Development/Top-N-chart-is-showing-N-1-value/m-p/1580985#M42440</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create Top N chart with two dimensions and one measure.&lt;/P&gt;&lt;P&gt;My dimensions and Measure are as follow's:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dimension1: aggr(if(rank(sum(Sales))&amp;lt;=vTopRank,Customer),Customer)&lt;/LI&gt;&lt;LI&gt;Dimension2: [Invoice Date]&lt;/LI&gt;&lt;LI&gt;Measure : sum(Sales)&lt;/LI&gt;&lt;LI&gt;vTopRank is variable&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm trying to vary&amp;nbsp;vTopRank using slider, but whenever I try to do so. I'm getting result by Top N-1.&lt;/P&gt;&lt;P&gt;To&amp;nbsp;elaborate this. If I want Top 10 records it show's me Top 9 records.&lt;/P&gt;&lt;P&gt;Is there anything I am doing wrong with my Dimension1 or somewhere else?&lt;/P&gt;&lt;P&gt;Please let me know if you have any clue on this.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Top-N-chart-is-showing-N-1-value/m-p/1580985#M42440</guid>
      <dc:creator>Devendra_Babar</dc:creator>
      <dc:date>2024-11-16T20:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Top N chart is showing N-1 value</title>
      <link>https://community.qlik.com/t5/App-Development/Top-N-chart-is-showing-N-1-value/m-p/1580992#M42441</link>
      <description>turn of the other values?</description>
      <pubDate>Thu, 16 May 2019 11:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Top-N-chart-is-showing-N-1-value/m-p/1580992#M42441</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2019-05-16T11:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Top N chart is showing N-1 value</title>
      <link>https://community.qlik.com/t5/App-Development/Top-N-chart-is-showing-N-1-value/m-p/1581012#M42442</link>
      <description>Thanks for Reply.&lt;BR /&gt;But I have already unchecked "Show Others" option from both Dimensions.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Thanks,&lt;BR /&gt;Devendra Babar</description>
      <pubDate>Thu, 16 May 2019 11:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Top-N-chart-is-showing-N-1-value/m-p/1581012#M42442</guid>
      <dc:creator>Devendra_Babar</dc:creator>
      <dc:date>2019-05-16T11:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Top N chart is showing N-1 value</title>
      <link>https://community.qlik.com/t5/App-Development/Top-N-chart-is-showing-N-1-value/m-p/1583851#M42687</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I tried almost every possible solution available on community to solve this issue by creating different different calculation dimension and measure.&lt;/P&gt;&lt;P&gt;But unfortunately I didn't get anything which can solve this issue.&lt;/P&gt;&lt;P&gt;So I tweaked my first dimension in such a way that it will solve this issue automatically.&lt;/P&gt;&lt;P&gt;Here is my calculated dimension.&lt;/P&gt;&lt;P&gt;"IF(MATCH($(=COUNT(IF(AGGR(Rank(sum(Sales))&amp;lt;=vTopRank,Customer),Customer))),vTopRank),&lt;BR /&gt;IF(AGGR(Rank(sum(Sales))&amp;lt;=vTopRank,Customer),Customer),&lt;BR /&gt;IF(AGGR(Rank(sum(Sales))&amp;lt;=vTopRank&lt;BR /&gt;- $(=COUNT(IF(AGGR(Rank(sum(Sales))&amp;lt;=vTopRank,Customer),Customer))-vTopRank),&lt;BR /&gt;Customer),Customer)&lt;BR /&gt;)"&lt;/P&gt;&lt;P&gt;Basically here I am doing plus or minus according to given result by old calculated dimension.&lt;/P&gt;&lt;P&gt;This solved my issue but I am still confused about, why old calculated dimension was not giving correct answer?&lt;/P&gt;&lt;P&gt;Please do let me know if you ever faced such situation and found cause of it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Devendra Babar&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 10:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Top-N-chart-is-showing-N-1-value/m-p/1583851#M42687</guid>
      <dc:creator>Devendra_Babar</dc:creator>
      <dc:date>2019-05-23T10:54:18Z</dc:date>
    </item>
  </channel>
</rss>

