<?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: Showing incorrect data while applying set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734618#M263029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The format for month and restore month are same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 19:33:19 GMT</pubDate>
    <dc:creator>neha_sri</dc:creator>
    <dc:date>2014-09-18T19:33:19Z</dc:date>
    <item>
      <title>Showing incorrect data while applying set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734616#M263027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created a data model linked with calender.Now I have added one more table that also contains date field and I don't want to link that date field with calender,but in front end I want to show data based on calender year,month selection.So i have tried below mentioned set analysis&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Code]={'M'},Year=p([Restore Year]),Month=p([Restore Month]),Year=,Month=&amp;gt;}[WO ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Year and Month are my calender year and month and &lt;/P&gt;&lt;P&gt;Restore Year and [Restore Month] are created from my new table date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression is not showing the correct data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out.Thanks in anticipation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734616#M263027</guid>
      <dc:creator>neha_sri</dc:creator>
      <dc:date>2014-09-18T19:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Showing incorrect data while applying set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734617#M263028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you validated the month value? Are Month and Restore Month in the same format?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe they are numeric and alphabetic, like 3 and Mar...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, you should create an addition field like MonthNum and RestoreMonthNum in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734617#M263028</guid>
      <dc:creator>danielblank</dc:creator>
      <dc:date>2014-09-18T19:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Showing incorrect data while applying set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734618#M263029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The format for month and restore month are same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734618#M263029</guid>
      <dc:creator>neha_sri</dc:creator>
      <dc:date>2014-09-18T19:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Showing incorrect data while applying set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734619#M263030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;numeric?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734619#M263030</guid>
      <dc:creator>danielblank</dc:creator>
      <dc:date>2014-09-18T19:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Showing incorrect data while applying set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734620#M263031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another thing that caught my eye: the syntax of the p()... it should be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;Year={[Restore year]}, Month={[Restore Month]}&amp;gt;} [WO ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using P() in Set Analysis would require another syntax, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;CustomerID=P({1&amp;lt;Product={'Shoe'}&amp;gt;})&amp;gt;} CustomerID) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 19:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734620#M263031</guid>
      <dc:creator>danielblank</dc:creator>
      <dc:date>2014-09-18T19:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Showing incorrect data while applying set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734621#M263032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count({&amp;lt;[Code]={'M'},Year=P([Restore Year] = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year&lt;/SPAN&gt;),Month=P([Restore Month] = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Month&lt;/SPAN&gt;),Year=,Month=&amp;gt;}[WO ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 21:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734621#M263032</guid>
      <dc:creator />
      <dc:date>2014-09-18T21:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Showing incorrect data while applying set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734622#M263033</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count({&amp;lt;[Code]={'M'},Year=P([Restore Year]),Month=P([Restore Month])&amp;gt;}[WO ID])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 03:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-incorrect-data-while-applying-set-analysis/m-p/734622#M263033</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-19T03:52:49Z</dc:date>
    </item>
  </channel>
</rss>

