<?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: Problem with Button Select In Field when data is null in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386016#M1167637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SQL table only contained rows for people who had actually booked time on that day, so I wrote an extra insert statement to add all the people without time booked and set their time to 0. This solved the problem. Thanks to everyone who suggested stuff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2012 10:42:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-07T10:42:20Z</dc:date>
    <item>
      <title>Problem with Button Select In Field when data is null</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386011#M1167632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've set up a button with a series of Select In Fields to look at all the different date fields in my data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having the following problem. The first set of field that the button selects from are the day, month and year in the project management system that we use. If I select 5th September then the data comes back OK because I have an entry in there for that day. But if I select 6th September (I haven't made an entry for yesterday yet) then the day value comes back NULL (or '-', I know this because I've created a text object to display the value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What this seems to mean is that when I get a NULL value QlikView just aggregates all the project management data so instead of seeing 0h 0m in the box I have set up I get 121h 48m which is everyone's total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain how I can get QlikView to return 0 instead of NULL if a field has no data for a selected person?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 08:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386011#M1167632</guid>
      <dc:creator />
      <dc:date>2012-09-07T08:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Button Select In Field when data is null</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386012#M1167633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe it would be better to wrap a condition around your time box to handle Null values? &lt;/P&gt;&lt;P&gt;Qlikview is returning a Null because there is nothing to return, so you would have to create the zero values on the table. If you autogenerated dates with zero values on your table it might help, but it's difficult without seeing your datamodel. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 08:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386012#M1167633</guid>
      <dc:creator>kouroshkarimi</dc:creator>
      <dc:date>2012-09-07T08:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Button Select In Field when data is null</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386013#M1167634</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;Can you provide your sample app to have better understanding on your data structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 08:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386013#M1167634</guid>
      <dc:creator />
      <dc:date>2012-09-07T08:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Button Select In Field when data is null</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386014#M1167635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the responses. I can't really upload my report because there's some personal information in there. I guess what I maybe need to do is add some zero values to the data source where data is missing; I will maybe have to modify my data extraction job to automatically add a zero row for anyone who doesn't have any data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 09:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386014#M1167635</guid>
      <dc:creator />
      <dc:date>2012-09-07T09:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Button Select In Field when data is null</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386015#M1167636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar issue with missing values in a crosstable, so I created a cartesian product using the dimensions and appended the missing values to the table which fixed the issue. Maybe you could do something similar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 10:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386015#M1167636</guid>
      <dc:creator>kouroshkarimi</dc:creator>
      <dc:date>2012-09-07T10:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Button Select In Field when data is null</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386016#M1167637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SQL table only contained rows for people who had actually booked time on that day, so I wrote an extra insert statement to add all the people without time booked and set their time to 0. This solved the problem. Thanks to everyone who suggested stuff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2012 10:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386016#M1167637</guid>
      <dc:creator />
      <dc:date>2012-09-07T10:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Button Select In Field when data is null</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386017#M1167638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't make selection of NULL value.&lt;/P&gt;&lt;P&gt;You can try NULLASVALUE in script to be able to select NULL as empty string.&lt;/P&gt;&lt;P&gt;Or you can rewrite your expressions so that the behave correctly when the date is NULL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Sep 2012 12:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Button-Select-In-Field-when-data-is-null/m-p/386017#M1167638</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-08T12:42:23Z</dc:date>
    </item>
  </channel>
</rss>

