Sign In

Welcome Back,

Signup/Login with your account

You must login to ask a question.

You must login to add post.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

  • 0
Alok K Gupta
Beginner

How to convert Year column (stored as string) to usable Year format (YYYY) in Lumenore

Hello Team,

I am working with a dataset that contains a Year column, but it is currently being interpreted as a string/text data type in Lumenore.

Sample data:

  • Year: "2021"

  • Year: "2022"

  • Year: "2023"

My requirement is to use this column for:

  • Year-wise aggregation

  • Sorting in chronological order

  • Time-based analysis such as YOY comparisons

However, since the field is treated as a string, it does not behave like a proper date or numeric year dimension.

Could you please guide me on:

  • How to convert or cast this string column into a usable Year/date format within Lumenore?

  • Whether this transformation should be handled at the dataset preparation stage or within calculated fields?

  • Any best practices to ensure it works correctly in time-based analysis?

Thank you in advance for your support.

Leave an answer

You must login to add an answer.