<?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 filter data with complex condition? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241962#M92353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;Perhaps you could add a second action to Pareto button - one that sets a state variable to1.&lt;/P&gt;&lt;P&gt;Then you could change the chart lable to indicate "Pareto Selection On" (or whatever) or make a hidden textbox visible when the variable is 1.&lt;/P&gt;&lt;P&gt;You could even hide the Pareto button and replace it with a "Clear" button to reestset the selection.&lt;/P&gt;&lt;P&gt;That should make it clearer to the users what they have done and what they are looking at.&lt;/P&gt;&lt;P&gt;Just a suggetsion...&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Aug 2010 12:01:33 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2010-08-06T12:01:33Z</dc:date>
    <item>
      <title>How to filter data with complex condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241959#M92350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is a description of my problem:&lt;BR /&gt;- My script loads a list of bill, with customer name and amount. Each customer can have several bills.&lt;BR /&gt;- I have a simple table, with customer in dimension and Sum(amount) in expression&lt;/P&gt;&lt;P&gt;So I have the turnover for each customer and i have also the total turnover on first line.&lt;/P&gt;&lt;P&gt;I would like to filter only customers wich represent 80% of total turnover:&lt;BR /&gt;- first we sort customers on decreasing turnover&lt;BR /&gt;- then we accumulate turnover on each line&lt;BR /&gt;- we stop when the accumulation of turnover = 80% total turnover&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;Thank you for help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 11:11:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241959#M92350</guid>
      <dc:creator>alexprost</dc:creator>
      <dc:date>2010-08-05T11:11:31Z</dc:date>
    </item>
    <item>
      <title>How to filter data with complex condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241960#M92351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;There is a simple way to do this.&lt;/P&gt;&lt;P&gt;You can display, in your chart, the customer which represent 80% of the overall.&lt;/P&gt;&lt;P&gt;I suggest you to add a button with a "PARETO SELECTION"&lt;/P&gt;&lt;P&gt;Do to this :&lt;/P&gt;&lt;P&gt;Create Button Object, add an action : Selection / Pareto Select&lt;/P&gt;&lt;P&gt;Then Fill :&lt;/P&gt;&lt;P&gt;Field = Customer&lt;/P&gt;&lt;P&gt;Expression = Sum( Sales)&lt;/P&gt;&lt;P&gt;Percentage = 80&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when you click on the button, your chart is reduced to the 80% of sum(sales)&lt;/P&gt;&lt;P&gt;I posted an example.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/24027.aspx"&gt;http://community.qlik.com/forums/t/24027.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JJJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 17:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241960#M92351</guid>
      <dc:creator />
      <dc:date>2010-08-05T17:35:51Z</dc:date>
    </item>
    <item>
      <title>How to filter data with complex condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241961#M92352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thak you very much Jean-Jacques ! The "pareto selection" seems to be the function I'm looking for.&lt;/P&gt;&lt;P&gt;I tried it quickly successfully. But I have now an "ergonomic" problem to solve:&lt;/P&gt;&lt;P&gt;- when the button is clicked , a selection on my customer is added in the current selection, but it's not very explicit ("51 of 11521" or list of customers). I'm not sure the users will understand if they have already clicked on the button or not.&lt;/P&gt;&lt;P&gt;- it's possible to click another time on the button, and then we see the 80% of the 80%... and users will be lost.&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 11:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241961#M92352</guid>
      <dc:creator>alexprost</dc:creator>
      <dc:date>2010-08-06T11:24:49Z</dc:date>
    </item>
    <item>
      <title>How to filter data with complex condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241962#M92353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;Perhaps you could add a second action to Pareto button - one that sets a state variable to1.&lt;/P&gt;&lt;P&gt;Then you could change the chart lable to indicate "Pareto Selection On" (or whatever) or make a hidden textbox visible when the variable is 1.&lt;/P&gt;&lt;P&gt;You could even hide the Pareto button and replace it with a "Clear" button to reestset the selection.&lt;/P&gt;&lt;P&gt;That should make it clearer to the users what they have done and what they are looking at.&lt;/P&gt;&lt;P&gt;Just a suggetsion...&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 12:01:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241962#M92353</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-08-06T12:01:33Z</dc:date>
    </item>
    <item>
      <title>How to filter data with complex condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241963#M92354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course, the Clear button should also set the state variable back to 0!&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 12:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241963#M92354</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-08-06T12:02:21Z</dc:date>
    </item>
    <item>
      <title>How to filter data with complex condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241964#M92355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course the Clear button should also reset the state variable value back to 0!&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 12:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241964#M92355</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-08-06T12:03:15Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: How to filter data with complex condition?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241965#M92356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jonathan, your advices were helpful !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 14:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-filter-data-with-complex-condition/m-p/241965#M92356</guid>
      <dc:creator>alexprost</dc:creator>
      <dc:date>2010-08-09T14:53:33Z</dc:date>
    </item>
  </channel>
</rss>

