<?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: Re: show missing data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584537#M216972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;This is my sample. I have decreased the number of customers to 3.&lt;/P&gt;&lt;P&gt;As you can see the customercode = 300920539 is ok because it exists in all 3 tables but other 2 customers(as you see in the first sheet customers thei are inactive) thei are missing in Payments table and if i just clear all an go to the last sheet Statistics i can see only the debts for that good customer but I'm missing the debts for those 2 bad customers. If i clear everything and in the first sheet customers select that bad customer for example(302448051) then in the last sheet Statistics I'm able to see him. But i want it to act diferent. I ewant to clear and in the last sheet i want to see all info about customers debts. Hope this time i made it more clearly.&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;P&gt;jja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2014 07:28:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-14T07:28:25Z</dc:date>
    <item>
      <title>show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584529#M216964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have 3 tables:&lt;/P&gt;&lt;P&gt;Customers - where i load all customers from data base&lt;/P&gt;&lt;P&gt;Sales Ledger - where i load all info about customer sales data&lt;/P&gt;&lt;P&gt;Payment Ledger - where i load all info about customer payment data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All 3 tables are linked together via CustomerCode that is in all 3 tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problems is that i loose records if customer has an invoice(Sales Ledger table) but has never made a payment(Payment ledger table). And finally calculating all the debts i miss that data because according to qlikview architecture i get only asociative data from all 3 linked tables.&lt;/P&gt;&lt;P&gt;Any body has an idea how i should not loose data in this way. &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;jja &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 18:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584529#M216964</guid>
      <dc:creator />
      <dc:date>2014-02-13T18:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584530#M216965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Join Customer and PaynentLedger Table..&lt;/P&gt;&lt;P&gt;If you load your sample script, apps or example can help you more..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 18:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584530#M216965</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-13T18:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584531#M216966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julius&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how exactly your debt calculation expression looks like, but maybe try to either aviod selections on columns from Payments table or ignore them using set analysis ({&amp;lt;column_from_payment=&amp;gt;})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 18:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584531#M216966</guid>
      <dc:creator />
      <dc:date>2014-02-13T18:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584532#M216967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Julius,&lt;/P&gt;&lt;P&gt;From what you explained the data is not missing in QV, its not available in the data set in the first place.&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;Customer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Invoice&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;&amp;nbsp;&amp;nbsp; Amt&lt;/P&gt;&lt;P&gt;123&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;&amp;nbsp; 2345098&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; $23&lt;/P&gt;&lt;P&gt;345&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;&amp;nbsp;&amp;nbsp; 4568901&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is how the data is in the original tables then customer 345 wont have an amount at all. You are not loosing data its just not available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 18:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584532#M216967</guid>
      <dc:creator />
      <dc:date>2014-02-13T18:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584533#M216968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Text(SL01001) As CustomerCode,&lt;/P&gt;&lt;P&gt;SL01002 As CustomerName,&lt;/P&gt;&lt;P&gt;SL01068 As CreditCode,&lt;/P&gt;&lt;P&gt;SL01060 As DeliveryBlock,&lt;/P&gt;&lt;P&gt;SL01010 As Category,&lt;/P&gt;&lt;P&gt;SL01035 As Salesman,&lt;/P&gt;&lt;P&gt;If(Len(SL01017) = 2,SL01017,If(Len(SL01017)=3,'without',If(Len(SL01017) = 8,Mid(SL01017,7,2),If(Len(SL01017) = 6,Mid(SL01017,5,2),If(Len(SL01017) &amp;gt;= 21,Mid(SL01017,13,2),If(Len(SL01017) = 14,Mid(SL01017,13,2),'without')))))) As CostCentr, &lt;/P&gt;&lt;P&gt;If(Len(SL01017) = 2,'without',If(Len(SL01017)=3,SL01017,If(Len(SL01017) = 9,Mid(SL01017,7,3),If(Len(SL01017) &amp;gt;= 15,'without',If(Len(SL01017)= 14,Mid(SL01017,7,3),'without'))))) As Product,&lt;/P&gt;&lt;P&gt;SL01037 As CreditLimit;&lt;/P&gt;&lt;P&gt;SQL SELECT SL01001, SL01002, SL01068, SL01060, SL01010, SL01035, SL01017, SL01037 FROM SL01$(CompanyNo)00;&lt;/P&gt;&lt;P&gt;SET NULLDISPLAY = 'N';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Payments:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Text(SL21001) As CustomerCode,&lt;/P&gt;&lt;P&gt;SL21002 As InvoiceNo,&lt;/P&gt;&lt;P&gt;SL21004 As TransactionNo,&lt;/P&gt;&lt;P&gt;SL21005 As Date,&lt;/P&gt;&lt;P&gt;NUM(SL21005) AS NDATE,&lt;/P&gt;&lt;P&gt;year(SL21005) As Year,&lt;/P&gt;&lt;P&gt;Month(SL21005) As Month,&lt;/P&gt;&lt;P&gt;day(SL21005) As Day,&lt;/P&gt;&lt;P&gt;'Q'&amp;amp; ceil(month(SL21005)/3) as Quarter,&lt;/P&gt;&lt;P&gt;SL21007 As Sum;&lt;/P&gt;&lt;P&gt;SQL SELECT SL21001, SL21002, SL21004, SL21005, SL21007&lt;/P&gt;&lt;P&gt;FROM SL21$(CompanyNo)00 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET NULLDISPLAY = 'N';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ledger:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;Text(SL03001) As CustomerCode,&lt;/P&gt;&lt;P&gt;SL03002 As Invoice,&lt;/P&gt;&lt;P&gt;SL03036 As OrderNo,&lt;/P&gt;&lt;P&gt;SL03004 As InvoiceDate,&lt;/P&gt;&lt;P&gt;Year(SL03004) As HYear,&lt;/P&gt;&lt;P&gt;SL03006 As DueDate,&lt;/P&gt;&lt;P&gt;SL03055 As LastPaymentDate,&lt;/P&gt;&lt;P&gt;SL03013 As InvoiceAmmount,&lt;/P&gt;&lt;P&gt;SL03053 As PayedAmmount,&lt;/P&gt;&lt;P&gt;SL03013-SL03053 As Balance,&lt;/P&gt;&lt;P&gt;SL03006-SL03004 As PaymentTerms,&lt;/P&gt;&lt;P&gt;Round(if(SL03055='1900.01.01' or (SL03013-SL03053)&amp;lt;&amp;gt;0, Date(Now()-(SL03006)),(SL03055-SL03006))) As Fact,&lt;/P&gt;&lt;P&gt;if((SL03013-SL03053)&amp;gt;0 and Round(if(SL03055='1900.01.01' or (SL03013-SL03053)&amp;lt;&amp;gt;0, Date(Now()-(SL03006)),(SL03055-SL03006)))&amp;gt;0,'Overdue',if((SL03013-SL03053)&amp;gt;0 and Round(if(SL03055='1900.01.01' or (SL03013-SL03053)&amp;lt;&amp;gt;0, Date(Now()-(SL03006)),(SL03055-SL03006)))&amp;lt;0,'NotDue',if((SL03013-SL03053)&amp;gt;0 and Round(if(SL03055='1900.01.01' or (SL03013-SL03053)&amp;lt;&amp;gt;0, Date(Now()-(SL03006)),(SL03055-SL03006)))=0,'Today','Closed'))) As Condition;&lt;/P&gt;&lt;P&gt;SQL SELECT SL03001, SL03002, SL03004 , SL03006, SL03055, SL03013, SL03036, SL03053 FROM SL03$(CompanyNo)00; &lt;/P&gt;&lt;P&gt;SET NULLDISPLAY = 'N';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in one of my chart box expresions for total Debts count i simply use =Sum([Balance]) but as mentioned the record coresponding to custoemr code is not available in payments table then i loose the SL03013-SL03053 As Balance record for that customer as well though this record in the Ledger table definetely exists&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 19:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584533#M216968</guid>
      <dc:creator />
      <dc:date>2014-02-13T19:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584534#M216969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in a few cases customer code is present in Customer and Ledger table but not in Payments table. Still since all three tables are associated through Customer Code you should be able to see the Balance for that customer.&lt;/P&gt;&lt;P&gt;Does your data model look like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Test.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/53168_Test.png" style="width: 620px; height: 300px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 19:35:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584534#M216969</guid>
      <dc:creator />
      <dc:date>2014-02-13T19:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584535#M216970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Data Model look like your example. But i don';t see the balance for that customer in my balance Chart. The only way to get&amp;nbsp; that record visible is to select that customer in selection box then i get the data and the total payed amount is 0 and his exact debt but if i just clear all selections go to my total sheet where i load customers code customer name and Balance - this customer is not visable and there fore i lose the Balance in Total&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 19:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584535#M216970</guid>
      <dc:creator />
      <dc:date>2014-02-13T19:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584536#M216971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Possible to attach a sample file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 20:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584536#M216971</guid>
      <dc:creator />
      <dc:date>2014-02-13T20:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584537#M216972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;This is my sample. I have decreased the number of customers to 3.&lt;/P&gt;&lt;P&gt;As you can see the customercode = 300920539 is ok because it exists in all 3 tables but other 2 customers(as you see in the first sheet customers thei are inactive) thei are missing in Payments table and if i just clear all an go to the last sheet Statistics i can see only the debts for that good customer but I'm missing the debts for those 2 bad customers. If i clear everything and in the first sheet customers select that bad customer for example(302448051) then in the last sheet Statistics I'm able to see him. But i want it to act diferent. I ewant to clear and in the last sheet i want to see all info about customers debts. Hope this time i made it more clearly.&lt;/P&gt;&lt;P&gt;thks&lt;/P&gt;&lt;P&gt;jja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 07:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584537#M216972</guid>
      <dc:creator />
      <dc:date>2014-02-14T07:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584538#M216973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I commented out your 'AfterSelect' macro in Document Properties &amp;gt; Triggers &amp;gt; Document Event Trigger &amp;gt; OnAnySelect and its working fine.&lt;/P&gt;&lt;P&gt;I dunno what your AfterSelect macro does (couldn't see it cause of security) but that was causing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 15:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584538#M216973</guid>
      <dc:creator />
      <dc:date>2014-02-14T15:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584539#M216974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry i forgot to remove Module password. Now it is removed see attached file. Basically what that macro does it sets the vmindate and vmaxdate variable values to empty after i press the clear button. If you select sheet payments and select that good customer and you can see i have 2 calendar objects where users can define the between date of payments which are controlled by variables. I didn't figure it out how to clear those variables after i press the clear button so found this nasty example somewhere and seems that it is messing something that i don't understand now. It should anyway set the date to nothing. Yes if you comment this macro all is working ok except then how should i clear those 2 calandar fields together with button clear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 07:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584539#M216974</guid>
      <dc:creator />
      <dc:date>2014-02-17T07:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584540#M216975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar requirement and the way i cleared the variables was through a separate button.&lt;/P&gt;&lt;P&gt;Check out the Payments tab. I created a button 'Clear Dates' which needs to be clicked to clear the variables.&lt;/P&gt;&lt;P&gt;Since these are variables i think this would be the best way to approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 16:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584540#M216975</guid>
      <dc:creator />
      <dc:date>2014-02-17T16:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: show missing data</title>
      <link>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584541#M216976</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;Thanks for response i finally got it to work bit in a bit different way. On the calendar on the date to where it is controled by max date variable i had i macro on input and on the clear event i had another macro which was setting the variables to "" but it was not releasing the field Ndate which acts as a between dates values so i had like an active selection Ndate&amp;lt;=&amp;gt;= and it was causing that error. Thank you for help.&lt;/P&gt;&lt;P&gt;jja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 06:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/show-missing-data/m-p/584541#M216976</guid>
      <dc:creator />
      <dc:date>2014-02-18T06:44:04Z</dc:date>
    </item>
  </channel>
</rss>

