<?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: Change line style (e.g. from constant to dotted) using cyclic group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-line-style-e-g-from-constant-to-dotted-using-cyclic-group/m-p/1643016#M447313</link>
    <description>&lt;P&gt;Hi Reuben,&lt;/P&gt;&lt;P&gt;Thank you for your help and sorry for the delay as I was on holiday!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your suggestion did work for the month dimension with GertCurrentField, however, for the weekend dimension I decided to use ReloadTime as that seemed like an easier option. I then used that for month as well. This is what I ended up with that worked:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(&lt;BR /&gt;(GetCurrentField(MonthWeekDay)= 'Week ending' and [Week ending] &amp;gt;= weekend(ReloadTime())-7)&lt;BR /&gt;OR&lt;BR /&gt;(GetCurrentField(MonthWeekDay)= 'Month' and monthstart(Month) = addmonths(monthstart(ReloadTime()),-1))&lt;BR /&gt;,'&amp;lt;S3&amp;gt;'&lt;BR /&gt;,'&amp;lt;S1&amp;gt;'&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2019 10:35:01 GMT</pubDate>
    <dc:creator>zfatima91</dc:creator>
    <dc:date>2019-11-05T10:35:01Z</dc:date>
    <item>
      <title>Change line style (e.g. from constant to dotted) using cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-style-e-g-from-constant-to-dotted-using-cyclic-group/m-p/1639876#M447108</link>
      <description>&lt;P&gt;I would like to turn the line on my line chart into a dotted line from a constant one just for the most recent period. Right now my dimension is a cyclic group called MonthWeekDay which includes fields for Month, Week ending and Dates.&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So far I have added expressions into text objects to break a part my expression but I am having a hard time pulling it all together when creating the expression under 'Line Style.'&lt;/P&gt;&lt;P&gt;This is what I have broken it down to so far:&lt;/P&gt;&lt;P&gt;=if(max(Month), '&amp;lt;S3&amp;gt;' , '&amp;lt;S1&amp;gt;')&amp;nbsp;&lt;/P&gt;&lt;P&gt;=GetCurrentField(MonthWeekDay)&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 11:21:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-style-e-g-from-constant-to-dotted-using-cyclic-group/m-p/1639876#M447108</guid>
      <dc:creator>zfatima91</dc:creator>
      <dc:date>2019-10-25T11:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change line style (e.g. from constant to dotted) using cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-style-e-g-from-constant-to-dotted-using-cyclic-group/m-p/1640244#M447128</link>
      <description>&lt;P&gt;Hi, can you try with?:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if(max(Month)=max(TOTAL Month)-1, '&amp;lt;S3&amp;gt;' , '&amp;lt;S1&amp;gt;')&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If there are different years in your chart maybe you need a period field that identifies both (year and month), to get only the last one.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 09:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-style-e-g-from-constant-to-dotted-using-cyclic-group/m-p/1640244#M447128</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-10-28T09:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change line style (e.g. from constant to dotted) using cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-style-e-g-from-constant-to-dotted-using-cyclic-group/m-p/1642759#M447300</link>
      <description>&lt;P&gt;Zoha, did Ruben's suggestion work for you?&amp;nbsp; If so, do not forget to return to the thread and use the Accept as Solution button on his post to give him credit for the help and let others know it worked.&amp;nbsp; If you are still working on things, please leave an update.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 21:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-style-e-g-from-constant-to-dotted-using-cyclic-group/m-p/1642759#M447300</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-04T21:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change line style (e.g. from constant to dotted) using cyclic group</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-style-e-g-from-constant-to-dotted-using-cyclic-group/m-p/1643016#M447313</link>
      <description>&lt;P&gt;Hi Reuben,&lt;/P&gt;&lt;P&gt;Thank you for your help and sorry for the delay as I was on holiday!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your suggestion did work for the month dimension with GertCurrentField, however, for the weekend dimension I decided to use ReloadTime as that seemed like an easier option. I then used that for month as well. This is what I ended up with that worked:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(&lt;BR /&gt;(GetCurrentField(MonthWeekDay)= 'Week ending' and [Week ending] &amp;gt;= weekend(ReloadTime())-7)&lt;BR /&gt;OR&lt;BR /&gt;(GetCurrentField(MonthWeekDay)= 'Month' and monthstart(Month) = addmonths(monthstart(ReloadTime()),-1))&lt;BR /&gt;,'&amp;lt;S3&amp;gt;'&lt;BR /&gt;,'&amp;lt;S1&amp;gt;'&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 10:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-style-e-g-from-constant-to-dotted-using-cyclic-group/m-p/1643016#M447313</guid>
      <dc:creator>zfatima91</dc:creator>
      <dc:date>2019-11-05T10:35:01Z</dc:date>
    </item>
  </channel>
</rss>

