<?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 Selecting date from one column based on date in another column (In table) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Selecting-date-from-one-column-based-on-date-in-another-column/m-p/1808085#M65805</link>
    <description>&lt;P&gt;I have to date columns in my app that I am having trouble related how they should. They do not have a direct relation persay.&lt;/P&gt;&lt;P&gt;One is the payment date, and one is the order deadline. I am trying to create a column in a table that selects the order deadline closest to (but before) the payment date. The relating key is a person key. So, I would hope to have a person key, order deadline, and then payment deadline as my three columns.&lt;/P&gt;&lt;P&gt;So far I have tried various renditions of&amp;nbsp;&lt;SPAN&gt;=if(Max(TimeKey) &amp;lt; CommissionDeadline, Max(TimeKey)) because the TimeKey is already involved in an aggregation grouped by PersonKey in the load script.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 17:16:08 GMT</pubDate>
    <dc:creator>srl844</dc:creator>
    <dc:date>2021-05-14T17:16:08Z</dc:date>
    <item>
      <title>Selecting date from one column based on date in another column (In table)</title>
      <link>https://community.qlik.com/t5/App-Development/Selecting-date-from-one-column-based-on-date-in-another-column/m-p/1808085#M65805</link>
      <description>&lt;P&gt;I have to date columns in my app that I am having trouble related how they should. They do not have a direct relation persay.&lt;/P&gt;&lt;P&gt;One is the payment date, and one is the order deadline. I am trying to create a column in a table that selects the order deadline closest to (but before) the payment date. The relating key is a person key. So, I would hope to have a person key, order deadline, and then payment deadline as my three columns.&lt;/P&gt;&lt;P&gt;So far I have tried various renditions of&amp;nbsp;&lt;SPAN&gt;=if(Max(TimeKey) &amp;lt; CommissionDeadline, Max(TimeKey)) because the TimeKey is already involved in an aggregation grouped by PersonKey in the load script.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 17:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Selecting-date-from-one-column-based-on-date-in-another-column/m-p/1808085#M65805</guid>
      <dc:creator>srl844</dc:creator>
      <dc:date>2021-05-14T17:16:08Z</dc:date>
    </item>
  </channel>
</rss>

