<?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: Inconsistent values when using filters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inconsistent-values-when-using-filters/m-p/2106398#M1224399</link>
    <description>&lt;P&gt;Hi midwest,&lt;/P&gt;
&lt;P&gt;If you'd like anyone to troubleshoot your charts, please post a sample document, or at least specify all the formulas that you use in your chart - Dimensions and Expressions. Otherwise, we wouldn't have a clue about the issue.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2023 14:49:24 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2023-08-16T14:49:24Z</dc:date>
    <item>
      <title>Inconsistent values when using filters</title>
      <link>https://community.qlik.com/t5/QlikView/Inconsistent-values-when-using-filters/m-p/2106391#M1224398</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a chart indicating the frequency of visits over 2021 and 2022, based on dashboards that we completed in previous years. When I am not using filters, the frequencies are incorrect, but when I am using filters, they are correct, even though the dimension is the year that the service occurred.&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="midwest_0-1692196292675.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114548i9D880B328967C54A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="midwest_0-1692196292675.png" alt="midwest_0-1692196292675.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This screenshots above are incorrect.&amp;nbsp;For 2021, 2 visits should have a frequency of 10, 3 visits should have a frequency of 3. For 2022, 1 visit should have a frequency of 3, 2 visits should have a frequency of 8, and 3 visits should have a frequency of 6.&amp;nbsp;Every other frequency is correct.&lt;/P&gt;
&lt;P&gt;When filtering for year (2021/2022), the frequencies are correct.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="midwest_1-1692196521657.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114549i97102D518B8557DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="midwest_1-1692196521657.png" alt="midwest_1-1692196521657.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="midwest_2-1692196542635.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/114550iB1A8B711A094DB4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="midwest_2-1692196542635.png" alt="midwest_2-1692196542635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When using the dimension of year as a filter, the frequencies are correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know why this is happening? I am trying to create a report that has a chart of each year, side by side (as it looks in the first screenshot) showing the correct frequencies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inconsistent-values-when-using-filters/m-p/2106391#M1224398</guid>
      <dc:creator>midwest</dc:creator>
      <dc:date>2023-08-16T14:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent values when using filters</title>
      <link>https://community.qlik.com/t5/QlikView/Inconsistent-values-when-using-filters/m-p/2106398#M1224399</link>
      <description>&lt;P&gt;Hi midwest,&lt;/P&gt;
&lt;P&gt;If you'd like anyone to troubleshoot your charts, please post a sample document, or at least specify all the formulas that you use in your chart - Dimensions and Expressions. Otherwise, we wouldn't have a clue about the issue.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 14:49:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inconsistent-values-when-using-filters/m-p/2106398#M1224399</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-08-16T14:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent values when using filters</title>
      <link>https://community.qlik.com/t5/QlikView/Inconsistent-values-when-using-filters/m-p/2106426#M1224400</link>
      <description>&lt;P&gt;Here are my expressions:&lt;/P&gt;
&lt;P&gt;count(aggr(if( max(Visit_number)= 1, 1), DQ_Unique_number))&lt;/P&gt;
&lt;P&gt;count(aggr(if( max(Visit_number)= 2, 1), DQ_Unique_number))&lt;/P&gt;
&lt;P&gt;count(aggr(if( max(Visit_number)= 3, 1), DQ_Unique_number))&lt;/P&gt;
&lt;P&gt;count(aggr(if( max(Visit_number)= 4, 1), DQ_Unique_number))&lt;/P&gt;
&lt;P&gt;count(aggr(if( max(Visit_number)= 5, 1), DQ_Unique_number))&lt;/P&gt;
&lt;P&gt;count(aggr(if( max(Visit_number)= 6, 1), DQ_Unique_number))&lt;/P&gt;
&lt;P&gt;count(aggr(if( max(Visit_number)= 7, 1), DQ_Unique_number))&lt;/P&gt;
&lt;P&gt;count(aggr(if( max(Visit_number)= 8, 1), DQ_Unique_number))&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inconsistent-values-when-using-filters/m-p/2106426#M1224400</guid>
      <dc:creator>midwest</dc:creator>
      <dc:date>2023-08-16T15:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Inconsistent values when using filters</title>
      <link>https://community.qlik.com/t5/QlikView/Inconsistent-values-when-using-filters/m-p/2106440#M1224401</link>
      <description>&lt;P&gt;Well, if your chart has Year as a dimension, then your AGGR() functions should also include Year in the list of AGGR() dimensions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, there is a better way of achieving the same, using an aggregated dimension, like this:&lt;/P&gt;
&lt;P&gt;Dimension:&lt;/P&gt;
&lt;P&gt;AGGR(Max(Visit_number), Year, &lt;SPAN&gt;DQ_Unique_number&lt;/SPAN&gt;)&lt;/P&gt;
&lt;P&gt;Expression:&lt;/P&gt;
&lt;P&gt;count(distinct DQ_Unique_number)&lt;/P&gt;
&lt;P&gt;I'm teaching a similar solution in my lecture on Set Analysis and AGGR() at the Masters Summit for Qlik.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Join us at the &lt;A href="https://masterssummit.com" target="_blank"&gt;Masters Summit for Qlik&lt;/A&gt; in Orlando or in Dublin to learn advanced Set Analysis, scripting, data modeling, performance, visualizations, and more - delivered by some of the best Qlik experts in the world!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 15:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inconsistent-values-when-using-filters/m-p/2106440#M1224401</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2023-08-16T15:59:08Z</dc:date>
    </item>
  </channel>
</rss>

