<?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 WHERE clause in front-end? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/WHERE-clause-in-front-end/m-p/502898#M557649</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;Say we have 4 fields (priority, state, year, and ispaid).&amp;nbsp; My user wants to see all records with the following criteria:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priority = Urgent&lt;/P&gt;&lt;P&gt;State = MA&lt;/P&gt;&lt;P&gt;Year = 2013&lt;/P&gt;&lt;P&gt;isPaid = No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if they select priority Urgent, and there are none for MA, MA will be greyed out.&amp;nbsp; Clicking MA will then deselect priority high, and instead select MA.&amp;nbsp; If there are no priority Urgent and state = MA, the user wants to have the chart display "No records found".&amp;nbsp; I could hardcode these selections into the data model.. but then I have to create a separate table for every single combination they need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The users don't mind making bookmarks for complex selections, the issue comes when they have complex exceptions where they need to include and exclude several values from multiple fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution to this?&amp;nbsp; Seems like a crippling limitation to QlikView.&amp;nbsp; We basically need the ability to build a WHERE clause in the front end application, without reloading the entire document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jun 2013 21:05:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-24T21:05:18Z</dc:date>
    <item>
      <title>WHERE clause in front-end?</title>
      <link>https://community.qlik.com/t5/QlikView/WHERE-clause-in-front-end/m-p/502898#M557649</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;Say we have 4 fields (priority, state, year, and ispaid).&amp;nbsp; My user wants to see all records with the following criteria:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priority = Urgent&lt;/P&gt;&lt;P&gt;State = MA&lt;/P&gt;&lt;P&gt;Year = 2013&lt;/P&gt;&lt;P&gt;isPaid = No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if they select priority Urgent, and there are none for MA, MA will be greyed out.&amp;nbsp; Clicking MA will then deselect priority high, and instead select MA.&amp;nbsp; If there are no priority Urgent and state = MA, the user wants to have the chart display "No records found".&amp;nbsp; I could hardcode these selections into the data model.. but then I have to create a separate table for every single combination they need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The users don't mind making bookmarks for complex selections, the issue comes when they have complex exceptions where they need to include and exclude several values from multiple fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution to this?&amp;nbsp; Seems like a crippling limitation to QlikView.&amp;nbsp; We basically need the ability to build a WHERE clause in the front end application, without reloading the entire document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 21:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WHERE-clause-in-front-end/m-p/502898#M557649</guid>
      <dc:creator />
      <dc:date>2013-06-24T21:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: WHERE clause in front-end?</title>
      <link>https://community.qlik.com/t5/QlikView/WHERE-clause-in-front-end/m-p/502899#M557650</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;this is relatively simple if you use set analysis...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load all the data without where condition and try to put set analysis in expression of your chart/table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to implement "&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If there are no priority Urgent and state = MA, the user wants to have the chart display "No records found".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Then in General tab of your chart in calculation condition box put somthing like if(Priority='Urgent' and State='MA')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;after that in error message tab put "No Recorts found" for calculation condition unfullfilment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Sushil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 05:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WHERE-clause-in-front-end/m-p/502899#M557650</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-06-25T05:14:20Z</dc:date>
    </item>
  </channel>
</rss>

