<?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: Rows deleted during creating datamodel in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918417#M75528</link>
    <description>&lt;P&gt;Hi Anat,&lt;/P&gt;
&lt;P&gt;I know that it is better to avoid Syn-tables. But deleting unused rows is strange...don't you think?&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2022 08:12:19 GMT</pubDate>
    <dc:creator>qlikhalmar</dc:creator>
    <dc:date>2022-04-14T08:12:19Z</dc:date>
    <item>
      <title>Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918399#M75523</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;My customer has an old QS app (not my work;) with,&amp;nbsp;among other tables, these 3 tables.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Two big facttables (Offers and Orders) with a lot of common fields&lt;/LI&gt;
&lt;LI&gt;One dimension table with customers&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;While building the datamodel, after the script reload, QS:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a big syn-table&lt;/LI&gt;
&lt;LI&gt;Delete specific rows of the dimension table. The rows that are deleted are the rows with unused key-values in both facttables. In our case the rows of customeres who does not have any offers or orders, but we still want to see those customers.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Is this a bug? Is there a way, beside get rid of the syn table, to fix this?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 07:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918399#M75523</guid>
      <dc:creator>qlikhalmar</dc:creator>
      <dc:date>2022-04-14T07:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918414#M75526</link>
      <description>&lt;P&gt;if possible try to avoid Syn-table and join&amp;nbsp;&lt;SPAN&gt;Offers and Orders based on the key field,try to rename common fields with diffrent name like sales_Offers ,Sales_Orders .....&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 08:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918414#M75526</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-04-14T08:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918417#M75528</link>
      <description>&lt;P&gt;Hi Anat,&lt;/P&gt;
&lt;P&gt;I know that it is better to avoid Syn-tables. But deleting unused rows is strange...don't you think?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 08:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918417#M75528</guid>
      <dc:creator>qlikhalmar</dc:creator>
      <dc:date>2022-04-14T08:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918423#M75529</link>
      <description>&lt;P&gt;yes ,we should not delete unused rows.&lt;/P&gt;
&lt;P&gt;may be check with your BA ,what was the requirement to delete those rows?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 08:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918423#M75529</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-04-14T08:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918426#M75530</link>
      <description>&lt;P&gt;No, &lt;STRONG&gt;Qlik Sense&lt;/STRONG&gt; delete those rows while creating the datamodel and the Syn-tables.&lt;/P&gt;
&lt;P&gt;I droped the table just at the end of the reload and compare it with the table after the datamodel is created. Thats why I know that only customers with facts (offers or orders) were kept in the customers table.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 08:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918426#M75530</guid>
      <dc:creator>qlikhalmar</dc:creator>
      <dc:date>2022-04-14T08:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918439#M75531</link>
      <description>&lt;P&gt;check is any inner join/keep in script?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 08:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918439#M75531</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2022-04-14T08:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918588#M75540</link>
      <description>&lt;P&gt;If you don't set any where clauses to the loading or applying any join-statements no records will be deleted. This happens only with an explicit statement.&lt;/P&gt;
&lt;P&gt;What you had observed are the effects of missing keys. Depending on from which side you look on the data you will always have records which won't be visible if there were missing keys.&lt;/P&gt;
&lt;P&gt;Of course there are ways to handle such scenarios, for example:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;checking all tables against each other and generating all missing keys&lt;/LI&gt;
&lt;LI&gt;creating a link-table between those tables&lt;/LI&gt;
&lt;LI&gt;concatenating these tables&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The last one with just concatenating these tables is the most easiest one - no trouble with missing keys or synthetic keys to each other or to further dimension-tables. Maybe you need some renaming to unify the field-names and adding an extra source-field to be able to differentiate between them. But that's all.&amp;nbsp;Simple!&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 13:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918588#M75540</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-04-14T13:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918630#M75543</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;
&lt;P&gt;Thanks for your reply! I follow your points, but there are two things still strange:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;What you had observed are the effects of missing keys. Depending on from which side you look on the data you will always have records which won't be visible if there were missing keys.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;1. But when I don't make any selection in the dashboard, I must see all the values from a table at all times.&lt;/P&gt;
&lt;P&gt;2. When I check the no of records of a table in the last line of my loadscript ('10498', see below), that no of records has to be the same as the no of records in the data model viewer (3179).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikhalmar_0-1649945635469.png" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77162iD9464593E729D5D2/image-size/small?v=v2&amp;amp;px=200" role="button" title="qlikhalmar_0-1649945635469.png" alt="qlikhalmar_0-1649945635469.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlikhalmar_1-1649945732535.png" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77163iD202CB55FCABAF74/image-size/small?v=v2&amp;amp;px=200" role="button" title="qlikhalmar_1-1649945732535.png" alt="qlikhalmar_1-1649945732535.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What i do know is that 3179 the number of values is that exists in the facttable, but that is not what I scripted and what I expect from QS.....&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 14:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918630#M75543</guid>
      <dc:creator>qlikhalmar</dc:creator>
      <dc:date>2022-04-14T14:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918659#M75545</link>
      <description>&lt;P&gt;1.&lt;/P&gt;
&lt;P&gt;In general yes, but it depends on the object respectively the combination of used fields and expressions if you could see all values respectively within the expected association to each other. If I have issues with unclear data-sets and their relation I add a respectively several recno() and rowno() to the relevant loads and pull them afterwards with other essential fields into a table-box. RecNo/RowNo make the records unique - within the tables and also in the table-box - which is important to display also redundant records respectively field-combinations. Further they will show clearly which records were loaded and which might be missing and with it it's usually not too difficult to find the reasons (any filters, bad data-quality, locked records if the missing records are randomly). Also displayed is the relation-ship respectively the association between the field-values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&lt;/P&gt;
&lt;P&gt;I'm not very familiar with Sense and could therefore not exactly judge what you see there - means if the 3179 might be distinct values. Beside this it could be possible to look on the wrong tables/fields - depending on the load-order, the data-structure on the loads, renaming statements and probably some more reasons it may happens.&lt;/P&gt;
&lt;P&gt;Another cause by missing records could be a section access which applied any data-reduction based on the authorization-table. If it's enabled I suggest to disable it for this kind of trouble-shooting.&lt;/P&gt;
&lt;P&gt;To repeat my above statement without any explicit statement or measures all records must be there. I never noticed any case without it.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 15:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1918659#M75545</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-04-14T15:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1920981#M75816</link>
      <description>&lt;P&gt;The problem is still there.&lt;/P&gt;
&lt;P&gt;I run the script with the key field to the facttable and my table is reduced during making the datamodel.&lt;/P&gt;
&lt;P&gt;I run the script and change the name of the key field and my table is filled with all the records.&lt;/P&gt;
&lt;P&gt;And there is no Section Access involved in this case.&lt;/P&gt;
&lt;P&gt;So it is a strange behavior that i cannot explane.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 13:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1920981#M75816</guid>
      <dc:creator>qlikhalmar</dc:creator>
      <dc:date>2022-04-21T13:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1920995#M75819</link>
      <description>&lt;P&gt;I'm further quite sure that there is no reducing of the data-set during the creation of the data-model. All records which were be loaded at this state will be there because there is no way on which they could be vanish.&lt;/P&gt;
&lt;P&gt;Therefore please read my answers from above again - carefully.&lt;/P&gt;
&lt;P&gt;In the end you may decide to design the data-model differently but just to check the that all loaded records are there concatenate all fact-tables into a single table and adding recno + rowno + an extra manual source-field. The dimension-tables are not necessary at this point. And now create a table-box within the UI and pull recno + rowno + Source and a few other relevant fields into it - and this check against your raw-data.&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/1920995#M75819</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-04-21T14:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/2494221#M102419</link>
      <description>&lt;P&gt;I just experienced this same issue and it had not been happening before. Someone suggested a data type issue or data changes on the back-end, but that doesn't really add up for me. Did you ever figure it out&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/13854"&gt;@qlikhalmar&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 17:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/2494221#M102419</guid>
      <dc:creator>Thos0036</dc:creator>
      <dc:date>2024-11-22T17:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rows deleted during creating datamodel</title>
      <link>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/2494322#M102423</link>
      <description>&lt;P&gt;Just go carefully through all my above mentioned hints. Without explicit statements no data will be removed and with recno/rowno it's simple to track all data.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2024 10:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rows-deleted-during-creating-datamodel/m-p/2494322#M102423</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-11-24T10:34:33Z</dc:date>
    </item>
  </channel>
</rss>

