Jump to content

Date Format


Sam Pena

Recommended Posts

Hello. I'm new to Spotfire (as you will see by my easy question). Our accounting software will only export the date column in "YYYY/MMM" format, for example, "2019/011" for November 2019. Spotfire will only accept this "2019/011" as String data.

Is there a way to convert this string data column into a date format within Spotfire

Thank you very much

Link to comment
Share on other sites

You can either transform this column during load or inside your analysis, oryou add a calculated column.

You can use this formular:

Date(Integer(Left([DateCol],4)), Integer(Right([DateCol],2)),01)So you take the first four letters as YEAR, the last two letters as MONTH, and 01 as DAY.

These are the arguments that the Date() function needs. Like Date(2000, 01, 01) -> 01/01/2000

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...