In this blog, we will learn how to display the year for 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 the year for 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 “Year”. Double click on that function and then drag down the Travel Date column in the selected Year function 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