<?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 analysis issue in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655785#M448244</link>
    <description>&lt;P&gt;Many Thanks Arthur,&lt;/P&gt;&lt;P&gt;Your suggestion has helped me make the expression that worked with me.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2019 06:58:15 GMT</pubDate>
    <dc:creator>Edge</dc:creator>
    <dc:date>2019-12-10T06:58:15Z</dc:date>
    <item>
      <title>set analysis issue in expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655224#M448186</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the below set analysis for a chart. I have another field&amp;nbsp; "semester and year name" in the dimensions. I want the below formula to distinct count "EMPLID " for semesters whose codes = the value of the ones in the chart -100.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help? My main issue is with SemeserNO set analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count(distinct {$&amp;lt;[Semester Year Name]=,[Appliation Submit Date]={'&amp;lt;=$(=Date(Today()-365))'},[SemesterNO]={'=$(=SemesterNO-100)'}&amp;gt;} AppAdmEnr.EMPLID)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655224#M448186</guid>
      <dc:creator>Edge</dc:creator>
      <dc:date>2024-11-16T01:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655279#M448190</link>
      <description>Try this:&lt;BR /&gt;Count(distinct {$&amp;lt;[Semester Year Name]=,[Appliation Submit Date]={'&amp;lt;=$(=Date(Today()-365))'},[SemesterNO]={"$(=max(SemesterNO)-100)"}&amp;gt;} AppAdmEnr.EMPLID)</description>
      <pubDate>Mon, 09 Dec 2019 01:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655279#M448190</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-12-09T01:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655762#M448241</link>
      <description>&lt;P&gt;Many Thanks Arthur for your message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the below but it is not working.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655762#M448241</guid>
      <dc:creator>Edge</dc:creator>
      <dc:date>2019-12-10T06:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655784#M448243</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I just wanted to update on this:&lt;/P&gt;&lt;P&gt;So what kind of worked with me is the below, although it is not the final version.&lt;/P&gt;&lt;P&gt;max({$&amp;lt;[Semester Year Name]=,[SemesterNO]={"$(=max(SemesterNO)-100)","$(=max(SemesterNO,2)-100)"}&amp;gt;} SemesterNO)&lt;/P&gt;&lt;P&gt;To explain, in the set analysis, I disregard the&amp;nbsp;[Semester Year Name] selection with this&amp;nbsp;[Semester Year Name]=&lt;/P&gt;&lt;P&gt;But even though I disregarded the selection, I can get the previous semester by subtracting 100 from the selected semesters with this: [SemesterNO]={&amp;nbsp;"$(=max(SemesterNO)-100)"&lt;BR /&gt;Seems like QlikView somehow knows that it needs to subtract 100 from the semesters in the filter which are showing in the chart. Don't ask me how or why.&lt;BR /&gt;&lt;BR /&gt;Finally, because I have 2 semesters in the chart I use max(somefield,2). The 2 in the max formula fetches me the second max. if there is only semester it will show that, with this:[SemesterNO]={"$(=max(SemesterNO)-100)","$(=max(SemesterNO,2)-100)"}&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655784#M448243</guid>
      <dc:creator>Edge</dc:creator>
      <dc:date>2019-12-10T06:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in expression</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655785#M448244</link>
      <description>&lt;P&gt;Many Thanks Arthur,&lt;/P&gt;&lt;P&gt;Your suggestion has helped me make the expression that worked with me.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-expression/m-p/1655785#M448244</guid>
      <dc:creator>Edge</dc:creator>
      <dc:date>2019-12-10T06:58:15Z</dc:date>
    </item>
  </channel>
</rss>

