Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
bhargavikn
Contributor III
Contributor III

Convert string year to year

Dear friends,

In on of the SQL query the year,Quarter and Month fields are generated as string with to_char function.

And in another SQL query same fields are taken as is.

we are unable to join both data and in year field we have 2 rows for same year one in string format and another in year format.

we have tried using date#() to convert year (in string) but it is not working.

please help me with suitable functions to change year, month and quarter either in SQL or Qlik Sense.

Thanks a lot in advance.

Labels (2)
0 Replies