Forum Discussion
Making the Time in to same format
- 8 years ago
Hi,
Thank You
But I am getting errors as follows:
- 8 years ago
so I try to change the transaction time from following code
if Text.Length([Transaction Time])>6 then [Transaction Time]
else
Text.Middle(Text.From([Transaction Time]),0,2) & ":" &
Text.Middle(Text.From([Transaction Time]),2,2) &":" &
Text.Middle(Text.From([Transaction Time]),4,2)
but It didn`t give the required output.
- 8 years ago
Hi Dora,
It seems like that there exists some special formats. Like7597, it should be 075907. Right?
For this scenario, my solution will not work. And if there are not many errors. I would suggest you to change the initial Time to the required format manually at Excel file side. I think it will be the easiest method.
Thanks,
Xi Jin.
source is in Time Format ,I need the all Time rows without errors and in 12 hours format.
Expected output
Hi,
You are getting the error there because there is no space between the time stamp and AM. Insert a space in the Excel file and all will work well.
- Dora8 years agoHelper I
No ,There is space between time stamp and AM.I need to make the Transaction Time into AM,PM Format.
- Ashish_Mathur8 years agoSuper User
Hi,
Share the link from where i can download your Excel file.