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.
Hi,
Thank You
But I am getting errors as follows:
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.
- Dora8 years agoHelper I
- v-xjiin-msft8 years agoSolution Sage
Hi Dora,
Did you resolve your issue? If so, please kindly mark the corresponding reply. It will help others with relevant issues find the answer more easily.
If not, please feel free to tell me.
Thanks,
Xi Jin.- Dora8 years agoHelper I
Still Searching for a way to do it at once.If Cannot I am hoping to format excel as you said.
Thank You,
Best Regards,
Dora