In this blog, we will learn how to display date difference between 2 dates from date/date time 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 date difference between 2 dates, click on Metting 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 “datediff”. Double click on that function and then drag down the Meeting Date column and Travel Date column in the selected “datediff” 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