<?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: [ASK] create date set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ASK-create-date-set-analysis/m-p/577662#M214832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this one&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count( {1&amp;lt;YearB=p(YearA),MonthB=p(MonthB),WeekB=p(WeekA)&amp;gt;} [PO Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2014 03:27:19 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2014-04-30T03:27:19Z</dc:date>
    <item>
      <title>[ASK] create date set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-create-date-set-analysis/m-p/577661#M214831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo QlikView User,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 3 table :&lt;/P&gt;&lt;P&gt;1. A (%KeyID, YearA, MonthA, WeekA)&lt;/P&gt;&lt;P&gt;2. B (%ItemCode, [PO Date], YearB, MonthB, WeekB)&lt;/P&gt;&lt;P&gt;3. LINK_TABLE (%KeyID, %ItemCode, YearLink, MonthLink, WeekLink)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on my dashboard for date selection are using YearA, MonthA, WeekA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have to create text with count([PO Date]) &lt;/P&gt;&lt;P&gt;if i test it with date from B table, i have no problem.&lt;/P&gt;&lt;P&gt;but when i use date selection, which is from table A, the data shows no valid result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then i try to using set analysis : &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=count( {1&amp;lt;YearB={"$(=max(YearA))"}&amp;gt;} [PO Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the results are good, if i only select YearA from date selection, and no effect when i select MonthA.&lt;/P&gt;&lt;P&gt;so i try another set analysis :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=count({1&amp;lt;YearB={"$(=max(YearA))"}&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;MonthB={"&amp;lt;=$(=max(MonthA))"}&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;} &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[PO Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the result is uncorrect, the result is less than first set analysis for Year selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any idea to correct my set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thx and sorry for my bad english&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 03:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-create-date-set-analysis/m-p/577661#M214831</guid>
      <dc:creator />
      <dc:date>2014-04-30T03:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] create date set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-create-date-set-analysis/m-p/577662#M214832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this one&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count( {1&amp;lt;YearB=p(YearA),MonthB=p(MonthB),WeekB=p(WeekA)&amp;gt;} [PO Date])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 03:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-create-date-set-analysis/m-p/577662#M214832</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-04-30T03:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] create date set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-create-date-set-analysis/m-p/577663#M214833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;many thx Liron..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw what p() function is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this solution is really helping me a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 04:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-create-date-set-analysis/m-p/577663#M214833</guid>
      <dc:creator />
      <dc:date>2014-04-30T04:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: [ASK] create date set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/ASK-create-date-set-analysis/m-p/577664#M214834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;p() means that you get all possible values from the field inside , YearA for example&lt;/P&gt;&lt;P&gt;there is another useful function which is e() you will get all the values exclude those that are in the field inside the function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 06:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ASK-create-date-set-analysis/m-p/577664#M214834</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-04-30T06:09:25Z</dc:date>
    </item>
  </channel>
</rss>

