<?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: Nulls Causing Conditional Formatting to Fail in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536176#M38691</link>
    <description>&lt;P&gt;It's a field loaded from the database.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jan 2019 20:23:08 GMT</pubDate>
    <dc:creator>steverosebrook</dc:creator>
    <dc:date>2019-01-28T20:23:08Z</dc:date>
    <item>
      <title>Nulls Causing Conditional Formatting to Fail</title>
      <link>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536099#M38675</link>
      <description>&lt;P&gt;In some of our table objects we're applying conditional formatting using a&amp;nbsp;background color expression.&amp;nbsp; &amp;nbsp;Specifically, we're applying color banding to the rows of the table to make things easier to see.&amp;nbsp; We've noticed that for cells that are null, the formatting doesn't work.&lt;/P&gt;&lt;P&gt;Here's the formula we're using:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(RowNo(total)&amp;gt;=1 ,if(mod(Rowno(total),2)=0,RGB(184,204,228),RGB(220,230,241)),if(RowNo(total)=0,RGB(0,60,100)))&lt;/P&gt;&lt;P&gt;This works for everything but null cells.&amp;nbsp; A screen shot of the issue is below.&amp;nbsp; These nulls aren't in the source data - they are "app-side" nulls caused by a lack of data points for certain combinations of fields/tables.&amp;nbsp; So I don't think we can handle this in the load script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on how we might tweak our above formula to handle these nulls?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Banding Issue.PNG" style="width: 681px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/4646i9B93E7CAB5365D5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Banding Issue.PNG" alt="Banding Issue.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Steve&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:31:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536099#M38675</guid>
      <dc:creator>steverosebrook</dc:creator>
      <dc:date>2024-11-16T21:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls Causing Conditional Formatting to Fail</title>
      <link>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536170#M38690</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;is this RateM... field calculated or just a field loaded from database?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 20:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536170#M38690</guid>
      <dc:creator>y_grynechko</dc:creator>
      <dc:date>2019-01-28T20:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls Causing Conditional Formatting to Fail</title>
      <link>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536176#M38691</link>
      <description>&lt;P&gt;It's a field loaded from the database.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 20:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536176#M38691</guid>
      <dc:creator>steverosebrook</dc:creator>
      <dc:date>2019-01-28T20:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls Causing Conditional Formatting to Fail</title>
      <link>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536197#M38700</link>
      <description>&lt;P&gt;Okey, so in the column just use this if:&amp;nbsp;&lt;/P&gt;&lt;P&gt;=if(IsNull([Your Field]),'-',[Your Field])&amp;nbsp;&lt;/P&gt;&lt;P&gt;this will allow you to color field with '-' in it same as other fields.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 21:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536197#M38700</guid>
      <dc:creator>y_grynechko</dc:creator>
      <dc:date>2019-01-28T21:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls Causing Conditional Formatting to Fail</title>
      <link>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536201#M38701</link>
      <description>&lt;P&gt;Unfortunately, that won't work in our case.&amp;nbsp; The nulls in this particular field aren't in the source data - they're being caused on the app side.&amp;nbsp; For nulls in fields/cells in the source data, we typically try to handle them in the load script.&amp;nbsp; However, there are also nulls that show up in the app, due to combinations of products/dates/etc. that didn't even exist in the source data.&amp;nbsp; For these app-side nulls, I've never found a good solution on how to handle them.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 21:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536201#M38701</guid>
      <dc:creator>steverosebrook</dc:creator>
      <dc:date>2019-01-28T21:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls Causing Conditional Formatting to Fail</title>
      <link>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536205#M38702</link>
      <description>&lt;P&gt;do you use where exist when you load tables?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 22:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536205#M38702</guid>
      <dc:creator>y_grynechko</dc:creator>
      <dc:date>2019-01-28T22:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Nulls Causing Conditional Formatting to Fail</title>
      <link>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536337#M38706</link>
      <description>&lt;P&gt;This generated NULL value is being called Missing value and there is a lot about trying to color it in this community.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did go through threads but didn't find solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 07:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Nulls-Causing-Conditional-Formatting-to-Fail/m-p/1536337#M38706</guid>
      <dc:creator>y_grynechko</dc:creator>
      <dc:date>2019-01-29T07:39:53Z</dc:date>
    </item>
  </channel>
</rss>

