<?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: Conditional Line Style not working when &amp;gt;1 Expressions Enabled in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278575#M401262</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Week_Commencing becomes null when &amp;gt;1 year is selected. I think you might be onto something here. Any further advice/solutions? Many Thanks for your help so far&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2017 16:48:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-06T16:48:55Z</dc:date>
    <item>
      <title>Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278569#M401256</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;I have a chart with two expressions,one for 2016, one for 2017 (and possibly more will be added later). Both expressions use the same Metric, [Gross Value of Sales]. The expressions have line style set to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Week_Commencing]&amp;gt;vThisWeek,'&amp;lt;s3&amp;gt;','&amp;lt;s1&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so that if the data displayed is for a week greater than the date the qvw was last reloaded (ie it's a forecast), then the line style will be dashed, not solid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, each expression is conditional on whether that year is selected in a list box, using respectively:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GetFieldSelections(WSSI_Year)like '*2016*'&lt;/P&gt;&lt;P&gt;GetFieldSelections(WSSI_Year)like '*2017*'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MY ISSUE:&lt;/P&gt;&lt;P&gt;if only one year is selected, in the list box, the line style works as intended. If both years are selected at the same time, both years display, but both with their lines all solid (&amp;lt;s1&amp;gt;). Note that data was last reloaded Week 46, 2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help/ideas much appreciated&lt;IMG alt="LineStyleIssue.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148435_LineStyleIssue.png" style="height: 729px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 11:07:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278569#M401256</guid>
      <dc:creator />
      <dc:date>2017-01-05T11:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278570#M401257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you define &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vThisWeek&lt;/SPAN&gt;? Seems like a variable to me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 13:31:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278570#M401257</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-05T13:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278571#M401258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it's a variable which is assigned in the Load Script, and in this case is 31/10/2016. I'm fairly certain that the way this variable is assigned is not the problem, as when only one of my expressions is conditionally shown, Week_Commencing (field in my main data table) evaluates against it and gives the expected result (ie a dashed line for all dates after this date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278571#M401258</guid>
      <dc:creator />
      <dc:date>2017-01-05T14:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278572#M401259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another quick question.... You mentioned when two years are selected you see this issue. What happens when no year is selected? all the years are available for viewing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 16:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278572#M401259</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-05T16:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278573#M401260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When no years are selected, nothing at all is displayed on the chart (other than the message "all expressions disabled"). This is the intended and expected behaviour - each expression being conditional on its year being selected, no expression will be displayed when no years are selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 16:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278573#M401260</guid>
      <dc:creator />
      <dc:date>2017-01-05T16:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278574#M401261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a copy of your chart&lt;/P&gt;&lt;P&gt;2) remove any show conditions&lt;/P&gt;&lt;P&gt;3) convert this into a straight table&lt;/P&gt;&lt;P&gt;4) create two new expressions&lt;/P&gt;&lt;P&gt;&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;[Week_Commencing]&lt;/SPAN&gt; and&lt;/P&gt;&lt;P&gt;&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;vThisWeek&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;5) see how these two expression behave based on your selection in year. Does one of the two expression become null when you select 2 years?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 17:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278574#M401261</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-05T17:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278575#M401262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Week_Commencing becomes null when &amp;gt;1 year is selected. I think you might be onto something here. Any further advice/solutions? Many Thanks for your help so far&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 16:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278575#M401262</guid>
      <dc:creator />
      <dc:date>2017-01-06T16:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278576#M401263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create another expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concat(DISTINT &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Week_Commencing], ', ')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it show up with multiple values? or is it still null?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 17:19:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278576#M401263</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-06T17:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278577#M401264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It now shows up with multiple values, yes. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 17:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278577#M401264</guid>
      <dc:creator />
      <dc:date>2017-01-06T17:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278578#M401265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share what those values are? Even better if you can post a screenshot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 18:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278578#M401265</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-06T18:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278579#M401266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, screenshot is attached. &lt;/P&gt;&lt;P&gt;The first columns is Week(Week_Commencing)-1 as a dimension, the 5th is as an expression. Ignore the fact that there's a column for 2017 Forecast - as explained before, the 2017 column is actual values, until the 2nd week (or as far as we have them), and then becomes Forecasts. Again, your help on this is very much appreciated.&lt;IMG alt="LineStyleIssue_v2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148726_LineStyleIssue_v2.png" style="height: 389px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 09:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278579#M401266</guid>
      <dc:creator />
      <dc:date>2017-01-09T09:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278580#M401267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you basically have 1 dimension (week) and three expressions, right? and you are using the same line style expression for all three of them?&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;If([Week_Commencing]&amp;gt;vThisWeek,'&amp;lt;s3&amp;gt;','&amp;lt;s1&amp;gt;')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what your expression for each of the year is, but you need to use same set analysis in your line style expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2016&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(&lt;SPAN style="color: #339966;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;(&lt;/SPAN&gt;{&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;SetAnalysis4m2016Exp&lt;/SPAN&gt;&amp;gt;}[Week_Commencing]&lt;SPAN style="color: #339966;"&gt;)&lt;/SPAN&gt; &amp;gt; vThisWeek, '&amp;lt;s3&amp;gt;', '&amp;lt;s1&amp;gt;')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2017&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(&lt;SPAN style="color: #339966;"&gt;Only&lt;STRONG style="color: #339966; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;{&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;SetAnalysis4m2017Exp&lt;/SPAN&gt;&amp;gt;}[Week_Commencing]&lt;STRONG style="color: #339966; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;/STRONG&gt; &amp;gt; vThisWeek, '&amp;lt;s3&amp;gt;', '&amp;lt;s1&amp;gt;')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2017Forecast&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(&lt;SPAN style="color: #339966;"&gt;Only&lt;STRONG style="color: #339966; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;{&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;SetAnalysis4m2017ForecExp&lt;/SPAN&gt;&amp;gt;}[Week_Commencing]&lt;STRONG style="color: #339966; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;/STRONG&gt; &amp;gt; vThisWeek, '&amp;lt;s3&amp;gt;', '&amp;lt;s1&amp;gt;')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 10:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278580#M401267</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-09T10:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Line Style not working when &gt;1 Expressions Enabled</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278581#M401268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thought it'd be something along those lines. Many thanks Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 11:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Line-Style-not-working-when-gt-1-Expressions-Enabled/m-p/1278581#M401268</guid>
      <dc:creator />
      <dc:date>2017-01-09T11:41:35Z</dc:date>
    </item>
  </channel>
</rss>

