<?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: Dynamic logic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126534#M906908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to show the data for the locations &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; = 012,034,045,067 every time even if the new locations added to the filed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The logic which we were used(&lt;STRONG style="color: red; font-size: 9.0pt; font-family: 'Helvetica','sans-serif';"&gt;=if(location_new&amp;lt;&amp;gt;'016' and location_new&amp;lt;&amp;gt;'025' and location_new&amp;lt;&amp;gt;'099',location_new&lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em;"&gt;) is not dynamic like when ever an new location added to the field the new location will also show the results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;ADDRESS&gt;&lt;EM&gt;Result required : My chart should show the data only for(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;012,034,045,067&lt;/SPAN&gt; ) even if new locations added to the field.&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;EM&gt;Thanks..&lt;BR /&gt;&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2016 07:09:30 GMT</pubDate>
    <dc:creator>nareshthavidishetty</dc:creator>
    <dc:date>2016-06-28T07:09:30Z</dc:date>
    <item>
      <title>Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126530#M906904</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;We have an location field which having all locations but we have to capture only few locations which is to be static all the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Logic used&lt;/STRONG&gt; :=if(location_new&amp;lt;&amp;gt;'016' and location_new&amp;lt;&amp;gt;'025' and location_new&amp;lt;&amp;gt;'099',location_new)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the new locations got updated frequently so here am not able to capture only the locations which i required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Locations need to static every time even if the new locations added = 012,034,045,067.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126530#M906904</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126531#M906905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;=if(location_new&amp;lt;&amp;gt;'016' or&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;location_new&amp;lt;&amp;gt;'025'&amp;nbsp; or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;location_new&amp;lt;&amp;gt;'099','Location_New) as&amp;nbsp;&amp;nbsp;&amp;nbsp; newlocation&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126531#M906905</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-06-28T07:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126532#M906906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;easiest way would be to define a variable like this:&lt;/P&gt;&lt;P&gt;let vLocNew = '016;025;099';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and test if (match(Location_new, vLocNew)=0&lt;/P&gt;&lt;P&gt;will be tru if Location_new doesnot contain any of the Locations defined in variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alternatively you may define the new Locations in an Excel list and read this list into a variable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126532#M906906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T07:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126533#M906907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="font-color-meta" style="padding: 0 0 5px; font-size: 1.2em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #e6e6e6;"&gt;&lt;SPAN class="replyToName" style="font-weight: inherit; font-style: inherit; font-size: 15.6px; font-family: inherit;"&gt;nareshthavidishetty,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can´t understand you so well, but Ithink that you can use a variable to make it.&lt;/P&gt;&lt;P&gt;Your variable or variables can represent the values that you want to exclude or show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel del Valle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126533#M906907</guid>
      <dc:creator>migueldelval</dc:creator>
      <dc:date>2016-06-28T07:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126534#M906908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to show the data for the locations &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; = 012,034,045,067 every time even if the new locations added to the filed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The logic which we were used(&lt;STRONG style="color: red; font-size: 9.0pt; font-family: 'Helvetica','sans-serif';"&gt;=if(location_new&amp;lt;&amp;gt;'016' and location_new&amp;lt;&amp;gt;'025' and location_new&amp;lt;&amp;gt;'099',location_new&lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em;"&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em;"&gt;) is not dynamic like when ever an new location added to the field the new location will also show the results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;ADDRESS&gt;&lt;EM&gt;Result required : My chart should show the data only for(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;012,034,045,067&lt;/SPAN&gt; ) even if new locations added to the field.&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;ADDRESS&gt;&lt;EM&gt;Thanks..&lt;BR /&gt;&lt;/EM&gt;&lt;/ADDRESS&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126534#M906908</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-06-28T07:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126535#M906909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then this should work&lt;/P&gt;&lt;P&gt;let vLocNew = '012;034;045;067';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (match(location_new, vLocNew)&amp;gt;0, location_new&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only the 4 defined Locations will be displayed, even if 10 locations exists&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126535#M906909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T07:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126536#M906910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We used the logic as dimension ,it gives empty results &lt;STRONG&gt;=if (match(location_new, vLocNew )&amp;gt;0, location_new)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But when check the variable alone it show the right results.&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126536#M906910</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-06-28T07:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126537#M906911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does it work when you select only 1 Location?&lt;/P&gt;&lt;P&gt;in a straight table with Dimension Location_new it should work&lt;/P&gt;&lt;P&gt;in a textobject it should work when you select only 1 Location&lt;/P&gt;&lt;P&gt;when no or several locations are selected the if Expression will not work&lt;/P&gt;&lt;P&gt;can you explain your requirements?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126537#M906911</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T07:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126538#M906913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;After the logic used in dimension we were getting no results as below &lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/129339_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart used: straight table&lt;/P&gt;&lt;P&gt;Logic used: &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;=if (match(location_new, vLocNew )&amp;gt;0, location_new)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126538#M906913</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-06-28T07:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126539#M906914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;location_new&lt;/SPAN&gt;,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;012','034','045','067'&lt;/SPAN&gt;),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;location_new&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, don't forget to enable the option "Suppress When Value Is Null".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 07:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126539#M906914</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-06-28T07:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126540#M906916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made a small sample and I have to correct my statement&lt;/P&gt;&lt;P&gt;define variable vLocNew as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'012','034','045','067' &lt;/P&gt;&lt;P&gt;define calculated dimension&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;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Location_new&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vLocNew)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;0, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Location_new&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;tick suppress when value is null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;my result&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/129345_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;you could achive also by using set Analysis&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Location_new={'$(=vLocNew)'}&amp;gt;}[Total Orders]&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Location_new={'012',034',045','067')'}&amp;gt;}[Total Orders]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 08:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126540#M906916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-28T08:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic logic</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126541#M906917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..Rudolf it's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 08:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-logic/m-p/1126541#M906917</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2016-06-28T08:12:46Z</dc:date>
    </item>
  </channel>
</rss>

