<?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 Trend Line only appears when filter selected in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994090#M14580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a line charts showing total number of sales per month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I select from a filter pane - Department - Catering...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the line changes to the total number of sales for that department, which is correct...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the line charts showing total number of sales per month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and an additional line for&amp;nbsp; the total number of sales for that department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can do this expression, but the line is only to appear if a department is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas on show / hide function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 16:26:04 GMT</pubDate>
    <dc:creator>joeybird</dc:creator>
    <dc:date>2015-11-26T16:26:04Z</dc:date>
    <item>
      <title>Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994090#M14580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a line charts showing total number of sales per month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I select from a filter pane - Department - Catering...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the line changes to the total number of sales for that department, which is correct...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the line charts showing total number of sales per month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and an additional line for&amp;nbsp; the total number of sales for that department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can do this expression, but the line is only to appear if a department is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideas on show / hide function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 16:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994090#M14580</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-11-26T16:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994091#M14581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joanna i thought of a way to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a line chart with month as the dimension&lt;/P&gt;&lt;P&gt;2. Create a 2nd dimension with this expression:&amp;nbsp; Valuelist('MonthlySales','TotalDepartmentSales')&lt;/P&gt;&lt;P&gt;3. Create a measure with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( &lt;SPAN style="font-size: 13.3333px;"&gt;Valuelist('MonthlySales','TotalDepartmentSales') = 'MonthlySales', sum(Sales),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( &lt;SPAN style="font-size: 13.3333px;"&gt;Valuelist('MonthlySales','TotalDepartmentSales') = 'TotalDepartmentSales', &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( getselectedcount(Department) &amp;gt; 0 , sum( total Sales) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this suppressed the 2nd line when there wasn't a department selected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 21:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994091#M14581</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-11-26T21:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994092#M14582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented a sample similar to this for an other post. Its exactly was Jonathan clearly mentioned.&lt;/P&gt;&lt;P&gt;Check this out : &lt;A href="https://community.qlik.com/thread/191604"&gt;Line charts with dynamic / filterable measures&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 09:57:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994092#M14582</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-27T09:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994093#M14583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this does work fab, but how do you get a third line to appear ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Catering - so total line appears , (like it does using code above) then someone chooses additionally, Home ware, so a third line appears? for Home ware total?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 10:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994093#M14583</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-11-27T10:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994094#M14584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, when someone selects "Home ware", you can plot the third line as well by following the same procedure. In the second measure add , "Home ware" to the value list and modify the measure to :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vExpression= { Catering , Homeware } - a variable&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression:&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;if( &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Valuelist('MonthlySales','TotalDepartmentSales') = 'MonthlySales', sum(Sales),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Valuelist('MonthlySales','TotalDepartmentSales') = 'TotalDepartmentSales',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PICK( Match('$(vExpression)',getcurrentselection(&amp;lt;field&amp;gt;)) ,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px; background-color: #f2f2f2;"&gt; sum({&amp;lt; set expression &amp;gt;} total Sales)&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px; background-color: #f2f2f2;"&gt; sum({&amp;lt; set expression &amp;gt;} total Sales)&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If you can attach a sample qvf it would be more easy to solve it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 11:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994094#M14584</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-27T11:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994095#M14585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant get the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vExpression= { Catering , Homeware } to work in my data load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994095#M14585</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-11-27T12:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994096#M14586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple use this instead of the Let statement:&lt;/P&gt;&lt;P&gt;measures:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Category&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Catering&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Homeware&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace the $(vExpression) with the field: [&lt;SPAN style="font-size: 13.3333px;"&gt;Category]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;if( &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Valuelist('MonthlySales','TotalDepartmentSales') = 'MonthlySales', sum(Sales),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Valuelist('MonthlySales','TotalDepartmentSales') = 'TotalDepartmentSales',&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;PICK( Match(Catgory,getcurrentselections(&amp;lt;field&amp;gt;)) ,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt; sum({&amp;lt; set expression &amp;gt;} total Sales)&lt;/SPAN&gt;,&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;sum({&amp;lt; set expression &amp;gt;} total Sales)&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994096#M14586</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-27T12:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994097#M14587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this does not work, I have made sure the Category is correctly spelt as its wrong in the expression, but still no joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994097#M14587</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-11-27T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994098#M14588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to attach the sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994098#M14588</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-27T13:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994099#M14589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌I think you need a 3rd value in the valuelist() to get a 3rd line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( valuelist('a','b','c') = 'a' , &amp;lt;expression1&amp;gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (&lt;SPAN style="background-color: rgba(255, 255, 255, 0);"&gt;valuelist('a','b','c') = '&lt;/SPAN&gt;b' , &amp;lt;expression2&amp;gt;,&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as as as we did before you can add other conditions using AND to conditionally show the 2nd and/or 3rd line&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994099#M14589</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-11-27T13:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994100#M14590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this working, but it wont show the 3rd line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 14:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994100#M14590</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-11-27T14:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994101#M14591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the current expression condition ?&amp;nbsp; paste it in your reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 15:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994101#M14591</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-11-27T15:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994102#M14592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if( Valuelist('SaleTotal','DeptTotal') = 'SaleTotal', sum({$&amp;lt;[Department] =&amp;gt;} Sales),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Valuelist('SaleTotal','DeptTotal') = 'DeptTotal',&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( getselectedcount([Department]) = 'Catering'&amp;nbsp; ,&amp;nbsp; sum({$&amp;lt;[Department] ="Catering"&amp;gt;} Sales),&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( getselectedcount([Department]) = 'HomeWare'&amp;nbsp; ,&amp;nbsp; sum({$&amp;lt;[Department] ="HomeWare"&amp;gt;} Sales) )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&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;please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 15:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994102#M14592</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-11-27T15:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994103#M14593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joanna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression which you have used is wrong, instead try this:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;if( Valuelist('SaleTotal','DeptTotal') = 'SaleTotal', sum({$&amp;lt;[Department] =&amp;gt;} Sales),&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Valuelist('SaleTotal','DeptTotal') = 'DeptTotal',&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Valuelist( GetFieldSelections([Department]) )&lt;/SPAN&gt; = 'Catering'&amp;nbsp; ,&amp;nbsp; sum({$&amp;lt;[Department] ="Catering"&amp;gt;} Sales),&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Valuelist( GetFieldSelections([Department]) )&lt;/SPAN&gt; = 'HomeWare'&amp;nbsp; ,&amp;nbsp; sum({$&amp;lt;[Department] ="HomeWare"&amp;gt;} Sales) )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 16:25:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994103#M14593</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2015-11-27T16:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994104#M14594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this sort of works, but I still cant get the third line to appear when the second department is selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I did amend&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;if( Valuelist('SaleTotal','DeptCatTotal', 'DeptHomewTotal')= 'SaleTotal', sum({$&amp;lt;[Department] =&amp;gt;} Sales),&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( Valuelist('SaleTotal','DeptCatTotal', 'DeptHomewTotal') = 'DeptTotal',&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Valuelist( GetFieldSelections([Department]) )&lt;/SPAN&gt; = 'Catering'&amp;nbsp; ,&amp;nbsp; sum({$&amp;lt;[Department] ="Catering"&amp;gt;} Sales),&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Valuelist( GetFieldSelections([Department]) )&lt;/SPAN&gt; = 'HomeWare'&amp;nbsp; ,&amp;nbsp; sum({$&amp;lt;[Department] ="HomeWare"&amp;gt;} Sales) )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to create a value list of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Valuelist('SaleTotal','DeptCatTotal', 'DeptHomewTotal')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a third line in the key has now appeared ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it still does not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 09:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994104#M14594</guid>
      <dc:creator>joeybird</dc:creator>
      <dc:date>2015-11-30T09:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trend Line only appears when filter selected</title>
      <link>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994105#M14595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i understand. Below instead of department i am doing this on countries_world.Name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way the logic goes is:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if a country is selected, than show 3 lines for each valuelist element. The selected sales per month "&lt;SPAN style="font-size: 13.3333px;"&gt;sum(Sales)"&lt;/SPAN&gt;, the total selected sales for all months "&lt;SPAN style="font-size: 13.3333px;"&gt;sum ( total Sales)"&lt;/SPAN&gt; , and the application total for all&amp;nbsp; months and all countries "&lt;SPAN style="font-size: 13.3333px;"&gt;sum( {&amp;lt;countries_world.Name=&amp;gt;} total Sales)".&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13.3333px;"&gt;if no country is selected, then just show the monthly sales for the current selections.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( GetSelectedCount(countries_world.Name)&amp;gt;0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if( ValueList('MonthlySelectedSales','TotalSelectedSales','TotalSales')= 'TotalSelectedSales', sum ( total Sales),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( ValueList('MonthlySelectedSales','TotalSelectedSales','TotalSales')= 'TotalSales', sum( {&amp;lt;countries_world.Name=&amp;gt;} total Sales),&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( ValueList('MonthlySelectedSales','TotalSelectedSales','TotalSales')='MonthlySelectedSales', sum(Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;sum( Sales))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 15:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trend-Line-only-appears-when-filter-selected/m-p/994105#M14595</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-11-30T15:10:02Z</dc:date>
    </item>
  </channel>
</rss>

