<?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: Apparent set analysis inconsistency in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2462153#M98927</link>
    <description>&lt;P&gt;Hello everybody&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have news on this topic. This has been recognized as a defect by the support.&lt;/P&gt;
&lt;P&gt;At the end I was quite sure about that, as there were no other explanation left.&lt;/P&gt;
&lt;P&gt;Thank you again for your effort tryng to find an explanation, I lost a lot of time too as I couldn't believe it is a flaw in the engine.&lt;/P&gt;
&lt;P&gt;Paolo&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2024 11:20:57 GMT</pubDate>
    <dc:creator>paolo_cordini</dc:creator>
    <dc:date>2024-06-13T11:20:57Z</dc:date>
    <item>
      <title>Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454505#M98303</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;In my Datamodel there is a calendar, linked to the fact table, as usual…:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_0-1716280209865.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166477i48AF1DFB0265724B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paolo_cordini_0-1716280209865.png" alt="paolo_cordini_0-1716280209865.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, the measure in the table below has a set analysis which selects the dates above April 20&lt;SUP&gt;th&lt;/SUP&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_1-1716280209869.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166479iDB4AD4E6AD3FA9E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paolo_cordini_1-1716280209869.png" alt="paolo_cordini_1-1716280209869.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The field “DataMovSettimana” contains the week, it is calculated in the script as Week(DataMov).&lt;/P&gt;
&lt;P&gt;As you can see, the current selection is &lt;STRONG&gt;DataMovSettimana=18.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Then, as expected, the result is the intersection of the set analysis and the current selections, thus showing only dates pertaining to week 18.&lt;/P&gt;
&lt;P&gt;So, the result of the table below is the expected one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, I remove the dimension “DataMovSettimana” from the table, &lt;U&gt;without modifying anything in the selections,&lt;/U&gt; and the result is shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_2-1716280209871.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166478i774E698C9F700414/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paolo_cordini_2-1716280209871.png" alt="paolo_cordini_2-1716280209871.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, the measure total value is different as it apparently disregards the selection of the week. Moreover, the espression “week(DataMov)” is not calculated for the dates excluded in the set analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, I remove one of the selections (not the week). Now the result is correct….&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_3-1716280209873.png" style="width: 720px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166480iE1B45BD3DA2899C0/image-dimensions/720x117?v=v2" width="720" height="117" role="button" title="paolo_cordini_3-1716280209873.png" alt="paolo_cordini_3-1716280209873.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moreover, how this can be explained?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_4-1716280209876.png" style="width: 713px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166482i0D402FB09E1CAE62/image-dimensions/713x474?v=v2" width="713" height="474" role="button" title="paolo_cordini_4-1716280209876.png" alt="paolo_cordini_4-1716280209876.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to debug it, I made a copy of the date fields, both in the fact table and in the calendar table&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_5-1716280209876.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166481i511DDEF4D23C855D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paolo_cordini_5-1716280209876.png" alt="paolo_cordini_5-1716280209876.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&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="paolo_cordini_6-1716280209877.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166483i0DCCE1D0B235C111/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paolo_cordini_6-1716280209877.png" alt="paolo_cordini_6-1716280209877.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the result. Does it make sense? Anyway, it is a workaround for me in order to get correct results.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_7-1716280209879.png" style="width: 560px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166484i7C328EC1537AF089/image-dimensions/560x333?v=v2" width="560" height="333" role="button" title="paolo_cordini_7-1716280209879.png" alt="paolo_cordini_7-1716280209879.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I guess there is some datamodel issue but I am running out of ideas to throubleshoot it.&lt;/P&gt;
&lt;P&gt;Any suggestion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 08:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454505#M98303</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2024-05-21T08:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454559#M98307</link>
      <description>&lt;P&gt;Check the format of DataMov in &lt;STRONG&gt;m-movimie&lt;/STRONG&gt; table.&lt;BR /&gt;Seems that the relation key is not equal and you're calculating 22-28/04 dates based on the values in&amp;nbsp;&lt;STRONG&gt;m-movimie&lt;/STRONG&gt; table which are not related to calendar values.&lt;BR /&gt;When you select smth in Calendar, it works fine as those rows which are not related are disregarded.&lt;BR /&gt;&lt;BR /&gt;Also as a thought, you might need to enclose your date value into single quotes in this case &amp;gt;='20/04/2024' &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 09:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454559#M98307</guid>
      <dc:creator>Firefly_cam</dc:creator>
      <dc:date>2024-05-21T09:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454617#M98312</link>
      <description>&lt;P&gt;There is no reason to apply a formatting to DataMov without specifying a different format as the default one. Therefore I assume that the date isn't a date else a timestamp which remains a timestamp regardless how it's formatted - even by date(DataMov, 'YYYY') it would be a timestamp and not a year.&lt;/P&gt;
&lt;P&gt;If my above assumption is right, you will need something like this:&lt;/P&gt;
&lt;P&gt;date(floor(DataMov))&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 10:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454617#M98312</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-05-21T10:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454622#M98313</link>
      <description>&lt;P&gt;I first thought the same thing, already tried &lt;EM&gt;date(floor())&lt;/EM&gt;, same issue....&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 11:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454622#M98313</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2024-05-21T11:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454628#M98316</link>
      <description>&lt;P&gt;I will say your calendar does not link to all records in your fact table. For test you can create duplicate of&amp;nbsp;&lt;SPAN&gt;DataMov field in fact table&amp;nbsp;DataMov as&amp;nbsp;DataMovFact and&amp;nbsp;DataMov as&amp;nbsp;DataMovCal and then put all 3 fields&amp;nbsp;DataMov,&amp;nbsp;DataMovFact and&amp;nbsp;DataMovCal in single table as diemension. If you see any gaps that is your answer.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 11:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454628#M98316</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-05-21T11:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454631#M98318</link>
      <description>&lt;P&gt;Not sure if it's a timestamp issue, he's made copies of fields and both copies are not working:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-21 at 16.37.34.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166507iE7B7F5F66F04E3DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-05-21 at 16.37.34.png" alt="Screenshot 2024-05-21 at 16.37.34.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case of a timestamp issue at least the last sum() with DataMov_movime={} would work as expected&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 11:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454631#M98318</guid>
      <dc:creator>Firefly_cam</dc:creator>
      <dc:date>2024-05-21T11:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454639#M98319</link>
      <description>&lt;P&gt;Make sure that's identically applied in the facts as well as within the calendar.&lt;/P&gt;
&lt;P&gt;A chart with expressions isn't very helpful to check the exists and data-quality and also the associations between them. Better will be to use a table-box and set there all relevant fields side by side - here the date-key + the fact/dimension-date + the week + the other object-dimension and the measure-field. I assume something will look odd and could be investigated in more depths.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 11:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454639#M98319</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-05-21T11:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454662#M98322</link>
      <description>&lt;P&gt;No, the two copies of the date fields are working. The '91.654'&amp;nbsp; value that you see is correct. The result is not the correct one if I use the key date field.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 11:57:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454662#M98322</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2024-05-21T11:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454663#M98323</link>
      <description>&lt;P&gt;Already done. Nothing odd, everything appears correct with no misalignments, no NULLs, no holes...&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 11:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454663#M98323</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2024-05-21T11:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454751#M98337</link>
      <description>&lt;P&gt;Ok, Let's start from the beginning. The issue below is because you're trying to get Week(Date) in measure without aggregation. Measures return Null() when the result is a range instead of value. You can try Only(Week(Date)).&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-21 at 19.11.25.png" style="width: 698px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166521i18FAA2AC7517057E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-05-21 at 19.11.25.png" alt="Screenshot 2024-05-21 at 19.11.25.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As for the second part about set analysis, I have one theory what is the issue and this not obvious.&lt;BR /&gt;Can you do a favour and get a table with 2 dimensions: DateMov and Num(DateMov)? I would imagine you'll have multiple values of&amp;nbsp;Num(DateMov) for each&amp;nbsp;DateMov&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454751#M98337</guid>
      <dc:creator>Firefly_cam</dc:creator>
      <dc:date>2024-05-21T14:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454758#M98339</link>
      <description>&lt;P&gt;Unfortunately, this is not the case...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_0-1716301558670.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166522i3BCB371E7044ACAD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paolo_cordini_0-1716301558670.png" alt="paolo_cordini_0-1716301558670.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and no duplicates in the numeric dates....&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_1-1716301611003.png" style="width: 260px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166524i2681F28040D07DFD/image-dimensions/260x667?v=v2" width="260" height="667" role="button" title="paolo_cordini_1-1716301611003.png" alt="paolo_cordini_1-1716301611003.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;guess the issue is something more tricky&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454758#M98339</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2024-05-21T14:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454766#M98340</link>
      <description>&lt;P&gt;Paolo... these 2 are Dimension and measure&lt;BR /&gt;Please Do 2 Dimessions: DataMov and Num(DataMov)&lt;BR /&gt;Or in your implementation do&amp;nbsp;Count(Distinct Num(DataMov)) instead of&amp;nbsp;Num(DataMov).&lt;BR /&gt;I'm pretty sure I get what's happening there&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454766#M98340</guid>
      <dc:creator>Firefly_cam</dc:creator>
      <dc:date>2024-05-21T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454767#M98341</link>
      <description>&lt;P&gt;Were there really all relevant fields included in the table-box? Just the dates are not enough else all DataMov versions and all fields from the object dimensions + measures as well as all selected fields. Often helpful is also to include an unique key and if none exists to create one with recno() and/or rowno() - just to ensure to see all data and to have a view on all possible duplicates.&lt;/P&gt;
&lt;P&gt;Beside this make sure that there are no synthetic keys or circular loops within the data-model.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454767#M98341</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-05-21T14:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454770#M98342</link>
      <description>&lt;P&gt;Yes, you are right, but nevertheless, there should be something else&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_0-1716303324366.png" style="width: 666px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166527i4E04527B8AC897DE/image-dimensions/666x277?v=v2" width="666" height="277" role="button" title="paolo_cordini_0-1716303324366.png" alt="paolo_cordini_0-1716303324366.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454770#M98342</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2024-05-21T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454773#M98343</link>
      <description>&lt;P&gt;I think they've done a crazy thing and combined the As-of table with an actual Calendar using dual values In their DateKey. Which explains everything including the case when Only(Week(Date)) is not working&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-21 at 20.26.44.png" style="width: 440px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166528iC4394FB80B983E04/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-05-21 at 20.26.44.png" alt="Screenshot 2024-05-21 at 20.26.44.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 15:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454773#M98343</guid>
      <dc:creator>Firefly_cam</dc:creator>
      <dc:date>2024-05-21T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454778#M98344</link>
      <description>&lt;P&gt;It is not this case.&lt;BR /&gt;I am not the author of the script but it is quite straightforward. It's a simple usual calendar, no&amp;nbsp;&lt;SPAN&gt;As-of&amp;nbsp;table...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_0-1716303995169.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166529iBF818A3D03822689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="paolo_cordini_0-1716303995169.png" alt="paolo_cordini_0-1716303995169.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 15:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454778#M98344</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2024-05-21T15:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454786#M98348</link>
      <description>&lt;P&gt;That's the only way I can explain this and it makes sense. Also it explains why you need two identical dates in TabCalendario.&lt;BR /&gt;&lt;BR /&gt;This case appears to be almost untraceable, tried on my end and only this formula worked:&lt;BR /&gt;Date(Num(Date))=Date#(Text(Date))&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-05-21 at 20.46.17.png" style="width: 676px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166530iBB4B38A3AC2D6ADD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-05-21 at 20.46.17.png" alt="Screenshot 2024-05-21 at 20.46.17.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 15:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454786#M98348</guid>
      <dc:creator>Firefly_cam</dc:creator>
      <dc:date>2024-05-21T15:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454794#M98350</link>
      <description>&lt;P&gt;I think the calendar is not the problem else the DataMov from the facts - and an extra parallele num() + isnum() and similar might be useful there. Further if there are several fact-tables with DataMov as key repeat the doubling of them as separate fields and apply them too in the above suggested table-box. It's very like that your issue comes from not proper associations.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 15:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2454794#M98350</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-05-21T15:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2455646#M98441</link>
      <description>&lt;P&gt;I simplified a lot the datamodel for debugging purpose.I kept only the fields involved in the example.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="paolo_cordini_0-1716464048913.png" style="width: 436px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/166680i6DB14ADC87C2B24B/image-dimensions/436x279?v=v2" width="436" height="279" role="button" title="paolo_cordini_0-1716464048913.png" alt="paolo_cordini_0-1716464048913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;From here, if I use a LEFT KEEP when loading the "m-prosta" table then the issue is solved (the "ProdNome" field is included in the selections. But I have no explanation for this behavior.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 11:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2455646#M98441</guid>
      <dc:creator>paolo_cordini</dc:creator>
      <dc:date>2024-05-23T11:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Apparent set analysis inconsistency</title>
      <link>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2455654#M98442</link>
      <description>&lt;P&gt;I think it means that the associations between the data were not suitable for your view and the selection within a sub-dimension restricted the other selections and/or the reverse was happens and there were a n:m relationship which wasn't covered by the object granularity/expressions.&lt;/P&gt;
&lt;P&gt;Without diving deeper it's hard to say what's the issue but the above mentioned table-box with all related fields and depending on the data a recno() + rowno() from each single table should have provide hints in regard to gaps and/or a poor data-quality and/or any duplicates.&lt;/P&gt;
&lt;P&gt;Many of such association-trouble could be avoided by developing the data-model from the beginning as a star-scheme which means a single fact-table with n surrounding dimension-tables.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 12:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Apparent-set-analysis-inconsistency/m-p/2455654#M98442</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-05-23T12:13:54Z</dc:date>
    </item>
  </channel>
</rss>

