<?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/68878#M11331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have some other filters in the set expression not only period.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Apr 2018 10:34:52 GMT</pubDate>
    <dc:creator>sarasunagaram</dc:creator>
    <dc:date>2018-04-06T10:34:52Z</dc:date>
    <item>
      <title>Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68872#M11325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Set expression is not working properly ,it is giving zero values.&lt;/P&gt;&lt;P&gt;vperiod-SubField(PeriodWeek,'-',2) &lt;/P&gt;&lt;P&gt;Exp: sum({&amp;lt;Period={"$(vperiod)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached app an data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;Muni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 08:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68872#M11325</guid>
      <dc:creator>sarasunagaram</dc:creator>
      <dc:date>2018-04-06T08:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68873#M11326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get something that works I believe you have to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;&lt;STRONG&gt;UniqueRowID&lt;/STRONG&gt;={"=Period=SubField(PeriodWeek,'-',2)"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The UniqueRowID is as the name implies a field that uniquely identifies each and every row in the table that contains the Sales field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't have a candidate for that in the table already you will have to create one. It is easy to do in your load script by creating a calculated field in the load statement of the table that contains the Sales field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALES:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; RowNo() AS Sales.uid,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sales,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do the expression would be changed to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;&lt;STRONG&gt;Sales.uid&lt;/STRONG&gt;={"=Period=SubField(PeriodWeek,'-',2)"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 09:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68873#M11326</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-04-06T09:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68874#M11327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can we get same result with out new field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 09:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68874#M11327</guid>
      <dc:creator>sarasunagaram</dc:creator>
      <dc:date>2018-04-06T09:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68875#M11328</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;vperiod1&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;=mid(PeriodWeek,6,3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;expression as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(Match(mid(PeriodWeek,6,3),'03','06','09','12'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;Period={"$(vperiod1)"}&amp;gt;}Sales)/5,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;Period={"$(vperiod1)"}&amp;gt;}Sales)/4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 09:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68875#M11328</guid>
      <dc:creator>chinnuchinni</dc:creator>
      <dc:date>2018-04-06T09:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68876#M11329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I mentioned - if you already have a field in the table that contains the Sales field that is unique across the rows you can use that and&amp;nbsp; you don't need a new field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the Excel data all the rows have the&amp;nbsp; Period equal to the subfield of the PeriodWeek so I don't understand what you are trying to achieve with this set expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 09:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68876#M11329</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-04-06T09:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68877#M11330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The set analysis expressions are evaluated once per chart so&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="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"$(vperiod)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;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;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;does not work because you want a different value of the variable &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;vperiod&lt;/EM&gt; for each value of the dimension (&lt;EM&gt;PeriodWeek&lt;/EM&gt;). Why dont you use an IF statement?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Right&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;PeriodWeek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,'-',2),2)),'03','06','09','12'),&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(vperiod)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))/5,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;&lt;EM&gt;$(vperiod)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))&lt;BR /&gt; /4&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the attached App.qwv if you prefer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bests,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaime.&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, 06 Apr 2018 10:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68877#M11330</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2018-04-06T10:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68878#M11331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have some other filters in the set expression not only period.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 10:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68878#M11331</guid>
      <dc:creator>sarasunagaram</dc:creator>
      <dc:date>2018-04-06T10:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68879#M11332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can keep that filters except the period and include the IF:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Right&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;PeriodWeek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,'-',2),2)),'03','06','09','12'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( {&amp;lt; OTHER FILTERS&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(vperiod)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))/5,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;( &lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 12px;"&gt;{&amp;lt; OTHER FILTERS&amp;gt;} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(vperiod)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;))/4&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 10:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68879#M11332</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2018-04-06T10:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68880#M11333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is not filter the data by above expression.can you please try some other exp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 11:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68880#M11333</guid>
      <dc:creator>sarasunagaram</dc:creator>
      <dc:date>2018-04-06T11:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68881#M11334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Match(((Only({1&amp;lt;Week&amp;gt;}Right(SubField(PeriodWeek,'-',2),2)))),'03','06','09','12'),&lt;/P&gt;&lt;P&gt;sum(if(Period=SubField(PeriodWeek,'-',2), Sales))/5,&lt;/P&gt;&lt;P&gt;sum(if(Period=SubField(PeriodWeek,'-',2), Sales))&lt;/P&gt;&lt;P&gt;/4&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 14:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68881#M11334</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2018-04-06T14:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68882#M11335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some other filters in my set expression.how can give those as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 16:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68882#M11335</guid>
      <dc:creator>sarasunagaram</dc:creator>
      <dc:date>2018-04-06T16:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68883#M11336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if they are based on Period week, adjust the if condition accordingly. Else, you can combine the&amp;nbsp; if with a set expression.&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;&lt;EM&gt;set_expression&lt;/EM&gt;&amp;gt;} if(&lt;EM&gt;condition&lt;/EM&gt;, Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SUM(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(&lt;/SPAN&gt;&lt;EM style="font-size: 13.3333px;"&gt;condition_1 and condition_2&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 17:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68883#M11336</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2018-04-06T17:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68884#M11337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"&amp;lt;=$(=Only({&amp;lt;Week,Month&amp;gt;}subfield(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;PeriodWeek&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;,'-',2) ))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&amp;nbsp; expression using in my chart&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 17:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68884#M11337</guid>
      <dc:creator>sarasunagaram</dc:creator>
      <dc:date>2018-04-06T17:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68885#M11338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what exactly are you trying to achieve here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 17:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68885#M11338</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2018-04-06T17:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68886#M11339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here regardless of my week and month show data according to that row period. my dimension is periodweek. Problem is period is not able&amp;nbsp; to compare with sub field value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 17:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68886#M11339</guid>
      <dc:creator>sarasunagaram</dc:creator>
      <dc:date>2018-04-06T17:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68887#M11340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please confirm - if this is what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If period is 03,06,09 or 12&amp;nbsp; sum(Sales)/5 else sum(Sales)/4.&lt;/P&gt;&lt;P&gt;That's it? Or any other criteria?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2018 17:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression-problem/m-p/68887#M11340</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2018-04-06T17:57:51Z</dc:date>
    </item>
  </channel>
</rss>

