<?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: Script help to change time stamp and create days length categories in Dashboards &amp; Analytics Discussions</title>
    <link>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/683#M16</link>
    <description>&lt;P&gt;Ty, I don't have access to the schema.&amp;nbsp; I can only do at the insight level.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 18:56:06 GMT</pubDate>
    <dc:creator>Jkovachi</dc:creator>
    <dc:date>2022-03-23T18:56:06Z</dc:date>
    <item>
      <title>Script help to change time stamp and create days length categories</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/657#M12</link>
      <description>&lt;P&gt;Good day, Incorta community.&amp;nbsp; I would really appreciate any help with my script.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Trying to update date from time stamp to date&lt;/LI&gt;&lt;LI&gt;Days difference to create length categories “1-7 days”, “8-14 days”, etc.”&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jkovachi_0-1648042864056.png" style="width: 436px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/373iD08D3F8CFA547429/image-dimensions/436x426/is-moderation-mode/true?v=v2" width="436" height="426" role="button" title="Jkovachi_0-1648042864056.png" alt="Jkovachi_0-1648042864056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 13:47:20 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/657#M12</guid>
      <dc:creator>Jkovachi</dc:creator>
      <dc:date>2022-03-23T13:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Script help to change time stamp and create days length categories</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/660#M13</link>
      <description>&lt;P&gt;Not sure you need the "format date" bit in there - can you just produce a formula column for days between?&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can do that you can wrap that formula in the case() function.&lt;/P&gt;&lt;P&gt;If not then something like CASE( daysbtween( (formatdate(blah)), (formatdate(blah2)) &amp;lt; 7 , '0-7 Days', 'More Days' )&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But really, start the troubleshoot by producing a days between column and making sure that bit works before adding more parens&amp;nbsp; &amp;nbsp;( parens are my nemisis &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; &amp;nbsp;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 15:09:29 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/660#M13</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2022-03-23T15:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Script help to change time stamp and create days length categories</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/667#M14</link>
      <description>&lt;P&gt;If you have a column loaded from the source and the column is recognized as a timestamp column, you can go to the schema page and change the data type explicitly to "date" and load the data again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-23 at 8.18.12 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/375iE16E72962219D5D4/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-23 at 8.18.12 AM.png" alt="Screen Shot 2022-03-23 at 8.18.12 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-23 at 8.18.28 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/376iEF2F375D85C94A31/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-23 at 8.18.28 AM.png" alt="Screen Shot 2022-03-23 at 8.18.28 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-23 at 8.19.47 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/377iB4386759793F9DE9/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-23 at 8.19.47 AM.png" alt="Screen Shot 2022-03-23 at 8.19.47 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It can also be set before you save the schema table after the extraction SQL was entered.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to keep the column with the timestamp data type and create another formula column that do not have the time component, the formula is removeTime().&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-23 at 8.27.39 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/378iF5B5E0DC804F939C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-23 at 8.27.39 AM.png" alt="Screen Shot 2022-03-23 at 8.27.39 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 15:29:34 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/667#M14</guid>
      <dc:creator>dylanwan</dc:creator>
      <dc:date>2022-03-23T15:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Script help to change time stamp and create days length categories</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/672#M15</link>
      <description>&lt;P&gt;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/24"&gt;@RADSr&lt;/a&gt;&amp;nbsp;is correct! I tried his suggestion and it works:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-23 at 8.39.16 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/380iB0F090318BF5A7D5/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-23 at 8.39.16 AM.png" alt="Screen Shot 2022-03-23 at 8.39.16 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-23 at 8.38.46 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/381i1A80FDF0B8D3FEA9/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-23 at 8.38.46 AM.png" alt="Screen Shot 2022-03-23 at 8.38.46 AM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-03-23 at 8.40.07 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.incorta.com/t5/image/serverpage/image-id/382iAB3882039AC1115F/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2022-03-23 at 8.40.07 AM.png" alt="Screen Shot 2022-03-23 at 8.40.07 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 15:41:14 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/672#M15</guid>
      <dc:creator>dylanwan</dc:creator>
      <dc:date>2022-03-23T15:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script help to change time stamp and create days length categories</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/683#M16</link>
      <description>&lt;P&gt;Ty, I don't have access to the schema.&amp;nbsp; I can only do at the insight level.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 18:56:06 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/683#M16</guid>
      <dc:creator>Jkovachi</dc:creator>
      <dc:date>2022-03-23T18:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script help to change time stamp and create days length categories</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/684#M17</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; This worked.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt; I really appreciate the step by step instructions. Very helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 20:35:40 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/684#M17</guid>
      <dc:creator>Jkovachi</dc:creator>
      <dc:date>2022-03-23T20:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Script help to change time stamp and create days length categories</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/685#M18</link>
      <description>&lt;P&gt;Ty for sharing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 20:36:11 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/script-help-to-change-time-stamp-and-create-days-length/m-p/685#M18</guid>
      <dc:creator>Jkovachi</dc:creator>
      <dc:date>2022-03-23T20:36:11Z</dc:date>
    </item>
  </channel>
</rss>

