<?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 Conditional 'In' with multiple values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890511#M310258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So i want to make a condition for a line on a graph.&amp;nbsp; I have created inline dimensions for the names (geographies) and want to say that if that particular value is selected (alone or in conjunction with other values) the line will be shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bronx, albany, hartford as the Geographies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I select bronx, bronx shows.&lt;/P&gt;&lt;P&gt;I select bronx and albany, both show&lt;/P&gt;&lt;P&gt;I select all three, then all three sown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i accomplish this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2015 14:17:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-16T14:17:41Z</dc:date>
    <item>
      <title>Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890511#M310258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So i want to make a condition for a line on a graph.&amp;nbsp; I have created inline dimensions for the names (geographies) and want to say that if that particular value is selected (alone or in conjunction with other values) the line will be shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bronx, albany, hartford as the Geographies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I select bronx, bronx shows.&lt;/P&gt;&lt;P&gt;I select bronx and albany, both show&lt;/P&gt;&lt;P&gt;I select all three, then all three sown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do i accomplish this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 14:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890511#M310258</guid>
      <dc:creator />
      <dc:date>2015-07-16T14:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890512#M310259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it ok that if nothing is relly selected (nothing in green, all in white), then all lines are shown?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add "geographies" as a second dimension to your line graph. The legend that now appears will tell you which line corresponds to which geography. Only selected geographies will draw lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 14:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890512#M310259</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2015-07-16T14:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890513#M310260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is okay if nothing is selected, then all lines are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the conditions i want are on the lines, which are expressions.&amp;nbsp; How could this work as a dimension??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 14:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890513#M310260</guid>
      <dc:creator />
      <dc:date>2015-07-16T14:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890514#M310261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can't use your Geographie values as a second dimension, i.e. it's an unlinked data island, you can still use conditional expressions. There is an ad-hoc report demo in 'what's new in QV11' demo app showing this approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 14:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890514#M310261</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-16T14:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890515#M310262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay this was very helpful - thank you.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i am going to use a 'substringcount(concat))' and i would like to add in other fields and values into the condition - how could i put in an 'if' statements coupled with the &lt;SPAN style="font-size: 13.3333330154419px;"&gt;substringcount(concat)??&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 20:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890515#M310262</guid>
      <dc:creator />
      <dc:date>2015-07-16T20:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890516#M310263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression should evaluate to false (0) if you want to hide the expression / line or true (-1 (or any other value different from zero). Use AND / OR to build more complex boolean logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SubstringCount(Concat(Geographie,'|'), 'bronx') AND (Sum(OtherField) &amp;gt; 100 OR GetSelectedCount(TriggerField) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 21:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890516#M310263</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-16T21:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890517#M310264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so i am using this string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= SubStringCount(Concat(%_NewEnglandTerrNo, '|'), 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it equates to true no matter what...am i missing something??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:32:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890517#M310264</guid>
      <dc:creator />
      <dc:date>2015-07-17T13:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890518#M310265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does &lt;/P&gt;&lt;P&gt;=concat(%_NewEnglandTerrNo, '|')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return in a text box, when you are selecting a value other than 1 (try 2)&amp;nbsp; in that field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 15:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890518#M310265</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-17T15:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890519#M310266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;concat(%_NewEnglandTerrNo, '|') returns 1|2|3|4|5|6|7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;so how do i say that if '1' is in the string at all, return it??&amp;nbsp; wildmatch does not seem to be working:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;= if(wildmatch(Concat(%_NewEnglandTerrNo, '|') ,'*1*'),1,0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 15:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890519#M310266</guid>
      <dc:creator />
      <dc:date>2015-07-17T15:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890520#M310267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my issue is that &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;concat(%_NewEnglandTerrNo, '|') returns 1|2|3|4|5|6|7 no matter my selections.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want it sch that if i select 2,3,4, then i would get 2|3|4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 15:27:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890520#M310267</guid>
      <dc:creator />
      <dc:date>2015-07-17T15:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional 'In' with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890521#M310268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, lots of ideas. But I don't know enough about your data model.&lt;/P&gt;&lt;P&gt;When you do a selection in %_NewEnglandTerrNo, I would assume that this will definitely filter your concat() result accordingly. Are you using alternate states? Or are you selecting in a different field, not connected to &lt;SPAN style="font-size: 13.3333330154419px;"&gt;_NewEnglandTerrNo?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post a small sample QVW?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 18:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-In-with-multiple-values/m-p/890521#M310268</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-17T18:31:01Z</dc:date>
    </item>
  </channel>
</rss>

