<?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 straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-straight-table/m-p/1107604#M522115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are your fields related in your model? And how many field values are you selecting in Month and Year at max?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you say, it doesn't work, can you please detail what you get and what you expect to get instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using your original approach, this might work better for multiple value selections:&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; font-size: 13px;"&gt;&lt;EM&gt;=count({&amp;lt;orderMonth = {$(=GetFieldSelections(Month))},orderYear= {$(=GetFieldSelections(Year))}, Month=&amp;gt;}order_id)&lt;/EM&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; font-size: 13px;"&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; font-size: 13px;"&gt;[removed the double quotes. You want to element list like {2013,2015}&amp;nbsp; for Year modifier, not {"2013,2015"} ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Sunny's suggestion might also work if you are fine with copying also possible values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;If you want to use an analogon to GetFieldSelections(), though, and not retrieve the all possible values, use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count({&amp;lt;orderMonth = Month,orderYear= Year, Month=&amp;gt;}order_id)&lt;/EM&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; font-size: 13px;"&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/EM&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; font-size: 13px;"&gt;[BTW: Do you need to clear the selections in Year field, too?]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count({&amp;lt;orderMonth = Month,orderYear= Year, Month=, Year= &amp;gt;}order_id)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All approaches assume that the fields Month and orderMonth (same for the year fields) show matching values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2016 12:42:23 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-14T12:42:23Z</dc:date>
    <item>
      <title>Set analysis straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-straight-table/m-p/1107602#M522113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table in a sheet where i need the staright table to show data from a different calendar.&lt;/P&gt;&lt;P&gt;i want the straight table to show data from orderMonth and orderYear.&lt;/P&gt;&lt;P&gt;The other components of sheet are sorting from Month and Year field.i tried the below set analysis but it doesnt work.&lt;/P&gt;&lt;P&gt;count({&amp;lt;orderMonth = {"$(=GetFieldSelections(Month))"},orderYear= {"$(=GetFieldSelections(Year))"}, Month=&amp;gt;}order_id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two calendars in my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Jaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 09:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-straight-table/m-p/1107602#M522113</guid>
      <dc:creator />
      <dc:date>2016-06-14T09:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-straight-table/m-p/1107603#M522114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try 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; font-size: 13px;"&gt;&lt;STRONG&gt;Count({&amp;lt;orderMonth = P(Month), orderYear = P(Year), Month=&amp;gt;}order_id)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 11:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-straight-table/m-p/1107603#M522114</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-06-14T11:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-straight-table/m-p/1107604#M522115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How are your fields related in your model? And how many field values are you selecting in Month and Year at max?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you say, it doesn't work, can you please detail what you get and what you expect to get instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using your original approach, this might work better for multiple value selections:&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; font-size: 13px;"&gt;&lt;EM&gt;=count({&amp;lt;orderMonth = {$(=GetFieldSelections(Month))},orderYear= {$(=GetFieldSelections(Year))}, Month=&amp;gt;}order_id)&lt;/EM&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; font-size: 13px;"&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; font-size: 13px;"&gt;[removed the double quotes. You want to element list like {2013,2015}&amp;nbsp; for Year modifier, not {"2013,2015"} ]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;Sunny's suggestion might also work if you are fine with copying also possible values.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;If you want to use an analogon to GetFieldSelections(), though, and not retrieve the all possible values, use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count({&amp;lt;orderMonth = Month,orderYear= Year, Month=&amp;gt;}order_id)&lt;/EM&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; font-size: 13px;"&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/EM&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; font-size: 13px;"&gt;[BTW: Do you need to clear the selections in Year field, too?]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=count({&amp;lt;orderMonth = Month,orderYear= Year, Month=, Year= &amp;gt;}order_id)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All approaches assume that the fields Month and orderMonth (same for the year fields) show matching values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 12:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-straight-table/m-p/1107604#M522115</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-14T12:42:23Z</dc:date>
    </item>
  </channel>
</rss>

