<?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: How to set a default value in a list in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030344#M935161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that was the requirement that you wanted to add by selection other schools?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 17:40:31 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-02-25T17:40:31Z</dc:date>
    <item>
      <title>How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030339#M935154</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;&lt;/P&gt;&lt;P&gt;I am new in QlikView, so sorry if this is a silly question and sorry for my poor English too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me explain the situation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart showing the schools (y axis) and the number of students (x-axis) and a list to filter schools.&lt;/P&gt;&lt;P&gt;What I need is the chart always showing a default school.&lt;/P&gt;&lt;P&gt;And when I select another school on the list this second school should appear along with the other to compare both. &lt;/P&gt;&lt;P&gt;If it is possible I also would like if the default school didn't appear in the list &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me you if you need more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030339#M935154</guid>
      <dc:creator />
      <dc:date>2016-02-25T15:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030340#M935155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it using this set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&amp;lt;$+&amp;lt;School = {'School1'}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if this was your expression -&amp;gt; &lt;STRONG&gt;Sum(Revenue)&lt;/STRONG&gt;, you will need to change it to -&amp;gt;&lt;STRONG&gt; Sum({&amp;lt;$+&amp;lt;School = {'School1'}&amp;gt;}Revenue)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 16:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030340#M935155</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T16:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030341#M935156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already tried set analysis.&lt;/P&gt;&lt;P&gt;I don't need sum so tried only({$&amp;lt;School={'school1'}&amp;gt;}[NumberofStudent])&lt;/P&gt;&lt;P&gt;and this work but when I click in other school on the list there are no chage in the chart it keeps showing only the default school&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030341#M935156</guid>
      <dc:creator />
      <dc:date>2016-02-25T17:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030342#M935157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a &lt;STRONG&gt;+&lt;/STRONG&gt; between $ and &amp;lt;&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: 13px;"&gt;&lt;STRONG&gt;Only({$&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;+&lt;/SPAN&gt;&amp;lt;School={'school1'}&amp;gt;}[NumberofStudent])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030342#M935157</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T17:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030343#M935158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it helped at first it shows all the schools but when I select other schol on the list it shows just the selected school and the default school. And to hide the default school on the list one simple if was enough.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;If know a way to show just the default school at first let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030343#M935158</guid>
      <dc:creator />
      <dc:date>2016-02-25T17:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030344#M935161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought that was the requirement that you wanted to add by selection other schools?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030344#M935161</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T17:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030345#M935164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I want to add by selection, But when any school is selected it is showing all the schools and if it is possible I would like to show just the default school when any other school is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030345#M935164</guid>
      <dc:creator />
      <dc:date>2016-02-25T17:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030346#M935166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure I understand the requirement completely either, but throwing out something at random:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;if(getselectedcount(School)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; ,only({&amp;lt;School+={'school1'}&amp;gt;} NumberofStudent)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; ,only({&amp;lt;School ={'school1'}&amp;gt;} NumberofStudent))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Edit: and to hide the default School on the list, use an expression for the list box, maybe something like =if(School&amp;lt;&amp;gt;'school1',School)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:52:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030346#M935166</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-02-25T17:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030347#M935169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. worked &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:03:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030347#M935169</guid>
      <dc:creator />
      <dc:date>2016-02-25T18:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a default value in a list</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030348#M935171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close this thread by marking John's answer as correct answer.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-14806"&gt;Qlik Community Tip: Marking Replies as Correct or Helpful&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-a-default-value-in-a-list/m-p/1030348#M935171</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-25T18:37:25Z</dc:date>
    </item>
  </channel>
</rss>

