Greenbriars
Member
I am preparing a dashboard using data provided by a call centre. As part of this process I need to add 2 time fields together. They represent the time taken to deal with the incoming call and the time the call is transferred, if that is appropriate.
Being a relative newcomer to Power Query I expected to be able to add a custom column and add the 2 time columns together to get what I wanted. However when I did this I received a column full of errors and the error was as follows, there was no syntax error:
Expression.Error: We cannot apply operator + to types Time and Time.
Details:
Operator=+
Left=00:02:39
Right=00:01:50
If I tried to subtract one from the other it worked, although that was obviously not what I wanted.
I solved the problem by transforming both times to numbers, adding the 2 column to get 3 numerical columns and then converting them all to times.
I have looked through Google to try to find an answer to this conundrum, but with no success.
Am I just being dim?
I hope someone can enlighten me.
Regards,
Alan
Being a relative newcomer to Power Query I expected to be able to add a custom column and add the 2 time columns together to get what I wanted. However when I did this I received a column full of errors and the error was as follows, there was no syntax error:
Expression.Error: We cannot apply operator + to types Time and Time.
Details:
Operator=+
Left=00:02:39
Right=00:01:50
If I tried to subtract one from the other it worked, although that was obviously not what I wanted.
I solved the problem by transforming both times to numbers, adding the 2 column to get 3 numerical columns and then converting them all to times.
I have looked through Google to try to find an answer to this conundrum, but with no success.
Am I just being dim?
I hope someone can enlighten me.
Regards,
Alan