<?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: Problem adding a date field in my model in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680305#M51757</link>
    <description>&lt;P&gt;Ok, concatenate doesn't make sense because both tables only share one field (date_id) and there will be too many null values. But I can't join them because they only share one field and don't have any relation among fields.&lt;/P&gt;&lt;P&gt;So, the other option is to match both tables separately with master calendar like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture41.png" style="width: 934px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29305iE9F824CC0DCAC41E/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture41.png" alt="capture41.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have same problem as before. If I create a table (as graphic) with my new three fields (date_id, Q_concurrent and hora_concurrencia) from "Concurrentes" table, it is shown as follows (which makes sense):&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="capture42.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29307i2EAD06CFAC9D2A2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture42.png" alt="capture42.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I filter by date_id (for example 25/02/2020), it is shown null values (I guess corresponding to lines of fact table which have&amp;nbsp; null values for fields Q_concurrent and hora_concurrencia). It seems like when I filter by date_id the model doesn't search in "concurrentes" table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture43.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29308iBAA6D0C04FF93F9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture43.png" alt="capture43.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2020 10:40:43 GMT</pubDate>
    <dc:creator>mtabernad</dc:creator>
    <dc:date>2020-02-28T10:40:43Z</dc:date>
    <item>
      <title>Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1679975#M51725</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;I think it has to be easy to solve but I don't find the way to do it.&lt;/P&gt;&lt;P&gt;I have a Qlik Sense app. The model is quite simple. There are two tables (fact and calendar) matched by date_id field as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture38.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29228i82993B70F7C9BE5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture38.png" alt="capture38.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add (concatenate) to my fact table three new fields from another table. These new fields are: date_id (which it is already in the fact table) and Q_concurrent and hora_concurrencia (not already in fact table). This part of script is as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture34.png" style="width: 756px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29230i7BA50E4236E1E184/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture34.png" alt="capture34.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After doing that, my fact table is like this (which make sense):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture39.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29232iD011BBE61F29BDF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture39.png" alt="capture39.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem comes when I filter by date_id (for example 25/02/2020). The part of the fact table with new rows disappears. It's like the new rows don't match with the calendar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before filtering by date:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture36.png" style="width: 668px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29233i8655282664D22212/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture36.png" alt="capture36.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After filtering by date:&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="capture37.png" style="width: 826px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29234i2725A6FDF48AEC28/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture37.png" alt="capture37.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know where the problem is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1679975#M51725</guid>
      <dc:creator>mtabernad</dc:creator>
      <dc:date>2024-11-16T03:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680108#M51741</link>
      <description>&lt;P&gt;I'm not sure what you are trying to achieve but Concatenate is designed to append data when all or most fields are the same.&amp;nbsp; Try a join or even a new table which links through the common field.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 21:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680108#M51741</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2020-02-27T21:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680116#M51742</link>
      <description>&lt;P&gt;I second&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5905"&gt;@Lisa_P&lt;/a&gt;&amp;nbsp;statements. Make sure, what you want to do, concatenate or join.&lt;/P&gt;&lt;P&gt;In either case confirm data types of date_id field, if required use date interpretation (date#), date, floor functions to bring them together.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 22:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680116#M51742</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2020-02-27T22:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680305#M51757</link>
      <description>&lt;P&gt;Ok, concatenate doesn't make sense because both tables only share one field (date_id) and there will be too many null values. But I can't join them because they only share one field and don't have any relation among fields.&lt;/P&gt;&lt;P&gt;So, the other option is to match both tables separately with master calendar like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture41.png" style="width: 934px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29305iE9F824CC0DCAC41E/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture41.png" alt="capture41.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have same problem as before. If I create a table (as graphic) with my new three fields (date_id, Q_concurrent and hora_concurrencia) from "Concurrentes" table, it is shown as follows (which makes sense):&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="capture42.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29307i2EAD06CFAC9D2A2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture42.png" alt="capture42.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I filter by date_id (for example 25/02/2020), it is shown null values (I guess corresponding to lines of fact table which have&amp;nbsp; null values for fields Q_concurrent and hora_concurrencia). It seems like when I filter by date_id the model doesn't search in "concurrentes" table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture43.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29308iBAA6D0C04FF93F9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture43.png" alt="capture43.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 10:40:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680305#M51757</guid>
      <dc:creator>mtabernad</dc:creator>
      <dc:date>2020-02-28T10:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680366#M51763</link>
      <description>&lt;P&gt;Can you check if records for 25 Feb is present in Fact table&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 12:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680366#M51763</guid>
      <dc:creator>Qlik1_User1</dc:creator>
      <dc:date>2020-02-28T12:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680375#M51764</link>
      <description>&lt;P&gt;Yes, they are&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="capture44.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29318i82F5C5F4E32854C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture44.png" alt="capture44.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 13:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680375#M51764</guid>
      <dc:creator>mtabernad</dc:creator>
      <dc:date>2020-02-28T13:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680377#M51765</link>
      <description>&lt;P&gt;Are you able to filter the data ,by selecting date from calendar in Fact table? If yes, than concurent table is not linked correctly with Calendar table&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 13:27:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680377#M51765</guid>
      <dc:creator>Qlik1_User1</dc:creator>
      <dc:date>2020-02-28T13:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680387#M51768</link>
      <description>&lt;P&gt;Yes, I can filter data in Fact table by selecting date from Calendar.&lt;/P&gt;&lt;P&gt;I know that "Concurrentes" table is not linking correctly with Calendar but I don't know why. The point is to know why they are not linking properly.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 13:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680387#M51768</guid>
      <dc:creator>mtabernad</dc:creator>
      <dc:date>2020-02-28T13:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680388#M51769</link>
      <description>&lt;P&gt;Surely its a date format issue&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 13:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680388#M51769</guid>
      <dc:creator>Qlik1_User1</dc:creator>
      <dc:date>2020-02-28T13:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680389#M51770</link>
      <description>&lt;P&gt;Yes, probably you are right. It can't be other reason.&lt;/P&gt;&lt;P&gt;If I solve it, I'll post it. Meanwhile, any new format ideas are welcome&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 13:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680389#M51770</guid>
      <dc:creator>mtabernad</dc:creator>
      <dc:date>2020-02-28T13:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680445#M51778</link>
      <description>&lt;P&gt;The field from I have to create the date_id field is this one (I think in string format):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="capture45.png" style="width: 426px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/29330i617F36308805A007/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture45.png" alt="capture45.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not able to create a date_id field with this format: 'DD/MM/YYYY'&lt;/P&gt;&lt;P&gt;Any help, please?&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;</description>
      <pubDate>Fri, 28 Feb 2020 15:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680445#M51778</guid>
      <dc:creator>mtabernad</dc:creator>
      <dc:date>2020-02-28T15:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680719#M51792</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;DATE(NUM(&lt;SPAN&gt;date_id&lt;/SPAN&gt;),'DD/MM/YYYY')&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 03:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680719#M51792</guid>
      <dc:creator>Qlik1_User1</dc:creator>
      <dc:date>2020-03-02T03:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680736#M51794</link>
      <description>&lt;P&gt;I think the problem is due to one or both dates having a hidden time component. Using the format functions (like Date()) can prevent the display of the time, but does not remove the time from the underlying value. Use Floor() to remove the time (and Frac() to remove the date part) if you want a time field):&lt;/P&gt;&lt;P&gt;Date(Floor(yourtimefield)) as Date,&lt;/P&gt;&lt;P&gt;Time(Frac(yourtimefeidl)) as Time,&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 04:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680736#M51794</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2020-03-02T04:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680766#M51796</link>
      <description>&lt;P&gt;Hi, I think the real question is to concatenate the third table which has three field with the Fact table and the common field is Date ID in both tables. I think concatenate&amp;nbsp; is not the correct solution for such case. Have you tried Apply Map feature. If not then:&amp;nbsp; Just create two mapping tables from the third table with combination of&amp;nbsp; Date ID and&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;Q_concurrent&amp;nbsp; AND Date ID and&amp;nbsp;hora_concurrencia.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now from Third table you have two mapping table and use apply map in fact table to get&amp;nbsp;Q_concurrent and hora_concurrencia field based on Date ID field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rajneesh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 07:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680766#M51796</guid>
      <dc:creator>musketeers</dc:creator>
      <dc:date>2020-03-02T07:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem adding a date field in my model</title>
      <link>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680773#M51797</link>
      <description>&lt;P&gt;Yessss!!! Finally I get it! That was the problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much! You made my day&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 07:40:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Problem-adding-a-date-field-in-my-model/m-p/1680773#M51797</guid>
      <dc:creator>mtabernad</dc:creator>
      <dc:date>2020-03-02T07:40:10Z</dc:date>
    </item>
  </channel>
</rss>

