<?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 calculate first day of week in date Format in Dashboards &amp; Analytics Discussions</title>
    <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-first-day-of-week-in-date-format/m-p/6350#M796</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have 'Year' column, 'Week Number' with respect to the year, 'Day' number column(i.e. 0 for Sunday,1 for Monday,2 for Tuesday,..6 for Saturday).I need date format using these 3 columns.&lt;BR /&gt;Any help on the date column achieving using Year, week Number. Actually I need functionality of same like WEEK_GET_FIRST_DAY FM in SAP i.e. weeks first days date (Sundays date).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 05:05:59 GMT</pubDate>
    <dc:creator>Venkat</dc:creator>
    <dc:date>2025-03-20T05:05:59Z</dc:date>
    <item>
      <title>calculate first day of week in date Format</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-first-day-of-week-in-date-format/m-p/6350#M796</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have 'Year' column, 'Week Number' with respect to the year, 'Day' number column(i.e. 0 for Sunday,1 for Monday,2 for Tuesday,..6 for Saturday).I need date format using these 3 columns.&lt;BR /&gt;Any help on the date column achieving using Year, week Number. Actually I need functionality of same like WEEK_GET_FIRST_DAY FM in SAP i.e. weeks first days date (Sundays date).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 05:05:59 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-first-day-of-week-in-date-format/m-p/6350#M796</guid>
      <dc:creator>Venkat</dc:creator>
      <dc:date>2025-03-20T05:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: calculate first day of week in date Format</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-first-day-of-week-in-date-format/m-p/6351#M797</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;I have followed the below steps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;i)First, I converted the year column to the starting date of the year using the following Date formula:&lt;/DIV&gt;&lt;DIV&gt;date(&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;concat(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;string(&amp;lt;Year Column&amp;gt;),'-01-01'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ii)Next, I used the addDays formula to get the derived Date column by multiplying the Week with 7:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;addDays(&amp;lt;Above Derived Date column&amp;gt;,double(&amp;lt;Week Number&amp;gt;) * 7)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;iii)Finally, using the WeekStartDate formula, I got the Week Start Date with the derived Date Column:&lt;/DIV&gt;&lt;DIV&gt;weekStartDate(addDays(&amp;lt;Above Derived Date column&amp;gt;,double(&amp;lt;Week Number&amp;gt;) * 7))&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Venkat&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Mar 2025 07:11:49 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-first-day-of-week-in-date-format/m-p/6351#M797</guid>
      <dc:creator>Venkat</dc:creator>
      <dc:date>2025-03-20T07:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: calculate first day of week in date Format</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-first-day-of-week-in-date-format/m-p/6352#M798</link>
      <description>&lt;P&gt;Thanks for sharing.&amp;nbsp; I guess that you have resolved your issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 10:52:08 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/calculate-first-day-of-week-in-date-format/m-p/6352#M798</guid>
      <dc:creator>dylanwan</dc:creator>
      <dc:date>2025-03-20T10:52:08Z</dc:date>
    </item>
  </channel>
</rss>

