<?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: Re: Correctly view/suppress dimensions/expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621415#M228765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this might be helpful for you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also google for 'infinityinsight blog' post on missing values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 19:10:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-10T19:10:46Z</dc:date>
    <item>
      <title>Correctly view/suppress dimensions/expression</title>
      <link>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621411#M228761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart with the date on X-axis and a log count on the Y-axis, that differentiates the log count by a RuleID associated with each log. So, in QlikView lingo:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Dimension 1: Day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Dimension 2: RuleID (Can be filtered)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Expression 1:Count (Logs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem: In my initial implementation I was seeing day columns being added/removed based on the rules I was filtering. I need these to be consistent to always display the Day on the X-axis (even if there are no logs, or no logs for selected RuleID filter for that day). Once that is the case, when I filter down the RuleID only selected RuleID's should be listed in the legend&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some of my results:&lt;/P&gt;&lt;P&gt;First shows that I have filtered down to just RuleID 10052. But you can see from the second shot, that if I add RuleID 500 it now displays another column that was suppressed in the first one because the value was 0.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="KeepDatesFilterRules.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/54660_KeepDatesFilterRules.jpg" style="width: 620px; height: 567px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the bottom one, I tried this expression to essentially always keep the column (even when date is 0 with RuleID filter), but only show values from the filter:&lt;/P&gt;&lt;P&gt;= if (Count( {&amp;lt;RuleID=&amp;gt;} EventID ) &amp;gt;= 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count( EventID ))&lt;/P&gt;&lt;P&gt;This results in every possible RuleID listed in the legend rather than the ones I have filtered. Plus this seems like a hack because I don't fully understand how it should be implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure I am just missing something basic...so, please set me straight. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:22:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621411#M228761</guid>
      <dc:creator />
      <dc:date>2014-03-10T18:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Correctly view/suppress dimensions/expression</title>
      <link>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621412#M228762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;you can resolve this in two ways,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1. creating zero values for all missing combinations of logid/date in data model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. you can modify set&amp;nbsp; to force include missing dates&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ex: sum(logcount)-sum({1}0)&amp;nbsp; (you can also just ignore the date field in the 0 expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621412#M228762</guid>
      <dc:creator />
      <dc:date>2014-03-10T18:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Correctly view/suppress dimensions/expression</title>
      <link>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621413#M228763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How exactly would I pad my calendar table to make sure that all dates are included even if there was no log associated with that date?&amp;nbsp; This is a small portion of my data model and how I create the calendar table.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DataModel.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/54665_DataModel.jpg" style="width: 620px; height: 228px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 19:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621413#M228763</guid>
      <dc:creator />
      <dc:date>2014-03-10T19:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Correctly view/suppress dimensions/expression</title>
      <link>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621414#M228764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you need something like this:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/05/populating-a-sparsely-populated-field&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 19:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621414#M228764</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-03-10T19:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Correctly view/suppress dimensions/expression</title>
      <link>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621415#M228765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3786"&gt;Generating Missing Data In QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this might be helpful for you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also google for 'infinityinsight blog' post on missing values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 19:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Correctly-view-suppress-dimensions-expression/m-p/621415#M228765</guid>
      <dc:creator />
      <dc:date>2014-03-10T19:10:46Z</dc:date>
    </item>
  </channel>
</rss>

