<?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: Excluding rows with null dimension values without excluding the measures on these rows (table visualization) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Excluding-rows-with-null-dimension-values-without-excluding-the/m-p/1933906#M76929</link>
    <description>&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;1) Option 1 :Front End only solution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Product&lt;/P&gt;
&lt;P&gt;Status&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measure&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=SUM( aggr(nodistinct Sum({&amp;lt;Fieldtype={'Value 1'}&amp;gt;} Value),Product))&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value 2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=SUM( aggr(nodistinct Sum({&amp;lt;Fieldtype={'Value 2'}&amp;gt;} Value),Product))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;2)Option 2 :&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;Script solution (&lt;STRONG&gt;Recommended to fix data issues&lt;/STRONG&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;temp:&lt;/P&gt;
&lt;P&gt;Load * from YourDataSource;&lt;/P&gt;
&lt;P&gt;NOCONCATENATE&lt;/P&gt;
&lt;P&gt;Main:&lt;BR /&gt;Load &lt;BR /&gt;Product&lt;BR /&gt;,Fieldtype&lt;BR /&gt;,if(Product=Peek(Product),Peek(new_Status),Status) as new_Status&lt;BR /&gt;,if(Value=Peek(Value),Peek(new_Value),Value) as new_Value&lt;/P&gt;
&lt;P&gt;Resident temp&lt;BR /&gt;Order by Product ,Status DESC;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then in charts use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimensions&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Product, new_Status&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measures&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;&lt;SPAN&gt;Fieldtype&lt;/SPAN&gt;={'Value 1'}&amp;gt;}new_Value)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;&lt;SPAN&gt;Fieldtype&lt;/SPAN&gt;={'Value 2'}&amp;gt;}new_Value)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 May 2022 14:38:50 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2022-05-21T14:38:50Z</dc:date>
    <item>
      <title>Excluding rows with null dimension values without excluding the measures on these rows (table visualization)</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-rows-with-null-dimension-values-without-excluding-the/m-p/1933640#M76905</link>
      <description>&lt;P&gt;Hi, I have some raw data that looks like this:&lt;/P&gt;
&lt;TABLE border="0" width="324px" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="97.7656px" height="17" class="xl65"&gt;
&lt;P&gt;&lt;SPAN&gt;Product&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="97.5469px" class="xl65"&gt;Field type&lt;/TD&gt;
&lt;TD width="87.6719px" class="xl66"&gt;Status&amp;nbsp;&lt;/TD&gt;
&lt;TD width="40.0156px"&gt;Value&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="97.7656px" height="17" class="xl66"&gt;A&lt;/TD&gt;
&lt;TD width="97.5469px" class="xl66"&gt;Status&lt;/TD&gt;
&lt;TD width="87.6719px" align="right" class="xl67 lia-align-left"&gt;Done&lt;/TD&gt;
&lt;TD width="40.0156px" class="lia-align-right"&gt;Null&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="97.7656px" height="17" class="xl66"&gt;A&lt;/TD&gt;
&lt;TD width="97.5469px" class="xl66"&gt;Value 1&lt;/TD&gt;
&lt;TD width="87.6719px" align="right" class="xl67 lia-align-left"&gt;Null&lt;/TD&gt;
&lt;TD width="40.0156px" class="lia-align-right"&gt;10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="97.7656px" height="17" class="xl66"&gt;A&lt;/TD&gt;
&lt;TD width="97.5469px" class="xl66"&gt;Value 2&lt;/TD&gt;
&lt;TD width="87.6719px" align="right" class="xl67 lia-align-left"&gt;Null&lt;/TD&gt;
&lt;TD width="40.0156px" class="lia-align-right"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="97.7656px" height="17" class="xl66"&gt;B&lt;/TD&gt;
&lt;TD width="97.5469px" class="xl66"&gt;Status&lt;/TD&gt;
&lt;TD width="87.6719px" align="right" class="xl67 lia-align-left"&gt;Production&lt;/TD&gt;
&lt;TD width="40.0156px" class="lia-align-right"&gt;Null&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;Value 1&lt;/TD&gt;
&lt;TD class="lia-align-left"&gt;Null&lt;/TD&gt;
&lt;TD class="lia-align-right"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;Value 2&lt;/TD&gt;
&lt;TD class="lia-align-left"&gt;Null&lt;/TD&gt;
&lt;TD class="lia-align-right"&gt;10&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to create a table visualization in Qlik Sense that looks like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="0" width="323px" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="87.7812px"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="72.8125px"&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="80.6875px" class="lia-align-left"&gt;&lt;STRONG&gt;Value 1&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="80.7188px" class="lia-align-right"&gt;&lt;STRONG&gt;Value 2&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="87.7812px"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="72.8125px"&gt;&lt;STRONG&gt;Done&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="80.6875px" class="lia-align-right"&gt;&lt;STRONG&gt;10&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="80.7188px" class="lia-align-right"&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;STRONG&gt;Production&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD class="lia-align-right"&gt;&lt;STRONG&gt;15&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD class="lia-align-right"&gt;&lt;STRONG&gt;10&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Problem: I can get a table that looks like this&lt;/P&gt;
&lt;TABLE border="0" width="323px" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="84.3594px" height="25px"&gt;Product&lt;/TD&gt;
&lt;TD width="85.9688px" height="25px"&gt;Status&lt;/TD&gt;
&lt;TD width="75.3281px" height="25px" class="lia-align-left"&gt;Value 1&lt;/TD&gt;
&lt;TD width="76.3438px" height="25px" class="lia-align-right"&gt;Value 2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="84.3594px" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="85.9688px" height="25px"&gt;Null&lt;/TD&gt;
&lt;TD width="75.3281px" height="25px" class="lia-align-right"&gt;10&lt;/TD&gt;
&lt;TD width="76.3438px" height="25px" class="lia-align-right"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="84.3594px" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="85.9688px" height="25px"&gt;Done&lt;/TD&gt;
&lt;TD width="75.3281px" height="25px" class="lia-align-right"&gt;Null&lt;/TD&gt;
&lt;TD width="76.3438px" height="25px" class="lia-align-right"&gt;Null&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="84.3594px" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="85.9688px" height="25px"&gt;Null&lt;/TD&gt;
&lt;TD width="75.3281px" height="25px" class="lia-align-right"&gt;15&lt;/TD&gt;
&lt;TD width="76.3438px" height="25px" class="lia-align-right"&gt;10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="84.3594px" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="85.9688px" height="25px"&gt;Production&lt;/TD&gt;
&lt;TD width="75.3281px" height="25px" class="lia-align-right"&gt;Null&lt;/TD&gt;
&lt;TD width="76.3438px" height="25px" class="lia-align-right"&gt;Null&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The rows for the products either gets Status or Values, otherwise Null&lt;/P&gt;
&lt;P&gt;When I try to do set analysis...&lt;/P&gt;
&lt;P&gt;Sum(TOTAL &amp;lt;[Product]&amp;gt;&amp;nbsp;[Value 1] ) and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sum(TOTAL &amp;lt;[Product]&amp;gt;&amp;nbsp;[Value 2] )&lt;/P&gt;
&lt;P&gt;I can get Values on all rows. However, when I go to the table dimension settings for Status in and hide it's null cells, all the values also disappear.&lt;/P&gt;
&lt;P&gt;How can this be solved?&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 13:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-rows-with-null-dimension-values-without-excluding-the/m-p/1933640#M76905</guid>
      <dc:creator>salcin</dc:creator>
      <dc:date>2022-05-20T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding rows with null dimension values without excluding the measures on these rows (table visualization)</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-rows-with-null-dimension-values-without-excluding-the/m-p/1933853#M76922</link>
      <description>&lt;P&gt;Hi, you can do a joins to have all data in one row like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;OrigData:
&amp;lt;LoadYourTable&amp;gt;;

TransformData:
Noconcatenate LOAD Product, Status Resident OrigData Where [Field type]='Status';

Left Join (TransformData)
LOAD Product, Value as [Value 1] Resident OrigData Where [Field type]='Value 1';

Left Join (TransformData)
LOAD Product, Value as [Value 2] Resident OrigData Where [Field type]='Value 2';

DROP Table OrigData;&lt;/LI-CODE&gt;
&lt;P&gt;Another option could be adding status as a measure, like:&lt;/P&gt;
&lt;P&gt;MinString({&amp;lt;Status={'Done','Production'}&amp;gt;} Status)&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 07:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-rows-with-null-dimension-values-without-excluding-the/m-p/1933853#M76922</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-05-21T07:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding rows with null dimension values without excluding the measures on these rows (table visualization)</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-rows-with-null-dimension-values-without-excluding-the/m-p/1933906#M76929</link>
      <description>&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;1) Option 1 :Front End only solution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Product&lt;/P&gt;
&lt;P&gt;Status&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measure&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value 1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=SUM( aggr(nodistinct Sum({&amp;lt;Fieldtype={'Value 1'}&amp;gt;} Value),Product))&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value 2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;=SUM( aggr(nodistinct Sum({&amp;lt;Fieldtype={'Value 2'}&amp;gt;} Value),Product))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;2)Option 2 :&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;Script solution (&lt;STRONG&gt;Recommended to fix data issues&lt;/STRONG&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;temp:&lt;/P&gt;
&lt;P&gt;Load * from YourDataSource;&lt;/P&gt;
&lt;P&gt;NOCONCATENATE&lt;/P&gt;
&lt;P&gt;Main:&lt;BR /&gt;Load &lt;BR /&gt;Product&lt;BR /&gt;,Fieldtype&lt;BR /&gt;,if(Product=Peek(Product),Peek(new_Status),Status) as new_Status&lt;BR /&gt;,if(Value=Peek(Value),Peek(new_Value),Value) as new_Value&lt;/P&gt;
&lt;P&gt;Resident temp&lt;BR /&gt;Order by Product ,Status DESC;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then in charts use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimensions&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Product, new_Status&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Measures&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;&lt;SPAN&gt;Fieldtype&lt;/SPAN&gt;={'Value 1'}&amp;gt;}new_Value)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Value2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;sum({&amp;lt;&lt;SPAN&gt;Fieldtype&lt;/SPAN&gt;={'Value 2'}&amp;gt;}new_Value)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 14:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-rows-with-null-dimension-values-without-excluding-the/m-p/1933906#M76929</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-21T14:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding rows with null dimension values without excluding the measures on these rows (table visualization)</title>
      <link>https://community.qlik.com/t5/App-Development/Excluding-rows-with-null-dimension-values-without-excluding-the/m-p/1942669#M77668</link>
      <description>&lt;P&gt;Thank you both for good ideas! I used the method of left joining a 'status' table with each 'value' separately as you suggested Rubenmarin.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 07:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Excluding-rows-with-null-dimension-values-without-excluding-the/m-p/1942669#M77668</guid>
      <dc:creator>salcin</dc:creator>
      <dc:date>2022-06-13T07:55:37Z</dc:date>
    </item>
  </channel>
</rss>

