<?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: Alt function for filling missing data in diagramm / monthly in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/123618#M8577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Markus for the Input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround with 0.00001 is working, though I'd rather prefer to set this up correctly. So filling up empty for main dates might be really better idea.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;With an appropriate formatting it looked like 0. Further I suggest to replace the autocalendar with a real calendar, see: &lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="8843" data-objecttype="102" href="https://community.qlik.com/docs/DOC-8843"&gt;How to use - Master-Calendar and Date-Values&lt;/A&gt; to ensure that you have at least dates for the not existing product data.&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Regarding calendar, I stated autocalendar wrongly. Indeed I am using a master calender as table CALENDAR. But still struggling on how filling up empty entries could work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date information is excluded from my fact table to a separate help table META_DATES with columns KEY, DATETYPE and DATEVALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calender table creates an entry for every day in my analysis period:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FOR i = $(vMinDate) TO $(vMaxDate)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALENDAR:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD '$(i)' AS DATEVALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; ,date('$(i)','DD.MM.YYYY') AS [Date Format]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; ...&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTOGENERATE(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So I have for every &lt;STRONG&gt;existing&lt;/STRONG&gt; notification date in help table an numeric value in CN_DATEVALUE which is reffering to my calendar. If no value in table META_DATES I won't get a hit in my graph's set analysis. (Notification is not existing for this criteria in &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count( {&amp;lt;"KPI"={'Notification'}, DATETYPE={'Creation'}&amp;gt;} distinct [Notification] )&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;Would It be more reasonable to count somehow the days in calendar table with existing notification?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;but following is also not filling empties...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;alt(count( {&amp;lt;"KPI"={'Notification'}, DATETYPE={'Creation date'}&amp;gt;} distinct DATEVALUE),0)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2018 09:29:44 GMT</pubDate>
    <dc:creator>troggy</dc:creator>
    <dc:date>2018-10-24T09:29:44Z</dc:date>
    <item>
      <title>Alt function for filling missing data in diagramm / monthly</title>
      <link>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/123616#M8575</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 am trying to setup a periodic diagramm with drill down to details. When there is no data for a selection, e.g. product xz has no notification in April, the diagramm will not show the month. I want to show 0 here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it with alt function, but this is not working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alt(count( {&amp;lt;"KPI"={'Notification'}, DATETYPE={'Creation'}&amp;gt;} distinct [Notification]),0)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screen1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216414_screen1.jpg" style="height: 158px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Dimensions is set as follows with an auto calendar&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dimensions.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/216415_dimensions.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filling 0 values in load script is not a solution as there is a lot of data for every possible period/product/region combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on formular?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 07:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/123616#M8575</guid>
      <dc:creator>troggy</dc:creator>
      <dc:date>2018-10-22T07:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Alt function for filling missing data in diagramm / monthly</title>
      <link>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/123617#M8576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if it's solvable with Sense but in View it's often possible by using the NULL options in tab dimensions and presentation in combination with an expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(count( {&amp;lt;"KPI"={'Notification'}, DATETYPE={'Creation'}&amp;gt;} distinct [Notification]),0.0000000001)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With an appropriate formatting it looked like 0. Further I suggest to replace the autocalendar with a real calendar, see: &lt;A href="https://community.qlik.com/docs/DOC-8843"&gt;How to use - Master-Calendar and Date-Values&lt;/A&gt; to ensure that you have at least dates for the not existing product data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 14:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/123617#M8576</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-10-23T14:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alt function for filling missing data in diagramm / monthly</title>
      <link>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/123618#M8577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Markus for the Input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workaround with 0.00001 is working, though I'd rather prefer to set this up correctly. So filling up empty for main dates might be really better idea.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;With an appropriate formatting it looked like 0. Further I suggest to replace the autocalendar with a real calendar, see: &lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="8843" data-objecttype="102" href="https://community.qlik.com/docs/DOC-8843"&gt;How to use - Master-Calendar and Date-Values&lt;/A&gt; to ensure that you have at least dates for the not existing product data.&lt;/P&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Regarding calendar, I stated autocalendar wrongly. Indeed I am using a master calender as table CALENDAR. But still struggling on how filling up empty entries could work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date information is excluded from my fact table to a separate help table META_DATES with columns KEY, DATETYPE and DATEVALUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calender table creates an entry for every day in my analysis period:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FOR i = $(vMinDate) TO $(vMaxDate)&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALENDAR:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD '$(i)' AS DATEVALUE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; ,date('$(i)','DD.MM.YYYY') AS [Date Format]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; ...&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTOGENERATE(1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So I have for every &lt;STRONG&gt;existing&lt;/STRONG&gt; notification date in help table an numeric value in CN_DATEVALUE which is reffering to my calendar. If no value in table META_DATES I won't get a hit in my graph's set analysis. (Notification is not existing for this criteria in &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count( {&amp;lt;"KPI"={'Notification'}, DATETYPE={'Creation'}&amp;gt;} distinct [Notification] )&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;Would It be more reasonable to count somehow the days in calendar table with existing notification?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;but following is also not filling empties...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;alt(count( {&amp;lt;"KPI"={'Notification'}, DATETYPE={'Creation date'}&amp;gt;} distinct DATEVALUE),0)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 09:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/123618#M8577</guid>
      <dc:creator>troggy</dc:creator>
      <dc:date>2018-10-24T09:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Alt function for filling missing data in diagramm / monthly</title>
      <link>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/123619#M8578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's depending on your datamodel and how data should be displayed if such a workaround like above mentioned fullfilled all requirements. If not then is it often necessary to create the missing data, see: &lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 05:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/123619#M8578</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-10-26T05:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alt function for filling missing data in diagramm / monthly</title>
      <link>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/1542301#M39124</link>
      <description>&lt;P&gt;If someone has same issues:&lt;/P&gt;&lt;P&gt;We solved it now as follows, as we do not want to create loads of "empty" data.&lt;/P&gt;&lt;P&gt;Add a count of the unique month dimension *0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=count( {&amp;lt;"KPI"={'Notification'}, Datetypye={'Creation date'}&amp;gt;} distinct [Notification])

&lt;STRONG&gt;+(count( distinct "Unique Month")*0)

&lt;/STRONG&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Feb 2019 12:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Alt-function-for-filling-missing-data-in-diagramm-monthly/m-p/1542301#M39124</guid>
      <dc:creator>troggy</dc:creator>
      <dc:date>2019-02-11T12:46:26Z</dc:date>
    </item>
  </channel>
</rss>

