Calculate field - Quicksight

0

I have a date like this '26 jun. 14:06:00', but i need only the time, how i can extrac only the time ?

gefragt vor einem Jahr248 Aufrufe
1 Antwort
0

You can combine formatDate and substring to extract the relevant piece of information that you want.

formatDate(date, ['format']) https://docs.aws.amazon.com/quicksight/latest/user/formatDate-function.html

substring(expression, start, length) https://docs.aws.amazon.com/quicksight/latest/user/substring-function.html

If that doesn't work for any reason you can try extract to pull out only hours, minutes, and seconds then concat the fields together or use separate calculated fields.

extract(period, date) https://docs.aws.amazon.com/quicksight/latest/user/extract-function.html

I hope one of these solutions helps you.

EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen