<?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 Dotted Lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997914#M945231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi treseco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want the lines to touch 0 for missing data.&lt;/P&gt;&lt;P&gt;The line should be same as that in the pic I have attached with the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the lines should be dotted for the missing data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Dec 2015 13:10:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-29T13:10:55Z</dc:date>
    <item>
      <title>Conditional Dotted Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997912#M945229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a time series for different ID and values corresponding to it as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="244.181818" style="border: 1px solid rgb(0, 0, 0); width: 252.182px; height: 244.182px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;21/12/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22/12/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23/12/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;24/12/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25/12/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;21/12/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;22/12/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;23/12/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;24/12/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;25/12/2015&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the above data, I have to create line chart&lt;/P&gt;&lt;P&gt;with dimension 1: Date&lt;/P&gt;&lt;P&gt;Dimension2: ID&lt;/P&gt;&lt;P&gt;Expression=Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What it gives is:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="LineChart.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110157_LineChart.PNG" style="height: 233px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my requirement is it should start from date 21(ID=2 is not starting) and end at 25&lt;/P&gt;&lt;P&gt;Plus if the data is missing for a particular date then it should be shown with a dotted line (for ID=1 , 23rd and 24th and for ID=2, 21st and 24th).&lt;/P&gt;&lt;P&gt;If value is present then a solid line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 12:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997912#M945229</guid>
      <dc:creator />
      <dc:date>2015-12-29T12:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Dotted Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997913#M945230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110167_Untitled.png" style="width: 620px; height: 283px;" /&gt;Like this?&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 13:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997913#M945230</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-12-29T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Dotted Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997914#M945231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi treseco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want the lines to touch 0 for missing data.&lt;/P&gt;&lt;P&gt;The line should be same as that in the pic I have attached with the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the lines should be dotted for the missing data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 13:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997914#M945231</guid>
      <dc:creator />
      <dc:date>2015-12-29T13:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Dotted Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997915#M945232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A very slight improvement to your proposed solution since 1 and 0 are coming at the same level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this expression -&amp;gt; &lt;STRONG&gt;If(Value='-',Dual(0,0.0000001),Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110169_Capture.PNG" style="height: 299px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 13:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997915#M945232</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-29T13:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Dotted Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997916#M945233</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;As told to treseco, I don't want 0's on the line.&lt;/P&gt;&lt;P&gt;For ID=1,&lt;/P&gt;&lt;P&gt;The line should go from 6 to 4 (solid)and then from 4 to 8 (dotted).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 13:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997916#M945233</guid>
      <dc:creator />
      <dc:date>2015-12-29T13:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Dotted Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997917#M945234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might not be the best way to do this, as your actually scenario may not match exactly what you have shared, but you can see if this is useful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Date(Min(TOTAL &amp;lt;ID&amp;gt; Date)) = Date and Value = '-', Dual(0,0.00000000001), Sum(Value))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line Style Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(If(Num(Above(Only({&amp;lt;Value -= {'-'}&amp;gt;}Date))) = (Only({&amp;lt;Value -= {'-'}&amp;gt;}Date) - 1) or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Date(Min(TOTAL &amp;lt;ID&amp;gt; Date)) = Date and Value = '-', 1, 0) = 1, '&amp;lt;S3&amp;gt;'), ID, Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change in Script: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Need to Order by ID, Date so that the Aggr function works properly since Aggr sorts by Load order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="197912" data-objecttype="1" href="https://community.qlik.com/thread/197912"&gt;https://community.qlik.com/thread/197912&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By ID, Date;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110170_Capture.PNG" style="height: 347px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2015 13:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997917#M945234</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-29T13:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Dotted Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997918#M945235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, try line style expression:&lt;SPAN style="font-family: terminal,monaco;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;=if(not index(concat(total DISTINCT {&amp;lt;Value={'-'}&amp;gt;}Date, ','), Date), '&amp;lt;S3&amp;gt;')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/110264_Untitled.png" style="width: 620px; height: 286px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 05:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997918#M945235</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-12-30T05:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Dotted Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997919#M945236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Treseco still its not working for me... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 08:15:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997919#M945236</guid>
      <dc:creator />
      <dc:date>2015-12-30T08:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Dotted Lines</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997920#M945237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you expand 'not working' ? Are you trying it in your actual app and it is not working there? The attachment I shared is not ok?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 08:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Dotted-Lines/m-p/997920#M945237</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-12-30T08:34:10Z</dc:date>
    </item>
  </channel>
</rss>

