<?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 Creating a Date Range? in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/875#M11</link>
    <description>&lt;P&gt;Is it possible to create a date range field from a list of expiration dates? Say there's contracts for Customer A that expire in June 2022, January 2023, and December 2024. Is there a formula that could take the min and max date to show a range of June 2022 - December 2024?&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 19:19:56 GMT</pubDate>
    <dc:creator>jfinn57</dc:creator>
    <dc:date>2022-04-06T19:19:56Z</dc:date>
    <item>
      <title>Creating a Date Range?</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/875#M11</link>
      <description>&lt;P&gt;Is it possible to create a date range field from a list of expiration dates? Say there's contracts for Customer A that expire in June 2022, January 2023, and December 2024. Is there a formula that could take the min and max date to show a range of June 2022 - December 2024?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 19:19:56 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/875#M11</guid>
      <dc:creator>jfinn57</dc:creator>
      <dc:date>2022-04-06T19:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Date Range?</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/879#M12</link>
      <description>&lt;P&gt;I don't see why not&lt;/P&gt;&lt;P&gt;What do you want to use the feature for?&amp;nbsp; Just text displaying a range?&amp;nbsp; Or a filter - in which case two aggregate filters might more easily fit the bill&amp;nbsp; &amp;lt;field&amp;gt;&amp;nbsp; &amp;lt;&amp;nbsp; max(date_field)&amp;nbsp; &amp;nbsp;and &amp;lt;field&amp;gt; &amp;gt; min(date_field)&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is the display you'll probably have a fairly complex formula as you'll end up converting date or datetime to text and concatenating strings together.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 20:47:49 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/879#M12</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2022-04-06T20:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Date Range?</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/928#M15</link>
      <description>&lt;P&gt;Thank you for the response! I was hoping to get it to show as a display. It's part of a report I'm trying to recreate from excel, in the excel spreadsheet I do a MIN(IF()) to pull the first expiration date then a MAX(IF()) to grab the second, then just concatenate them.&lt;/P&gt;&lt;P&gt;I get an error that "&lt;SPAN&gt;min currently not supported in this context. It is currently supported only in insight formulas." when I try to grab the first date using min() in the formula builder&lt;/SPAN&gt;&amp;nbsp;so I was hoping there might be a workaround&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 21:52:53 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/928#M15</guid>
      <dc:creator>jfinn57</dc:creator>
      <dc:date>2022-04-07T21:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Date Range?</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/947#M16</link>
      <description>&lt;P&gt;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/245"&gt;@jfinn57&lt;/a&gt;&amp;nbsp;- Are the expirations in different columns or is each contract it's own row. If the latter:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;formatdate(
	min(
		Community.Problem875.Expiration
	), 
	'MMMM-YYYY'
) 
+ ' - ' + 
formatdate(
	max(
		Community.Problem875.Expiration
	), 
	'MMMM-YYYY'
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 07 Apr 2022 23:03:10 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/947#M16</guid>
      <dc:creator>JoeM</dc:creator>
      <dc:date>2022-04-07T23:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Date Range?</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/948#M17</link>
      <description>&lt;P&gt;I saw that error as well - you'll see it if you try to use the formula as a grouping element in an aggregation table.&amp;nbsp; &amp;nbsp;I was able to work around it by using the new query over result set feature.&lt;/P&gt;&lt;P&gt;Basically you can't group on an element which in turn requires grouping ( i.e. no grouping on a summary calc ) in one pass.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 00:09:20 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/creating-a-date-range/m-p/948#M17</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2022-04-08T00:09:20Z</dc:date>
    </item>
  </channel>
</rss>

