In this blog we will learn how to display calender week (1-53) of a given date from any date/datetime column in Helical Insight.
- Below you can see we are having a date in the format “YYYY:MM:DD HH:MM:SS”.
- If we want to display calender week (1-53) of a given date, click on Travel Date column.
- Click on more, user will get two options i.e., Quick and Advanced
- Click on “Advanced”Tab, in this you will see a function called “WeekOfYear”. Double click on that function and then drag down the Travel Date column in the selected WeekOfYearfunction box at the bottom.click on Save button.
- Click on “Generate” report. You will see the desired output as below.
Note: These functions are specific to the database and may / may not appear based on the kind of database that you are connecting to. Please refer to below blog to add more database functions for your specific use case.Adding Database Functions