<?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: Column Dependency in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2525298#M15067</link>
    <description>&lt;P&gt;I couldn't give more detailed suggestions because it's not quite clear which information with which logic should be compared unless that you mentioned to compare the order of visits over multiple records.&lt;/P&gt;&lt;P&gt;Therefore the general recommendation to use interrecord-functions. Ideally you didn't try to apply them at first within the origin application else using a dummy-app with maybe one or two dozens records and then just testing the results of previous(MyField) with this sorting and then another one and then embedding them within n if-loops to perform the comparison. By using peek() instead of previous() you could also access the records from a new created field. Take also a look within the help to these functions.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jul 2025 06:48:29 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2025-07-25T06:48:29Z</dc:date>
    <item>
      <title>Column Dependency</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2523380#M15021</link>
      <description>&lt;P&gt;Hey all.&amp;nbsp; I am needing to compare 2 date fields to get average days lapsed in between separate services.&amp;nbsp; Example - patient comes in on 3/2/2025 (1st Service Date) for intake (1st Service Code), and then comes in on 3/8/2025 (2nd Service Date) for follow up (2nd Service Code).&amp;nbsp; I am wanting (1st Service Code) to filter out results with only that code, and then then display the date of that service.&amp;nbsp; Then I am wanting the 2nd Service Code column to only show when the follow up code happened for that same patient and display that date.&amp;nbsp; All columns would be based on distinct patient id numbers.&amp;nbsp; Screenshot below of what I have currently, just not sure how to build the dependency.&amp;nbsp; Thanks for your help.&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="vancet_0-1751949798290.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181880i92A162F156548CC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vancet_0-1751949798290.png" alt="vancet_0-1751949798290.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 04:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2523380#M15021</guid>
      <dc:creator>vancet</dc:creator>
      <dc:date>2025-07-08T04:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Column Dependency</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2523665#M15023</link>
      <description>&lt;P&gt;I think you could use interrecord-functions like previous() and peek() within n properly sorted resident-loads to query the current record against the previous one to create n flags, continuous counter backwards and/or forwards and/or the min/max ones and/or any kind of offsets between them.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 15:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2523665#M15023</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-07-09T15:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Column Dependency</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2525229#M15065</link>
      <description>&lt;P&gt;I'm going to need that explained a little more plainly.&amp;nbsp; I'm not following how that would play out.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 15:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2525229#M15065</guid>
      <dc:creator>vancet</dc:creator>
      <dc:date>2025-07-24T15:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Column Dependency</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2525298#M15067</link>
      <description>&lt;P&gt;I couldn't give more detailed suggestions because it's not quite clear which information with which logic should be compared unless that you mentioned to compare the order of visits over multiple records.&lt;/P&gt;&lt;P&gt;Therefore the general recommendation to use interrecord-functions. Ideally you didn't try to apply them at first within the origin application else using a dummy-app with maybe one or two dozens records and then just testing the results of previous(MyField) with this sorting and then another one and then embedding them within n if-loops to perform the comparison. By using peek() instead of previous() you could also access the records from a new created field. Take also a look within the help to these functions.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 06:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2525298#M15067</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-07-25T06:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Column Dependency</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2525311#M15068</link>
      <description>&lt;P&gt;I am needing to compare the date columns to show number of days lapsed between visit 1 and visit 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sorry, I'm very new to Qlik and trying to learn as I go.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 08:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2525311#M15068</guid>
      <dc:creator>vancet</dc:creator>
      <dc:date>2025-07-25T08:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Column Dependency</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2525326#M15069</link>
      <description>&lt;P&gt;A date-offset could be easily calculated in the way of:&lt;/P&gt;&lt;P&gt;DateX - DateY as DateOffset&lt;/P&gt;&lt;P&gt;Should the first and second date within a record be already these X/Y dates you could directly apply the above example. If not you will need at first a logic to identify the X/Y within your records before you could go to a technically implementation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 10:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Column-Dependency/m-p/2525326#M15069</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-07-25T10:42:31Z</dc:date>
    </item>
  </channel>
</rss>

