<?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: setting a constant value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067168#M356737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you try these solutions and didn't work, try to separate the table "City" and create a "FixCity" for example.&lt;/P&gt;&lt;P&gt;And into this new table put the cities you want.&lt;/P&gt;&lt;P&gt;Or a new field.&lt;/P&gt;&lt;P&gt;Then you'll have 2 list box:&lt;/P&gt;&lt;P&gt;the normal one&lt;/P&gt;&lt;P&gt;the fixed cities one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2016 18:12:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-11T18:12:29Z</dc:date>
    <item>
      <title>setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067161#M356730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a constant value.&lt;/P&gt;&lt;P&gt;I managed implementing google map in a chart. Now I have a field with:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;City&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Berlin&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Paris&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;London&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Amsterdam&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Roma&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which I use as dimension. Google Map returns me every city from the field "City". Now i just want google map returns me Berlin constantly even if I haven't choses Berlin in a Listbox. How can I manage that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to edit the dimension in City=Berlin , but it doesnt really work. Could anyone help me out here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 16:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067161#M356730</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2016-01-11T16:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067162#M356731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try as calculated Dimension?&lt;/P&gt;&lt;P&gt;if (City='Berlin', City)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 16:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067162#M356731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-11T16:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067163#M356732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;without selecting a City you need to put in in axpression with set analysis&lt;/P&gt;&lt;P&gt;max({&amp;lt;City={'Berlin'}&amp;gt;}City)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 16:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067163#M356732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-11T16:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067164#M356733</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;In the listbox "City", select "Berlin" and then go to the properties and check "Always One Selected Value" and make then lock the Listbox. Have a nice coding in QV &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 17:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067164#M356733</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-01-11T17:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067165#M356734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for responding. I ve just tried both of your solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Rudolf the if statement works fine but only if I zoom far away. Unfortunel it does not zoom me automatically to the city i want to see. I attached a qv file. could u have a look at it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Miguel if i do it as u say it leaves me chosen permantly Berlin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 17:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067165#M356734</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2016-01-11T17:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067166#M356735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just unlock the listbox and you have set your listbox with always one variable chosen &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 17:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067166#M356735</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2016-01-11T17:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067167#M356736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But it doesn't work, I think.&lt;/P&gt;&lt;P&gt;If you choose other city than Berlin it deselect Berlin...&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"Always One Selected Value" option doesn't lock in Berlin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 18:00:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067167#M356736</guid>
      <dc:creator />
      <dc:date>2016-01-11T18:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067168#M356737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you try these solutions and didn't work, try to separate the table "City" and create a "FixCity" for example.&lt;/P&gt;&lt;P&gt;And into this new table put the cities you want.&lt;/P&gt;&lt;P&gt;Or a new field.&lt;/P&gt;&lt;P&gt;Then you'll have 2 list box:&lt;/P&gt;&lt;P&gt;the normal one&lt;/P&gt;&lt;P&gt;the fixed cities one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Giba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 18:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067168#M356737</guid>
      <dc:creator />
      <dc:date>2016-01-11T18:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067169#M356738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you use the following expressions it works&lt;/P&gt;&lt;P&gt;Longitude: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;City&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Leipzig'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (256*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(2,(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(var_zoom)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;-1)))+( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Longitude&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; *((256*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(2,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(var_zoom)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/360)) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Latitude: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;City&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Leipzig'}&amp;gt;}((256*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(2,(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(var_zoom)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;-1)))+((0.5*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;log&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((1+(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sin&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Latitude&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pi&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()/180)))/(1-(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sin&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Latitude&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pi&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()/180)))))*((-256*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(2,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(var_zoom)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/(2*&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;pi&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;third Expression remains: &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;City&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Leipzig'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;City&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But you only see one dot (for Leipzig) in Overall map (all countries). When zooming it goes down to City Level Leipzig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 07:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067169#M356738</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-12T07:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067170#M356739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My solution is somewhat similar to what Gilberto had suggested.&lt;/P&gt;&lt;P&gt;You could add a variable vCity = BERLIN, then add it as a second dimension to your chart : &lt;/P&gt;&lt;P&gt;&lt;IMG alt="vCity.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/111354_vCity.PNG" style="height: 321px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;If no other city is selected, the map only shows Berlin. Otherwise, it'll show all the cities selected by the user. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 10:15:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067170#M356739</guid>
      <dc:creator />
      <dc:date>2016-01-12T10:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: setting a constant value</title>
      <link>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067171#M356740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I m sorry that I couldnt't give a feedback on this due to my vacation. But thank you for responding on my current problem. @Rudolf thanks it works fine! It shows me permantly Leipzig. There s another question what I'd like to ask. If I add var_zoom = 2 ,it zooms me directly to Sudan. Is it possible to zoom it over Germany or to set certain Longitude and Latitude values? And my second queston is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 10:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/setting-a-constant-value/m-p/1067171#M356740</guid>
      <dc:creator>thanhphongle</dc:creator>
      <dc:date>2016-01-18T10:35:02Z</dc:date>
    </item>
  </channel>
</rss>

