<?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: How do you write an expression that will pull all dates for a linked table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-you-write-an-expression-that-will-pull-all-dates-for-a/m-p/1067531#M464182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I understand that you cannot use only because a single line in your table might have more than 1 Txn Date. So this leaves you with two options.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Option 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Use Txn Date as a dimension instead of using it as a expression. But this may affect your other expression which you might not want to see on each Txn Date (You can work around that using TOTAL qualifier, but with a TOTAL your values would just repeat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Option 2: If you wish to see all the Txn Date (and there are multiple of them), you can use Concat() instead of Only. With Concat, you would see multiple Txn Date in the same cell. May not look like, but will show you that there are multiple options.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Concat({&amp;lt;[TransactionLinks.Link Type Name]={'PurchaseOrderToReceipt'}&amp;gt;}[TransactionLinks.Txn Date], ' | ')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I would suggest to may be look into the first option where each row in the table has one and only one Txn Date so that everything is visible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Now it is for you to decide (based on your requirement) what makes more sense for you.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2016 23:45:39 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-05-03T23:45:39Z</dc:date>
    <item>
      <title>How do you write an expression that will pull all dates for a linked table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-write-an-expression-that-will-pull-all-dates-for-a/m-p/1067529#M464180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to find an expression that will pull all the dates linked to my records billing history.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ONLY function Only({&amp;lt;[TransactionLinks.Link Type Name]={'PurchaseOrderToReceipt'}&amp;gt;}[TransactionLinks.Txn Date]) pulls dates, but the records will multiple dates are reporting as null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MAX function Max({&amp;lt;[TransactionLinks.Link Type Name]={'PurchaseOrderToReceipt'}&amp;gt;}[TransactionLinks.Txn Date]) pulls dates, but the records with multiple dates are reporting the maximum linked date on the PO, but it is not accounting for the individual line items. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MIN function Min({&amp;lt;[TransactionLinks.Link Type Name]={'PurchaseOrderToReceipt'}&amp;gt;}[TransactionLinks.Txn Date]) pulls dates, but only the earliest date that is linked to a particular PO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to encompass the entire billing history dates on each PO. The goal is to calculate the actual lead time we had vs the estimated lead time. In order to gather that information, we need to have an entire billing history for each item. I attached a sample of how the data is being compiled. Please let me know if you need more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 19:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-write-an-expression-that-will-pull-all-dates-for-a/m-p/1067529#M464180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T19:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write an expression that will pull all dates for a linked table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-write-an-expression-that-will-pull-all-dates-for-a/m-p/1067530#M464181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A lot of the field names you mentioned in the expression above are not even available in the Excel attached. What is the purpose of the Excel? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not completely sure what you are trying to do. Would you be able to elaborate, with a better sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 20:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-write-an-expression-that-will-pull-all-dates-for-a/m-p/1067530#M464181</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T20:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write an expression that will pull all dates for a linked table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-write-an-expression-that-will-pull-all-dates-for-a/m-p/1067531#M464182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I understand that you cannot use only because a single line in your table might have more than 1 Txn Date. So this leaves you with two options.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Option 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Use Txn Date as a dimension instead of using it as a expression. But this may affect your other expression which you might not want to see on each Txn Date (You can work around that using TOTAL qualifier, but with a TOTAL your values would just repeat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Option 2: If you wish to see all the Txn Date (and there are multiple of them), you can use Concat() instead of Only. With Concat, you would see multiple Txn Date in the same cell. May not look like, but will show you that there are multiple options.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Concat({&amp;lt;[TransactionLinks.Link Type Name]={'PurchaseOrderToReceipt'}&amp;gt;}[TransactionLinks.Txn Date], ' | ')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I would suggest to may be look into the first option where each row in the table has one and only one Txn Date so that everything is visible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Now it is for you to decide (based on your requirement) what makes more sense for you.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 23:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-write-an-expression-that-will-pull-all-dates-for-a/m-p/1067531#M464182</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T23:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do you write an expression that will pull all dates for a linked table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-you-write-an-expression-that-will-pull-all-dates-for-a/m-p/1067532#M464183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help with this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both answers worked, but in different ways. I am going to go with your suggestion and use option 1 because it lays out the dates in a column format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 16:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-you-write-an-expression-that-will-pull-all-dates-for-a/m-p/1067532#M464183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-04T16:27:29Z</dc:date>
    </item>
  </channel>
</rss>

