<?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 Qlik Set Expression &amp;amp; Filtering in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520807#M106459</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could someone kindly explain how the filter fields present in the following measure expression works in Qlik.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want to count the Quantity values for a dynamic date period, but I don't understand how finyear, finweek &amp;amp; CalendarMonth actually behave as the measure gives different calculated values when this measure is put in a combo chart visual with CalendarMonth on X axis and This measure on Y axis.&lt;/P&gt;&lt;P&gt;I have finyear, finweek, CalendarMonth and all such fields from Calendar table as filter/slicer in the qlik sheet.&lt;/P&gt;&lt;P&gt;vMax = max(weekstart (cal_date))&lt;/P&gt;&lt;P&gt;vMin = date(max(weekstart(cal_date) - (52*7)))&lt;/P&gt;&lt;P&gt;Year_Count =Count({&amp;lt;date={'&amp;gt;=$(vMin)&amp;lt;=$(vMax)'},[Quantity]={*}-{'0'},finweek=,finyear=,CalendarMonth=&amp;gt;}[Quantity])&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2025 05:51:45 GMT</pubDate>
    <dc:creator>Seadon1210</dc:creator>
    <dc:date>2025-06-11T05:51:45Z</dc:date>
    <item>
      <title>Qlik Set Expression &amp; Filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520807#M106459</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could someone kindly explain how the filter fields present in the following measure expression works in Qlik.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want to count the Quantity values for a dynamic date period, but I don't understand how finyear, finweek &amp;amp; CalendarMonth actually behave as the measure gives different calculated values when this measure is put in a combo chart visual with CalendarMonth on X axis and This measure on Y axis.&lt;/P&gt;&lt;P&gt;I have finyear, finweek, CalendarMonth and all such fields from Calendar table as filter/slicer in the qlik sheet.&lt;/P&gt;&lt;P&gt;vMax = max(weekstart (cal_date))&lt;/P&gt;&lt;P&gt;vMin = date(max(weekstart(cal_date) - (52*7)))&lt;/P&gt;&lt;P&gt;Year_Count =Count({&amp;lt;date={'&amp;gt;=$(vMin)&amp;lt;=$(vMax)'},[Quantity]={*}-{'0'},finweek=,finyear=,CalendarMonth=&amp;gt;}[Quantity])&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 05:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520807#M106459</guid>
      <dc:creator>Seadon1210</dc:creator>
      <dc:date>2025-06-11T05:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Set Expression &amp; Filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520810#M106460</link>
      <description>&lt;P&gt;You are doing a count of the quantity field where it is not 0. Where the date is between the min and max variables, ignoring any selections on finweek, finyear, calendarMonth.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You calendar is created by your dev so how they are defined you need to speak to them on how they are defined.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 06:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520810#M106460</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2025-06-11T06:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Set Expression &amp; Filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520825#M106462</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29012"&gt;@Mark_Little&lt;/a&gt;&amp;nbsp;for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just want to get a clear understanding of what does "ignoring any selection on finweek, finyear, CalendarMonth" mean actually. If I select any year from finyear slicer the visual bars of the measure show a change of bat length(i.e shows different count values). If the selection of the finyear should be ignored, why is the visual showing a change of measure output values?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 07:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520825#M106462</guid>
      <dc:creator>Seadon1210</dc:creator>
      <dc:date>2025-06-11T07:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Set Expression &amp; Filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520827#M106463</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/324884"&gt;@Seadon1210&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess you need to add the same set analysis expression in&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;vMax&amp;nbsp; e&amp;nbsp;&amp;nbsp;vMin variables as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;vMax = max( &lt;FONT color="#FF0000"&gt;{&amp;lt; &lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;finweek,finyear,CalendarMonth &amp;gt;}&lt;/FONT&gt;&amp;nbsp;&lt;/SPAN&gt;weekstart (cal_date))&lt;/P&gt;&lt;P&gt;vMin = date(max( &lt;FONT color="#FF0000"&gt;{&amp;lt; &lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;finweek,finyear,CalendarMonth &amp;gt;}&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;weekstart(cal_date) - (52*7)))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it can help.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 08:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520827#M106463</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2025-06-11T08:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Set Expression &amp; Filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520837#M106467</link>
      <description>&lt;P&gt;I would advise you read up on Set Analysis, how it is structured and how it is applied.&lt;/P&gt;&lt;P&gt;The part of set analysis within {&amp;lt;&amp;gt;} is called the set expression. This returns the set of data that your&amp;nbsp;&lt;SPAN&gt;aggregation&amp;nbsp;on (i.e. your count.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With Qlik's associate engine your set analysis applied on top of any selections made with in your app. when you add something like&amp;nbsp;finweek= and have a selection 2025 in finyear, you set analysis will still return values for all Finyears&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 09:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520837#M106467</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2025-06-11T09:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Set Expression &amp; Filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520877#M106476</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29012"&gt;@Mark_Little&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set expressions is utilised to filter down full model dataset to a specific one needed. How set expression behaves with any slicer field selection was a doubt as it was not clearly available ito me n Qlik documentations I could find. Can you provide the appropriate resource where this is explained clearly?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 13:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520877#M106476</guid>
      <dc:creator>Seadon1210</dc:creator>
      <dc:date>2025-06-11T13:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Set Expression &amp; Filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520878#M106477</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/112"&gt;@agigliotti&lt;/a&gt;&amp;nbsp;for your response.&lt;/P&gt;&lt;P&gt;The variables aren't to be changed, they are suppose to behave as they are defined for. The output given by the Year_count measure is of concern as how the filters in the set expression of the measure would behave with the selection in slicer filters put outside in the sheet(calender fields present in measure are utilised as slicer along with other couple calender fields). The explanation of which I didn't find in any qlik resource, would appreciate if you could provide any.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 01:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2520878#M106477</guid>
      <dc:creator>Seadon1210</dc:creator>
      <dc:date>2025-06-12T01:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Set Expression &amp; Filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2521033#M106490</link>
      <description>&lt;P&gt;Take a look here&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/ChartFunctions/SetAnalysis/set-analysis-expressions.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also look at the free courses on Qlik learning.&lt;/P&gt;&lt;P&gt;If you want them to stay the full data set you use the 1 qualifier&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vMax = max(&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;{&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT color="#FF0000"&gt;1 &amp;gt;}&lt;/FONT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;weekstart (cal_date))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once defines the whole set regardless of any selections&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 13:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2521033#M106490</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2025-06-12T13:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Set Expression &amp; Filtering</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2521074#M106496</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29012"&gt;@Mark_Little&lt;/a&gt;&amp;nbsp;for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 01:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Set-Expression-amp-Filtering/m-p/2521074#M106496</guid>
      <dc:creator>Seadon1210</dc:creator>
      <dc:date>2025-06-13T01:40:20Z</dc:date>
    </item>
  </channel>
</rss>

