<?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 Issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163853#M912586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you......Are you a wizard?&amp;nbsp; I've been playing with this function for &amp;gt; 8 hours now.&amp;nbsp; So just to clarify you also deleted the "" as well as the = sign. Just out of curiosity, if you could would you please explain the logic behind this change? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2016 15:46:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-09T15:46:06Z</dc:date>
    <item>
      <title>Set Analysis Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163851#M912584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am fairly new to Qlikview, having only been using it for about 3 weeks. I am having a set analysis issue. I am trying to create an expression that returns a column with a running daily average based on a transaction code dimension. My code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum ({&lt;/P&gt;&lt;P&gt;&amp;lt;[Day of Week]=&lt;/P&gt;&lt;P&gt;{"=$(=num(&lt;/P&gt;&lt;P&gt;weekday(&lt;/P&gt;&lt;P&gt;date(&lt;/P&gt;&lt;P&gt;date#(&lt;/P&gt;&lt;P&gt;vSpecifyDate, 'MM-DD-YYYY')&lt;/P&gt;&lt;P&gt;,'MM-DD-YYYY'))))&lt;/P&gt;&lt;P&gt;"}&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;} Frequency)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With [Day of the Week] being a dimension referencing a weekday like Monday, Tuesday.... in a numeric or text form. vSpecifyDate is a variable that references a date value in an input box, and Frequency being the numeric dimension I am trying to sum. While the table is sorted on a transaction code dimension.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Ultimately I will use this expression to identify and highlight statistical outlier cells in a straight table. At the moment I am trying to create a column in a straight table that will return the correctly summed value for Frequency. My issue is this: the expression &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;=num&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(weekday(date(date#(vSpecifyDate, 'MM-DD-YYYY'),'MM-DD-YYYY'))) successfully returns a number that corresponds with a specific day of the week. However when put it in the larger expression it will not correctly return that day of the week's average frequency value, instead it will return the entire summed frequency value. When I delete&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;=num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(weekday(date(date#(vSpecifyDate, 'MM-DD-YYYY'),'MM-DD-YYYY')))&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and replace it with the same number that it returns, my larger &lt;/SPAN&gt;expression&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; will correctly sum only that day of the week. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Would any of you have any ideas why this &lt;/SPAN&gt;occurs&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;?&amp;nbsp; Or how to fix it so that the set analysis works? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;I have already read this entire document &lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/download/4951-6-93291/Les set analysis_ENG.pdf" title="https://community.qlik.com/servlet/JiveServlet/download/4951-6-93291/Les%20set%20analysis_ENG.pdf" target="_blank"&gt;https://community.qlik.com/servlet/JiveServlet/download/4951-6-93291/Les%20set%20analysis_ENG.pdf&lt;/A&gt; , watched multiple Youtube videos but to no avail, and read other discussions on this blog.&amp;nbsp; Please help me.&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163851#M912584</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163852#M912585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try removing the = character directly in front of $(=num(. In other words replace &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{"=$(=num( with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{"$(=num(:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum ({&amp;lt;[Day of Week]={$(=num(weekday(date(date#(vSpecifyDate, 'MM-DD-YYYY'),'MM-DD-YYYY'))))}&amp;gt;} Frequency)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 15:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163852#M912585</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-06-09T15:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163853#M912586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you......Are you a wizard?&amp;nbsp; I've been playing with this function for &amp;gt; 8 hours now.&amp;nbsp; So just to clarify you also deleted the "" as well as the = sign. Just out of curiosity, if you could would you please explain the logic behind this change? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 15:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163853#M912586</guid>
      <dc:creator />
      <dc:date>2016-06-09T15:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163854#M912587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I'm kinda impressed that you're messing around with set analysis expressions like that with only 3 weeks of experience. I have a couple of years more experience. That probably helped. But perhaps just coming in with a fresh mind allowed me to see it quicker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah, I removed the quotes too. Your expression returns a number so no quotes are necessary in this case. Actually the date() function inside the weekday function can be remove too. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 16:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163854#M912587</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-06-09T16:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Issues</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163855#M912588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I can't express how helpful you were. I only hope to someday be at your level. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&amp;nbsp; Cheers mate. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 16:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Issues/m-p/1163855#M912588</guid>
      <dc:creator />
      <dc:date>2016-06-09T16:07:02Z</dc:date>
    </item>
  </channel>
</rss>

