Francisco Aspillaga Posted March 28 Share Posted March 28 Hi all, My database is an Excel stored in Sharepoint. Within the columns there are two that are of the date type (Date2 and Date1), which formula could I use in a calculated column so that the result is expressed in numbers in Spotfire? If I do the subtraction Date2 - Date1 the result is shown in TimeSpam. thanks! Link to comment Share on other sites More sharing options...
David Boot-Olazabal Posted April 2 Share Posted April 2 Hi Francisco, You can use the Datediff() function, to calculate the number of days between to date columns (or if otherwise needed, you can return also the number of years, months, weeks). The formula would look like this: DateDiff('day',[Date2],[Date1]). Kind regards, David Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now