<?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 Timeline analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Timeline-analysis/m-p/26588#M1820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to make a timeline graphic by month with dimension being the count of a "x" measure (p.number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already made the MasterCalendar and it works fine but I want the months fixed, so when there is no count values for a month the graphic put it to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried the options "Show as zeros" (on graphic appearance tab) and unchecked "Include null values".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a turnaround I created a "fixed" calendar, with all months, but I stucked when trying to separate the count "x" by month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each "x" there is a Date associated field (p.gen_date) in which I can validate, but I would not like to create another virtual table, I'd like to filter this directly on the graphic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code for virtual calendar:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FullCalendar:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Let vMin = Num('2017-01-01');&lt;/P&gt;&lt;P&gt;Let vMax = Num('2017-12-31');&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;If(RowNo() = 1, Date($(vMin), 'YYYY-MM-DD'), Date($(vMin), 'YYYY-MM-DD') + RowNo()) as tDate&lt;/P&gt;&lt;P&gt;AutoGenerate (1) While $(vMin) + RowNo() &amp;lt;= Date($(vMax));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MonthCalendar:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Distinct Month(tDate) as cal_Mês&lt;/P&gt;&lt;P&gt;Resident FullCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table FullCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample code for measure values:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;generated_process:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.number,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.gen_date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.user,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.location&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol p&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I've added a lines graphic and put as dimension "cal_Mês" and as measure the function below (which not worked):&lt;/P&gt;&lt;P&gt;Count({$(Month(p.gen_date) = $(cal_Mês))} p.number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197814" alt="Sem título.png" class="jive-image image-1" height="202" src="/legacyfs/online/197814_Sem título.png" style="height: 202px; width: 1070.43px;" width="1070" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have with MasterCalendar, but when I apply some filters the months with zero values just dissapear from graphic instead of showing value equals to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas of solving this with a chart expression (&lt;SPAN style="font-size: 13.3333px;"&gt;without populating table and without creating a new virtual table)&lt;/SPAN&gt;..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2018 19:42:58 GMT</pubDate>
    <dc:creator>rodrigovdr</dc:creator>
    <dc:date>2018-03-28T19:42:58Z</dc:date>
    <item>
      <title>Timeline analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Timeline-analysis/m-p/26588#M1820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to make a timeline graphic by month with dimension being the count of a "x" measure (p.number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already made the MasterCalendar and it works fine but I want the months fixed, so when there is no count values for a month the graphic put it to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried the options "Show as zeros" (on graphic appearance tab) and unchecked "Include null values".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a turnaround I created a "fixed" calendar, with all months, but I stucked when trying to separate the count "x" by month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each "x" there is a Date associated field (p.gen_date) in which I can validate, but I would not like to create another virtual table, I'd like to filter this directly on the graphic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code for virtual calendar:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FullCalendar:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Let vMin = Num('2017-01-01');&lt;/P&gt;&lt;P&gt;Let vMax = Num('2017-12-31');&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;If(RowNo() = 1, Date($(vMin), 'YYYY-MM-DD'), Date($(vMin), 'YYYY-MM-DD') + RowNo()) as tDate&lt;/P&gt;&lt;P&gt;AutoGenerate (1) While $(vMin) + RowNo() &amp;lt;= Date($(vMax));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MonthCalendar:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Distinct Month(tDate) as cal_Mês&lt;/P&gt;&lt;P&gt;Resident FullCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table FullCalendar;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample code for measure values:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;generated_process:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.number,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.gen_date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.user,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; p.location&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protocol p&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I've added a lines graphic and put as dimension "cal_Mês" and as measure the function below (which not worked):&lt;/P&gt;&lt;P&gt;Count({$(Month(p.gen_date) = $(cal_Mês))} p.number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197814" alt="Sem título.png" class="jive-image image-1" height="202" src="/legacyfs/online/197814_Sem título.png" style="height: 202px; width: 1070.43px;" width="1070" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have with MasterCalendar, but when I apply some filters the months with zero values just dissapear from graphic instead of showing value equals to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas of solving this with a chart expression (&lt;SPAN style="font-size: 13.3333px;"&gt;without populating table and without creating a new virtual table)&lt;/SPAN&gt;..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 19:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timeline-analysis/m-p/26588#M1820</guid>
      <dc:creator>rodrigovdr</dc:creator>
      <dc:date>2018-03-28T19:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Timeline-analysis/m-p/26589#M1821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Aggr() to group by month: &lt;/P&gt;&lt;P&gt;Sum(Aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({$(Month(p.gen_date) = $(cal_Mês))} p.number),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month(p.gen_date)&lt;/SPAN&gt;)&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;&lt;BR /&gt;&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;Assuming you have a calendar as described:&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;&lt;A href="https://community.qlik.com/message/198507"&gt;Creating A Master Calendar&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2018 20:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timeline-analysis/m-p/26589#M1821</guid>
      <dc:creator>dwforest</dc:creator>
      <dc:date>2018-03-28T20:25:08Z</dc:date>
    </item>
  </channel>
</rss>

