<?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: Set Expression Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066770#M356610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you for your respons but even this expression doen't work:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM( {&amp;lt;AsOf&amp;gt;} Perc)*100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I obtain 100 ok, but when i choose a item in the PC field, it doesn't work.&lt;/P&gt;&lt;P&gt;Because i set the Option "Always one valu selected" for the AsOf field:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122157_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here "AsOf" is the "Date" field.&lt;/P&gt;&lt;P&gt;Here the Field Perc:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/122168_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;and the Selection Field:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/122169_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;&lt;P&gt;Sébastien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2016 11:48:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-20T11:48:16Z</dc:date>
    <item>
      <title>Set Expression Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066768#M356608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a beginner on QlikView &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;BR /&gt;I want to select a value in the field "Perc" which correspond to the "PC "field but which is not connected to the "AsOf" Field, that is why is think to put "1" parameters for the field AsOf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM( {1&amp;lt;AsOf, PC = {"=$(=GetFieldSelections(PC))"&amp;gt;} Perc)*100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help,&lt;/P&gt;&lt;P&gt;Sébastien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 11:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066768#M356608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T11:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066769#M356609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this in itself should be enough:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=SUM({&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;AsOf&lt;/SPAN&gt;, PC = {"=$(=GetFieldSelections(PC))"&amp;gt;} Perc)*100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further simplify this like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetSelectedCount(PC) &amp;gt; 0, Sum({&amp;lt;AsOf&amp;gt;} Perc) * 100)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 11:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066769#M356609</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-20T11:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066770#M356610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you for your respons but even this expression doen't work:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM( {&amp;lt;AsOf&amp;gt;} Perc)*100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I obtain 100 ok, but when i choose a item in the PC field, it doesn't work.&lt;/P&gt;&lt;P&gt;Because i set the Option "Always one valu selected" for the AsOf field:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122157_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Here "AsOf" is the "Date" field.&lt;/P&gt;&lt;P&gt;Here the Field Perc:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/122168_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;and the Selection Field:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/122169_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;&lt;P&gt;Sébastien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 11:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066770#M356610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T11:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066771#M356611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=SUM( {&amp;lt;AsOf, Period&amp;gt;} Perc)*100&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 11:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066771#M356611</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-20T11:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066772#M356612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your response, but it doesn't work too :/.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I think i can solve the problem with changing the database model&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 12:02:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066772#M356612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-20T12:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066773#M356613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya, it seems like a data issue. Not sure why it won't work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 12:15:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066773#M356613</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-20T12:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066774#M356614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is working?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=SUM({1} Perc)*100&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 12:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-Problem/m-p/1066774#M356614</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-20T12:28:36Z</dc:date>
    </item>
  </channel>
</rss>

