<?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 20%-80% of data value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-find-20-80-of-data-value/m-p/2105917#M90308</link>
    <description>&lt;P&gt;I want to take the values and exclude the 10%(0-10) an 90%(90-100) from the results, by adding new calculated dimension.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;data for example:&lt;/P&gt;
&lt;P&gt;sm,gh,pr&lt;/P&gt;
&lt;P&gt;1,2,1&lt;/P&gt;
&lt;P&gt;9,7,55&lt;/P&gt;
&lt;P&gt;8,5,20&lt;/P&gt;
&lt;P&gt;3,4,95&lt;/P&gt;
&lt;P&gt;2,5,459&lt;/P&gt;
&lt;P&gt;8,7,2&lt;/P&gt;
&lt;P&gt;new data i want :&lt;BR /&gt;sm,gh,pr,res&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1,2,1,'no10'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;9,7,55,'ok'&lt;/P&gt;
&lt;P&gt;8,5,20,'ok'&lt;/P&gt;
&lt;P&gt;3,4,95,'ok'&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2,5,459,'no90'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;8,7,2,'no10'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;i've added a new&amp;nbsp; dimension and used this code:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;if(Fractile(pr, 0.1),'no10',

if (Fractile(pr, 0.9),'no90',   

    'ok'

))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 12:12:41 GMT</pubDate>
    <dc:creator>YanivZi</dc:creator>
    <dc:date>2023-08-15T12:12:41Z</dc:date>
    <item>
      <title>How to find 20%-80% of data value</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-20-80-of-data-value/m-p/2105917#M90308</link>
      <description>&lt;P&gt;I want to take the values and exclude the 10%(0-10) an 90%(90-100) from the results, by adding new calculated dimension.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;data for example:&lt;/P&gt;
&lt;P&gt;sm,gh,pr&lt;/P&gt;
&lt;P&gt;1,2,1&lt;/P&gt;
&lt;P&gt;9,7,55&lt;/P&gt;
&lt;P&gt;8,5,20&lt;/P&gt;
&lt;P&gt;3,4,95&lt;/P&gt;
&lt;P&gt;2,5,459&lt;/P&gt;
&lt;P&gt;8,7,2&lt;/P&gt;
&lt;P&gt;new data i want :&lt;BR /&gt;sm,gh,pr,res&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1,2,1,'no10'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;9,7,55,'ok'&lt;/P&gt;
&lt;P&gt;8,5,20,'ok'&lt;/P&gt;
&lt;P&gt;3,4,95,'ok'&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2,5,459,'no90'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;8,7,2,'no10'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;i've added a new&amp;nbsp; dimension and used this code:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;if(Fractile(pr, 0.1),'no10',

if (Fractile(pr, 0.9),'no90',   

    'ok'

))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 12:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-20-80-of-data-value/m-p/2105917#M90308</guid>
      <dc:creator>YanivZi</dc:creator>
      <dc:date>2023-08-15T12:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to find 20%-80% of data value</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-find-20-80-of-data-value/m-p/2106239#M90320</link>
      <description>&lt;P&gt;It seems like you're trying to create a new calculated dimension in Qlik that categorizes rows based on the values in the 'pr' field. You want to label rows as 'no10' if their 'pr' value is within the lowest 10%, 'no90' if their 'pr' value is within the highest 10%, and 'ok' otherwise. However, the code you provided is not entirely correct.&lt;/P&gt;
&lt;DIV class="flex-1 overflow-hidden"&gt;
&lt;DIV class="react-scroll-to-bottom--css-hsved-79elbk h-full dark:bg-gray-800"&gt;
&lt;DIV class="react-scroll-to-bottom--css-hsved-1n7m0yu"&gt;
&lt;DIV class="flex flex-col text-sm dark:bg-gray-800"&gt;
&lt;DIV class="group w-full text-token-text-primary border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"&gt;
&lt;DIV class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"&gt;
&lt;DIV class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"&gt;
&lt;DIV class="flex flex-grow flex-col gap-3"&gt;
&lt;DIV class="min-h-[20px] flex flex-col items-start gap-3 overflow-x-auto whitespace-pre-wrap break-words"&gt;
&lt;DIV class="markdown prose w-full break-words dark:prose-invert dark"&gt;
&lt;DIV class="bg-black rounded-md mb-4"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="flex justify-between lg:block"&gt;
&lt;DIV class="text-gray-400 flex self-end lg:self-center justify-center mt-2 gap-2 md:gap-3 lg:gap-1 lg:absolute lg:top-0 lg:translate-x-full lg:right-0 lg:mt-0 lg:pl-2 visible"&gt;Try this&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="h-32 md:h-48 flex-shrink-0"&gt;if(pr &amp;lt;= Fractile(TOTAL pr, 0.1), 'no10',&lt;BR /&gt;if(pr &amp;gt;= Fractile(TOTAL pr, 0.9), 'no90',&lt;BR /&gt;'ok'&lt;BR /&gt;))&lt;/DIV&gt;
&lt;BUTTON class="cursor-pointer absolute right-6 bottom-[124px] md:bottom-[180px] lg:bottom-[120px] z-10 rounded-full border border-gray-200 bg-gray-50 text-gray-600 dark:border-white/10 dark:bg-white/10 dark:text-gray-200"&gt;&lt;/BUTTON&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="absolute bottom-0 left-0 w-full border-t md:border-t-0 dark:border-white/20 md:border-transparent md:dark:border-transparent md:bg-vert-light-gradient bg-white dark:bg-gray-800 md:!bg-transparent dark:md:bg-vert-dark-gradient pt-2 md:pl-2 md:w-[calc(100%-.5rem)]"&gt;&lt;FORM class="stretch mx-2 flex flex-row gap-3 last:mb-2 md:mx-4 md:last:mb-6 lg:mx-auto lg:max-w-2xl xl:max-w-3xl"&gt;
&lt;DIV class="relative flex h-full flex-1 items-stretch md:flex-col"&gt;
&lt;DIV&gt;
&lt;DIV class="h-full flex ml-1 md:w-full md:m-auto md:mb-4 gap-0 md:gap-2 justify-center"&gt;Best Regards&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/FORM&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Aug 2023 10:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-find-20-80-of-data-value/m-p/2106239#M90320</guid>
      <dc:creator>francisco_orte</dc:creator>
      <dc:date>2023-08-16T10:38:30Z</dc:date>
    </item>
  </channel>
</rss>

