<?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: expression criteria by dates fields only-set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296623#M110006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt;Hi,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt;I agree with Stefan. It will be good if you can post a sample QV document.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt;Meanwhile, have you tried this expression...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;=SUM({$&amp;lt;[$(=Concat({1&amp;lt;$Field-=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: red; font-size: 9pt;"&gt;{'date', ‘month’, ‘year’, ‘week’}&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;&amp;gt;}distinct $Field,'],[')&amp;amp;']=')&amp;gt;} &lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: red; font-size: 9pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;This should work as long as you have the correct field names...&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;Good luck!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;Cheers - DV&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2011 12:21:32 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2011-11-09T12:21:32Z</dc:date>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296615#M109998</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;lets say i have a model with 100 fields. &lt;/P&gt;&lt;P&gt;in one of my expression i need to count the days, for example i choose january and year 2011 i get 31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i want to count days ignoring any selection in&amp;nbsp; any fields except my dates field selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example i want to calculate the average sales for a day in january.&lt;/P&gt;&lt;P&gt;so if product sold for 900 pieces in one day in january its should give me 900/31 average sales for a day, even i select the product &lt;/P&gt;&lt;P&gt;( this selection leave me with 1 day from january).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope its clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 00:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296615#M109998</guid>
      <dc:creator />
      <dc:date>2011-11-04T00:58:56Z</dc:date>
    </item>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296616#M109999</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;I am not completely sure if I understood, but maybe you could try something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=day(monthend(max( Date)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should give you the number of days of the month where the max possible Date is located in. So if you select 2011 and January, even when you limit the possible dates in this month by explicite or implicite selection (e.g. to one remaining), you should get 31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 01:13:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296616#M109999</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-04T01:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296617#M110000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Hi,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Not sure, if I have fully understood the requirement. However, if you wanted to ignore all the selections except the Date field then you can use the below Set Analysis Expression.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;I am assuming Date and Sales as the field names. Ofcourse, please change them based on your requirement. Also, please feel free to add more fields after Date field.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: 'Trebuchet MS','sans-serif';"&gt;=AVG({$&amp;lt;[$(=Concat({1&amp;lt;$Field-=&lt;SPAN style="color: red;"&gt;{'Date'}&lt;/SPAN&gt;&amp;gt;}distinct $Field,'],[')&amp;amp;']=')&amp;gt;} &lt;SPAN style="color: #ff0000;"&gt;Sales&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: 'Trebuchet MS','sans-serif';"&gt;Cheers - DV&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: 'Trebuchet MS','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: 'Trebuchet MS','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG style="font-family: 'Trebuchet MS','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 15:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296617#M110000</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-11-04T15:37:18Z</dc:date>
    </item>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296618#M110001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for all the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ill clear my question:&lt;/P&gt;&lt;P&gt;lets say i have model with 100 fields.&lt;/P&gt;&lt;P&gt;i want to have an expression that is depend on selection of 4 fields of dates like date, month, year, week.&lt;/P&gt;&lt;P&gt;i dont know what will be the selection of the 4 fields but i want to consider it only, and mean time ignore&lt;/P&gt;&lt;P&gt;any selection in all other 96 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 20:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296618#M110001</guid>
      <dc:creator />
      <dc:date>2011-11-04T20:46:11Z</dc:date>
    </item>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296619#M110002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried a set expression like suggested by D V then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think another way would be to use set identifier 1 and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( &lt;STRONG&gt;{1&amp;lt;date=p(date),month=p(month),year=p(year),week=p(week)&amp;gt;} &lt;/STRONG&gt;Value) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 21:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296619#M110002</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-04T21:15:21Z</dc:date>
    </item>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296620#M110003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think your solution is good ill try in production soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Nov 2011 20:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296620#M110003</guid>
      <dc:creator />
      <dc:date>2011-11-05T20:45:19Z</dc:date>
    </item>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296621#M110004</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;i am sorry , but the use of the p fuction in set analysis is not work since it bring posible values &lt;/P&gt;&lt;P&gt;in the by the selection even the 1 is set in the begining of the set analysis expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;doron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 17:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296621#M110004</guid>
      <dc:creator />
      <dc:date>2011-11-08T17:29:45Z</dc:date>
    </item>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296622#M110005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah yes, you are right, that's probably not what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried D V's expression? I think this should be the right approach then. &lt;/P&gt;&lt;P&gt;There might be an equal sign missing after the first ] but in general it should work. It just clears all other fields with &amp;lt;Field1=, Field2=, Field2= &amp;gt; using system fields to retrieve all field names (so in your example, some 99 fields getting cleared).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But maybe I am still not getting all of your requirements, so maybe a small concrete sample might help us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 23:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296622#M110005</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-08T23:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296623#M110006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt;Hi,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt;I agree with Stefan. It will be good if you can post a sample QV document.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt;Meanwhile, have you tried this expression...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #333333; font-size: 10pt; font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;=SUM({$&amp;lt;[$(=Concat({1&amp;lt;$Field-=&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: red; font-size: 9pt;"&gt;{'date', ‘month’, ‘year’, ‘week’}&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;&amp;gt;}distinct $Field,'],[')&amp;amp;']=')&amp;gt;} &lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: red; font-size: 9pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;This should work as long as you have the correct field names...&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;Good luck!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="background-color: white;"&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN" style="color: #636363; font-size: 9pt;"&gt;Cheers - DV&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 12:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296623#M110006</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-11-09T12:21:32Z</dc:date>
    </item>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296624#M110007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we can restrict the selection using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;following syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({ &amp;lt; field1={$(=only(field1))},field2={'Q1'},Field3=,field4=&amp;gt; } value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use like above &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where field 4 is removed from selection i.e there is no effect of selection of field4 on the expression &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 12:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296624#M110007</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-11-09T12:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296625#M110008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;D V,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please verify that you don't miss an equal sign? I think that it should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;[$(=Concat({1&amp;lt;$Field-={'date', ‘month’, ‘year’, ‘week’}&amp;gt;}distinct $Field,']&lt;SPAN style="color: #ff0000; font-size: 12pt;"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/SPAN&gt; ,[')&amp;amp;']=')&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With out that equal sign, the result will be like&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;[Field1], [Field2], [Field3], [Field4]= &amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so only the last field will be cleared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 22:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296625#M110008</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-09T22:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296626#M110009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;Hi Stefan,&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;That’s correct! Logically, I need to have the “=” sign. Although it works on my system without the “=” sign. I am using QV9 with SR7.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;&lt;EM&gt;Thanks - DV&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 11:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296626#M110009</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-11-10T11:57:51Z</dc:date>
    </item>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296627#M110010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;thanks for all the answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the question is more general.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why set analysis is set to find what to choose and doesnt know from what to ignore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the question is simple - give an expression that is depend on fields field1,field2.......and ignore the rest of the model fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for sure my selection in the fields its depened should be dynamic and constant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it clear my question.&lt;/P&gt;&lt;P&gt;dt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Nov 2011 16:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296627#M110010</guid>
      <dc:creator />
      <dc:date>2011-11-20T16:19:41Z</dc:date>
    </item>
    <item>
      <title>expression criteria by dates fields only-set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296628#M110011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, have you tried D Vs expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;[$(=Concat({1&amp;lt;$Field-=&lt;STRONG&gt;{'date', ‘month’, ‘year’, ‘week’}&lt;/STRONG&gt;&amp;gt;}distinct $Field,']= ,[')&amp;amp;']=')&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of the fields printed bold, you specify the fields you want still to be considered, but want all other fields to be cleared. Instead of "Value", you specify your field you want to sum its values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that we still miss something important here, so please post a small example and specify what you expect to see if you select specified values on specified fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Nov 2011 16:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-criteria-by-dates-fields-only-set-analysis/m-p/296628#M110011</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-20T16:31:42Z</dc:date>
    </item>
  </channel>
</rss>

