<?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 and Custom Table Help Needed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129399#M463958</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see where you changed the Fiscal date to fields to actual date fields, but the _Dates selection SMLY shows a zero (0) value when selected.&amp;nbsp; I selected a month &amp;amp; year so that it will show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's this expression:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;FiscalYearMonth = {"$(=vYMOM)"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2016 15:17:30 GMT</pubDate>
    <dc:creator>jcampbell474</dc:creator>
    <dc:date>2016-05-24T15:17:30Z</dc:date>
    <item>
      <title>Set Analysis and Custom Table Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129393#M463952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two issues that have effectively become a road block.&amp;nbsp; I've tried many, many different approaches and cannot arrive at a solution that works 100%.&amp;nbsp; They either do not work at all or partially.&amp;nbsp; Here are my dilemmas:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have three listboxes for the user to select what rows/columns they want in the straight table..&amp;nbsp; 1) Dimensions 2) Metrics 3) Date Views.&amp;nbsp; Dimensions and Metrics work fine.&amp;nbsp; When I select LYTD (Last Year to Date), the YTD column appears too.&amp;nbsp; I assume it has to do with Wildmatch and/or the asterisks around LYTD.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the conditional show expression I'm using for LYTD&amp;nbsp; YTD is the same, with the exception of LYTD is replaced with YTD: &lt;/P&gt;&lt;P&gt;=WildMatch ( GetFieldSelections(_Metrics, '|'), '*NB*' )&amp;nbsp; and WildMatch ( GetFieldSelections(_Dates, '|'), '*LYTD*' ) = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried Match, removed the asterisks, etc...&amp;nbsp; I've also used =SubStringCount(Concat(_Columns, '|'), 'xxx')&amp;nbsp; But nothing works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the inline table I'm loading:&lt;/P&gt;&lt;P&gt;Dates:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[_Dates,_DateNum&lt;/P&gt;&lt;P&gt;Yr/Mth,00&lt;/P&gt;&lt;P&gt;YTD,01&lt;/P&gt;&lt;P&gt;LYTD,02&lt;/P&gt;&lt;P&gt;SMLY,03];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Set analysis and a date range.&amp;nbsp; To populate the LYTD selection above, again, I've tried many different expressions.&amp;nbsp; Here are a few:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;FiscalYearMonth={"&amp;gt;=$(vpFYMStart) &amp;lt;=$(vprevcurrFYM)"}&amp;gt;} sold)&lt;/P&gt;&lt;P&gt;//sum({$&amp;lt;FiscalYear={'$(vpFY)'}&amp;gt;}sold)&lt;/P&gt;&lt;P&gt;//sum(if(FiscalYearMonth&amp;gt;='$(vpFYMStart)' and FiscalYearMonth&amp;lt;='$(vprevcurrFYM)',sold))&lt;/P&gt;&lt;P&gt;//Sum({$&amp;lt;FiscalYearMonth={"&amp;gt;=$(vcFYMStart)-100 &amp;lt;=$(vcurrFYM)-100"}&amp;gt;} sold)&lt;/P&gt;&lt;P&gt;//Sum({$&amp;lt;FiscalYearMonth={"&amp;gt;=$(vpFYMStart) &amp;lt;=($(vcurrFYM)-100)"}&amp;gt;} sold)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vpFYMStart = Previous Fiscal Year Month Start.&amp;nbsp; Ex. 201500.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vprevcurrFYM = Previous (current) Fiscal Year Month.&amp;nbsp; Mirrors the current FiscalYearMonth to one year ago.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vcurrFYM = Current Fiscal Year month.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of them work if a date is not selected.&amp;nbsp; Once a date is selected, it zeros out.&amp;nbsp; In the set analysis, $ works as opposed to 1.&amp;nbsp; I need the user to be able to select a fiscal year and month(2) in 2016, and see the sum for the same date range in the previous year.&amp;nbsp; I feel like it is or should be simple and I'm overthinking it.&amp;nbsp; But, I could be wrong.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any and all help will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 00:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129393#M463952</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-05-24T00:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis and Custom Table Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129394#M463953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample where you have been playing around with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 01:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129394#M463953</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-24T01:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis and Custom Table Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129395#M463954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny T, you're always so quick to help.&amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a sample of what I'm doing.&amp;nbsp; It's attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 13:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129395#M463954</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-05-24T13:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis and Custom Table Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129396#M463955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 13:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129396#M463955</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-24T13:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis and Custom Table Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129397#M463956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's it, you fixed it.&amp;nbsp; So, putting pipes around the value is what it needed?&amp;nbsp; I googled it for hours and didn't see that anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get a chance to look at the Set Analysis?&amp;nbsp; I really just need it to:&lt;/P&gt;&lt;P&gt;1. Show the same FiscalYearMonth of the previous year;&lt;/P&gt;&lt;P&gt;2. Show YTD of the current year (I got this one)&lt;/P&gt;&lt;P&gt;2. Show YTD of the previous year depending on the FiscalYearMonth the user selects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 13:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129397#M463956</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-05-24T13:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis and Custom Table Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129398#M463957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fiscalMonthYear field was not a date field. I changed that to a date field in the script because finding LYTD and other measure such as those are easier to work with when you have dates. See if the attached helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 14:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129398#M463957</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-24T14:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis and Custom Table Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129399#M463958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see where you changed the Fiscal date to fields to actual date fields, but the _Dates selection SMLY shows a zero (0) value when selected.&amp;nbsp; I selected a month &amp;amp; year so that it will show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's this expression:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;FiscalYearMonth = {"$(=vYMOM)"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 15:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129399#M463958</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-05-24T15:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis and Custom Table Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129400#M463959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 15:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129400#M463959</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-24T15:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis and Custom Table Help Needed</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129401#M463960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it!&amp;nbsp; Thank you, sir.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is it best practice to convert fiscal periods to calendar date?&amp;nbsp; I can see using QV's built-in functionality making them easier to work with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 15:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Custom-Table-Help-Needed/m-p/1129401#M463960</guid>
      <dc:creator>jcampbell474</dc:creator>
      <dc:date>2016-05-24T15:47:07Z</dc:date>
    </item>
  </channel>
</rss>

