<?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 While using pick &amp;amp; match in expression, null values in the dimensions are getting suppressed automatically in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/While-using-pick-amp-match-in-expression-null-values-in-the/m-p/2096324#M89802</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;I am facing this problem where when I am using Pick and Match in the expression as below, null values in the dimension are getting suppressed automatically.&lt;/P&gt;
&lt;P&gt;Expression:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pick(Match(Selected_Date,'DailyReportDate','WeeklyReportDate',&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;DailyReportDate={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'},RepFOSOPS={'Y'}&amp;gt;}Sales),&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;WeeklyReportDate={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'},RepFOSOPS={'Y'}&amp;gt;}Sales)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;Result in the straight table as follows.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="128" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD width="64" height="19" style="height: 14.5pt; width: 48pt;"&gt;Business&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;Sales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;A&lt;/TD&gt;
&lt;TD align="right"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;B&lt;/TD&gt;
&lt;TD align="right"&gt;120&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;C&lt;/TD&gt;
&lt;TD align="right"&gt;80&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;Total&lt;/TD&gt;
&lt;TD align="right"&gt;320&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expression without Pick and Match:&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;DailyReportDate={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'},RepFOSOPS={'Y'}&amp;gt;}Sales)&lt;/P&gt;
&lt;P&gt;Result in the straight table as follows.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="128" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD width="64" height="19" style="height: 14.5pt; width: 48pt;"&gt;Business&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;Sales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;A&lt;/TD&gt;
&lt;TD align="right"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;B&lt;/TD&gt;
&lt;TD align="right"&gt;120&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;C&lt;/TD&gt;
&lt;TD align="right"&gt;80&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;-&lt;/TD&gt;
&lt;TD align="right"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;Total&lt;/TD&gt;
&lt;TD align="right"&gt;320&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
    <pubDate>Sat, 22 Jul 2023 11:24:15 GMT</pubDate>
    <dc:creator>Manish</dc:creator>
    <dc:date>2023-07-22T11:24:15Z</dc:date>
    <item>
      <title>While using pick &amp; match in expression, null values in the dimensions are getting suppressed automatically</title>
      <link>https://community.qlik.com/t5/App-Development/While-using-pick-amp-match-in-expression-null-values-in-the/m-p/2096324#M89802</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;
&lt;P&gt;I am facing this problem where when I am using Pick and Match in the expression as below, null values in the dimension are getting suppressed automatically.&lt;/P&gt;
&lt;P&gt;Expression:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pick(Match(Selected_Date,'DailyReportDate','WeeklyReportDate',&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;DailyReportDate={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'},RepFOSOPS={'Y'}&amp;gt;}Sales),&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;WeeklyReportDate={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'},RepFOSOPS={'Y'}&amp;gt;}Sales)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;
&lt;P&gt;Result in the straight table as follows.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="128" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD width="64" height="19" style="height: 14.5pt; width: 48pt;"&gt;Business&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;Sales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;A&lt;/TD&gt;
&lt;TD align="right"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;B&lt;/TD&gt;
&lt;TD align="right"&gt;120&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;C&lt;/TD&gt;
&lt;TD align="right"&gt;80&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;Total&lt;/TD&gt;
&lt;TD align="right"&gt;320&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expression without Pick and Match:&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;DailyReportDate={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'},RepFOSOPS={'Y'}&amp;gt;}Sales)&lt;/P&gt;
&lt;P&gt;Result in the straight table as follows.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="128" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD width="64" height="19" style="height: 14.5pt; width: 48pt;"&gt;Business&lt;/TD&gt;
&lt;TD width="64" style="width: 48pt;"&gt;Sales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;A&lt;/TD&gt;
&lt;TD align="right"&gt;100&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;B&lt;/TD&gt;
&lt;TD align="right"&gt;120&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;C&lt;/TD&gt;
&lt;TD align="right"&gt;80&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;-&lt;/TD&gt;
&lt;TD align="right"&gt;20&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.5pt;"&gt;
&lt;TD height="19" style="height: 14.5pt;"&gt;Total&lt;/TD&gt;
&lt;TD align="right"&gt;320&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Sat, 22 Jul 2023 11:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/While-using-pick-amp-match-in-expression-null-values-in-the/m-p/2096324#M89802</guid>
      <dc:creator>Manish</dc:creator>
      <dc:date>2023-07-22T11:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: While using pick &amp; match in expression, null values in the dimensions are getting suppressed automatically</title>
      <link>https://community.qlik.com/t5/App-Development/While-using-pick-amp-match-in-expression-null-values-in-the/m-p/2096382#M89809</link>
      <description>&lt;P&gt;G'day&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/77128"&gt;@Manish&lt;/a&gt;, I think the use of a &lt;A href="https://help.qlik.com/en-US/video/HDPoZEThcGVqi9Hs4mbc3i" target="_self"&gt;variable Input Box&lt;/A&gt; would make this code simpler and also remove the problem with pick/match. Use it as a drop-down with fixed values, or as buttons. Then your code becomes something like this ...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum( {&amp;lt;$(vReportDate)={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'},RepFOSOPS={'Y'}&amp;gt;}Sales)&lt;/LI-CODE&gt;
&lt;P&gt;See if you can find a tutorial to teach you how to set it up. It's worth it as I find it produces a nice output.&lt;/P&gt;
&lt;P&gt;Cheers, Barnaby.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 23:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/While-using-pick-amp-match-in-expression-null-values-in-the/m-p/2096382#M89809</guid>
      <dc:creator>barnabyd</dc:creator>
      <dc:date>2023-07-23T23:27:05Z</dc:date>
    </item>
  </channel>
</rss>

