<?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: Design - maybe Logic issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693081#M450752</link>
    <description>&lt;P&gt;you have to do at the granularity that you have in your data. so if you have rate per day per customer you need to generate data like that&lt;/P&gt;</description>
    <pubDate>Mon, 13 Apr 2020 19:26:12 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2020-04-13T19:26:12Z</dc:date>
    <item>
      <title>Design - maybe Logic issue</title>
      <link>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693045#M450744</link>
      <description>&lt;P&gt;hi guys, am at my Wits end with this one.&lt;/P&gt;&lt;P&gt;This (scrambled data) model contains transactions per UCN (Unique identification Number) ,per Channel, per Date,&lt;/P&gt;&lt;P&gt;Now I want to see for the last 3 Calendar days (field called DateSelector) what the volumes were. So if one person (UCN 5672 528 has not logged in for the last 3 days, i want to see, in the chart ZERO for all three days.&lt;/P&gt;&lt;P&gt;Person 25642 102 has indeed produced volume for 11th and 12th. So I want to see those 2 dates, plus a Zero for the 13th.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont know how to get this right...&lt;/P&gt;&lt;P&gt;1. maybe I should not create DateSelector field in my script - rather use variables in the chart?&lt;/P&gt;&lt;P&gt;2. My joins - its almost like I have to 1) do a left join to the Full Calendar to find all the missing days, and then..&lt;/P&gt;&lt;P&gt;3. Do the join the other way around - i.e. left join, again to the initial (entry table - in hidden script) to see which days has missing info?&lt;/P&gt;&lt;P&gt;I dont know...please, any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 16:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693045#M450744</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2020-04-13T16:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Design - maybe Logic issue</title>
      <link>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693067#M450748</link>
      <description>&lt;P&gt;Issue is because there is no data for those dates for that user. because its 'null' for all the possible dates&amp;nbsp; user doesnt show up&lt;/P&gt;&lt;P&gt;you might need to generate some data for the 3 days with 0s&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/How-to-populate-a-sparsely-populated-field/ba-p/1470637" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/How-to-populate-a-sparsely-populated-field/ba-p/1470637&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 18:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693067#M450748</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-04-13T18:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Design - maybe Logic issue</title>
      <link>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693071#M450749</link>
      <description>&lt;P&gt;Hello, thank you for your reply.. I think we're on the right track!&lt;/P&gt;&lt;P&gt;In Henric's example, he has a rate per day. So I have a "rate", per day, per customer.&lt;/P&gt;&lt;P&gt;His Script...&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; TempTable_Rates:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&amp;nbsp;&lt;/STRONG&gt;Date,&amp;nbsp;Rate&amp;nbsp;From&amp;nbsp;Rates ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Would all of mine then just change to look at the #3 columns, instead of his 2? And all the rest of mine will work in 3's?&lt;/P&gt;&lt;P&gt;Not sure how that would affect the peek logic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 19:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693071#M450749</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2020-04-13T19:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Design - maybe Logic issue</title>
      <link>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693076#M450750</link>
      <description>&lt;P&gt;not 100% clear on your question.&lt;/P&gt;&lt;P&gt;but roughly i would say load zero value for latest day always in your script with a zero&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;something like below&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Concatenate(MC_1)
	load *,
	    today() as CAL_DATE,
	     'Last 3 days' as  DateSelector,  
	     0 as VOLUME
	     ;
	load distinct
	     UCN, 
	     FULL_NAME    
	resident MC
	;
//existing code below
Drop Table MC;&lt;/LI-CODE&gt;&lt;P&gt;you could even add a where clause to the resident e.g. where cal_date&amp;lt;today()&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 19:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693076#M450750</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-04-13T19:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Design - maybe Logic issue</title>
      <link>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693077#M450751</link>
      <description>Hi, what I mean that in Henrics code he only has a rate per day. I have a&lt;BR /&gt;rate per day, per person (Ucn).&lt;BR /&gt;&lt;BR /&gt;I will have a look and let you know. Thank you&lt;BR /&gt;&lt;BR /&gt;#- Please type your reply above this line -##</description>
      <pubDate>Mon, 13 Apr 2020 19:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693077#M450751</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2020-04-13T19:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Design - maybe Logic issue</title>
      <link>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693081#M450752</link>
      <description>&lt;P&gt;you have to do at the granularity that you have in your data. so if you have rate per day per customer you need to generate data like that&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 19:26:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693081#M450752</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-04-13T19:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Design - maybe Logic issue</title>
      <link>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693130#M450760</link>
      <description>&lt;P&gt;&amp;nbsp;Thank you very much&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 05:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Design-maybe-Logic-issue/m-p/1693130#M450760</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2020-04-14T05:59:31Z</dc:date>
    </item>
  </channel>
</rss>

