Forum Discussion
Amazing_Random
Helper I
3 years agoFormatting date text string to a custom format
For a report I have to use a link into the meter name. I have been able to crack down the id aspect of the link. but the date on such link is quite off to the date/time formats in PBI. &chartEndDa...
- 3 years ago
Do you need something like this? This formula uses the UTCNOW() function to get the current UTC time and the FORMAT function to format the datetime in the desired format. You can replace UTCNOW() function with the column you have.
Column = CONCATENATE( FORMAT(UTCNOW(), "yyyy-MM-ddT"), SUBSTITUTE( FORMAT(UTCNOW(), "HH:mm:ss.fffZ"), ":", "%3A" ) )
Amazing_Random
Helper I
3 years agoHi! This one is much closer but I'm experiencing issues with some rows. It seems it doesn't work for all the dates I have
JB505
3 years agoFrequent Visitor
Amazing_Random
Can you include both columns with the original date and the new formatted date?