Hi, Chavya,
There are a couple of issues with your original query.
First, it uses the string_to_timestamp function, which returns type Date. The error you saw simply stated that the Date type cannot be used as a time series label, which means you'd have to convert that date back to a string (using timestamp_to_string). You'd get the same exact error if you'd used any other Date-typed value (e.g., end()). Note that timestamp_to_string also allows you to specify a timezone.
Second, the time_format argument to string_to_timestamp and timestamp_to_string does not understand the '%f' format specifier -- you have to use a modifier on the '%S' format that specifies the number of digits you want to parse/print, e.g., '%E6S'. It also has to exactly match the (what looks like RFC3339) format of the date.
Finally, the auto-generated name for the computed column is pretty unwieldy. Luckily, you can actually name it in MQL.
So you would end up with something like this:
Hope this helps,
Igor