<?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: hide rows where measure is null if future in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507202#M104304</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;If you want to filter out future data in the data load itself, you can add a condition to your WHERE clause like this "WHERE YearQuarter &amp;lt;= Num(Today())"&lt;/P&gt;
&lt;P&gt;If your dataset doesn't have a direct YearQuarter numeric comparison with today's date, you might extract the year and quarter separately:&lt;/P&gt;
&lt;P&gt;WHERE MakeDate(LEFT(YearQuarter,4), MID(YearQuarter,5,2)*3-2, 1) &amp;lt;= Today()&lt;BR /&gt;This converts YYYYQ format into a valid date and compares it.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 08:12:39 GMT</pubDate>
    <dc:creator>diegozecchini</dc:creator>
    <dc:date>2025-02-25T08:12:39Z</dc:date>
    <item>
      <title>hide rows where measure is null if future</title>
      <link>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507142#M104299</link>
      <description>&lt;P&gt;I am trying to show sales and budgets by quarter year increments and I want to hide these future rows where there is a measure value for budget but not for sales obviously. How do I remove them? I was thinking something like "if yearquarter is &amp;gt; today, hide" or something like that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jalanhart_0-1740447220909.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177813i5409679A26A8C9BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jalanhart_0-1740447220909.png" alt="jalanhart_0-1740447220909.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 01:33:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507142#M104299</guid>
      <dc:creator>jalanhart</dc:creator>
      <dc:date>2025-02-25T01:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: hide rows where measure is null if future</title>
      <link>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507153#M104300</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If(&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; YearQuarter &amp;lt;= Year(Today()) * 100 + Ceil(Month(Today()) / 3)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; OR NOT IsNull(Sum(Sales)),&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; YearQuarte&lt;SPAN&gt;r&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 02:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507153#M104300</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-02-25T02:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: hide rows where measure is null if future</title>
      <link>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507202#M104304</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;If you want to filter out future data in the data load itself, you can add a condition to your WHERE clause like this "WHERE YearQuarter &amp;lt;= Num(Today())"&lt;/P&gt;
&lt;P&gt;If your dataset doesn't have a direct YearQuarter numeric comparison with today's date, you might extract the year and quarter separately:&lt;/P&gt;
&lt;P&gt;WHERE MakeDate(LEFT(YearQuarter,4), MID(YearQuarter,5,2)*3-2, 1) &amp;lt;= Today()&lt;BR /&gt;This converts YYYYQ format into a valid date and compares it.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 08:12:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507202#M104304</guid>
      <dc:creator>diegozecchini</dc:creator>
      <dc:date>2025-02-25T08:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: hide rows where measure is null if future</title>
      <link>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507229#M104307</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would recommend to use a Set Analysis in both measure (budget and sales) to cap your measure to the period you want (max sales date or today rounded to QuarterEnd?)&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 13:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507229#M104307</guid>
      <dc:creator>SRA</dc:creator>
      <dc:date>2025-02-25T13:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: hide rows where measure is null if future</title>
      <link>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507230#M104308</link>
      <description>&lt;P&gt;Beside restricting the data-set per where-clause or the object-dimension with an if-condition you may adjust the expression with a set analysis with a reference to the date, for example:&lt;/P&gt;
&lt;P&gt;sum({&amp;lt; Date = {"&amp;lt;=$(=today())"}&amp;gt;} Value)&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 13:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/hide-rows-where-measure-is-null-if-future/m-p/2507230#M104308</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-02-25T13:25:17Z</dc:date>
    </item>
  </channel>
</rss>

