<?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: Trend in Pivot table with Value list not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452579#M35601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a weird behavior... I would suggest creating an island table and use that instead of ValueList&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;COS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Dim will be your new dimension and use an expression like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(Only({1} Dim), 'Sales', 'COS'), &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;$(vSalesCY), &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;$(vCOSCY))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Aug 2017 11:24:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-24T11:24:05Z</dc:date>
    <item>
      <title>Trend in Pivot table with Value list not working</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452575#M35597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have define the below value list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;valuelist('Sales', 'Cost of Sales', 'GP')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have define a Value formula as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&amp;nbsp; Valuelist($(vListHeads1)) ='Sales', $(vSalesCY),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(&amp;nbsp; Valuelist($(vListHeads1)) ='Cost of Sales', $(vCostOfSalesCY),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(&amp;nbsp; Valuelist($(vListHeads1)) ='GP', $(vGPCY),&lt;SPAN style="font-size: 10pt;"&gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function works fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to use a pivot table to show the trend by month of these variables. The filter is based on the month. If I have no selection, it shows totals for all months of the current year. but when I select a month, it don't show the totals (by month) for the that year. it just shows that month only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below is the formula I have used for vSalesCY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(getselectedcount([Month Year])&amp;lt;1, &lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Statistics Name]={'Sales - Retail'}, [Year] = {"$(=Year(AddMonths(Today(),-1)))"} ,[Month No]=,[Month Year]=,[Month]=,[MonthID]= &amp;gt;} [Gl Report Month Balance] * Multiplier)&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Statistics Name]={'Sales - Retail'}, [Year] = {"$(=Max(Year))"},[Month No]=,[Month Year]=,[Month]=,[MonthID]= &amp;gt;} [Gl Report Month Balance] * Multiplier)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 15:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452575#M35597</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2017-08-23T15:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trend in Pivot table with Value list not working</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452576#M35598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried making simple pivot using value list and it don't work with the month trend. Without value list it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 16:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452576#M35598</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2017-08-23T16:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Trend in Pivot table with Value list not working</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452577#M35599</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 to show the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 16:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452577#M35599</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-23T16:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trend in Pivot table with Value list not working</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452578#M35600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls. find attached the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the sample dashboard, My requirement is if the user selects any month, it should show the figures for all month during the year. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 10:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452578#M35600</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2017-08-24T10:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trend in Pivot table with Value list not working</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452579#M35601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a weird behavior... I would suggest creating an island table and use that instead of ValueList&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;COS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Dim will be your new dimension and use an expression like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(Only({1} Dim), 'Sales', 'COS'), &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;$(vSalesCY), &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;$(vCOSCY))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 11:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452579#M35601</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-24T11:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trend in Pivot table with Value list not working</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452580#M35602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is not working. it gives the same thing as before.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 14:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452580#M35602</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2017-08-24T14:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trend in Pivot table with Value list not working</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452581#M35603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach the updated qvw file where you have added the Inline Table into the app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 14:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452581#M35603</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-24T14:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trend in Pivot table with Value list not working</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452582#M35604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls. find attached the result app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 16:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452582#M35604</guid>
      <dc:creator>madnanansari</dc:creator>
      <dc:date>2017-08-24T16:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trend in Pivot table with Value list not working</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452583#M35605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure why we are seeing this behavior... this might have been a new bug because I have never seen this before....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 19:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-in-Pivot-table-with-Value-list-not-working/m-p/1452583#M35605</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-24T19:02:45Z</dc:date>
    </item>
  </channel>
</rss>

