<?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: Condition on Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933836#M322573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try on &lt;STRONG&gt;Chart Layout condition&lt;/STRONG&gt; with your required combination"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say chart1, you want to use for&lt;STRONG&gt; State='maha' and city='mum'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then at layout condition of respective chart use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Index(GetFieldSelections(State, ',' ,50),'Maha')&amp;lt;&amp;gt;0 &amp;amp; &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;=Index(GetFieldSelections(City, ',' ,50),'Mum')&amp;lt;&amp;gt;0 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 50 is number of string values of State are allowed rest you can increase or decrease based on your req.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2015 12:39:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-11T12:39:41Z</dc:date>
    <item>
      <title>Condition on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933834#M322571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one chart over which I want calculation condition. The chart should be visible only after the fulfillment of condition.&lt;/P&gt;&lt;P&gt;Eq.-&lt;/P&gt;&lt;P&gt;Suppose I have following fields -&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="308"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;State&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="308"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="308"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;Maha&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="308"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;Mum&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 5.4pt 0 5.4pt;" valign="top" width="308"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;Pun&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 5.4pt 0 5.4pt;" valign="top" width="308"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt;Chand&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;My requirement is when user selects any below combination like&lt;/P&gt;&lt;P&gt;Maha and Mum &lt;/P&gt;&lt;P&gt;Maha and Pun&lt;/P&gt;&lt;P&gt;Mum and Pun&lt;/P&gt;&lt;P&gt;Mum and Chad&lt;/P&gt;&lt;P&gt;Chand and Mum&lt;/P&gt;&lt;P&gt;Chand and Pun ……etc&lt;/P&gt;&lt;P&gt;Then it should display chart respective to above selection but I don’t want to display the chart for below selection&lt;/P&gt;&lt;P&gt;State-Maharashtra &lt;/P&gt;&lt;P&gt;City- Chandi..&lt;/P&gt;&lt;P&gt;If user selects this combination (Maha-Chand) it should give error msg. of calculation condition unfullfilment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 11:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933834#M322571</guid>
      <dc:creator />
      <dc:date>2015-09-11T11:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933835#M322572</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;Can you explain how exactly your data model is build? If State and City are two columns in the same table, you won't be able to make Mum and Pun selection, as they are coming from two different rows and are excluding each other...&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="98638" alt="sc1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98638_sc1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if your data model would be build in a slightly different way (apologies, I really have no idea about the true geography of India...), like the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; State, City&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maha, Mum&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pun, Chand&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maha, Chand&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pun, Mum&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You will be able to make all of the mentioned selections:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="98646" alt="sc1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/98646_sc1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case - please check the attached qvw. You can display a text box for example with any custom message; it's displayed conditionally depending on the value of the variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 12:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933835#M322572</guid>
      <dc:creator>kuczynska</dc:creator>
      <dc:date>2015-09-11T12:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933836#M322573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try on &lt;STRONG&gt;Chart Layout condition&lt;/STRONG&gt; with your required combination"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say chart1, you want to use for&lt;STRONG&gt; State='maha' and city='mum'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then at layout condition of respective chart use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Index(GetFieldSelections(State, ',' ,50),'Maha')&amp;lt;&amp;gt;0 &amp;amp; &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG&gt;=Index(GetFieldSelections(City, ',' ,50),'Mum')&amp;lt;&amp;gt;0 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 50 is number of string values of State are allowed rest you can increase or decrease based on your req.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 12:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933836#M322573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-11T12:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933837#M322574</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;I think, even for the first scenario (State and City are two columns in the same table) there would be a way to achieve selecting data that does not belong to the same row. If you create two Listboxes (State and City) and give each Listbox a different alternate state, you can use the selection from each alternate state in your chart by using Set Analysis functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Claus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 12:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933837#M322574</guid>
      <dc:creator />
      <dc:date>2015-09-11T12:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933838#M322575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you have data in such a way that same city name appears under different States and your requirement is to select specific City respective to a particular State then you may think of using a drill group that can have both State and City and you can name the group as Location. then you can use the group in a list box.&lt;/P&gt;&lt;P&gt;so when an end user selects a particular State then only Cities belonging to that State will appear in the list box.&lt;/P&gt;&lt;P&gt;It will follow the hierarchy.&amp;nbsp; Snap shot given below.&lt;/P&gt;&lt;P&gt;NOTE: if user selects multiple states then the Cities won't be displayed.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T180177.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98651_T180177.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 13:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933838#M322575</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2015-09-11T13:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Condition on Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933839#M322576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friend,&lt;/P&gt;&lt;P&gt;Please check the following snapshot and conditions-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="snap1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98811_snap1.jpg" style="height: 365px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user selects ''DOM' button in combination with "FORM" button then the Analysis chart should show error message. The chart should be visible for other combinations like &lt;STRONG&gt;DOM - A&lt;/STRONG&gt;, &lt;STRONG&gt;Ex - FORM&lt;/STRONG&gt; etc except &lt;STRONG&gt;DOM-FORM&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what condition should i use in Calculation condition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 10:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Condition-on-Selections/m-p/933839#M322576</guid>
      <dc:creator />
      <dc:date>2015-09-14T10:30:30Z</dc:date>
    </item>
  </channel>
</rss>

