Page 1 of 2

function SumTime function always returns 00:00:00

Posted: Sun Oct 06, 2019 12:15 pm
by mroshdy
Hi

I designed report by report.JS report designer.
I used JSON data source
I have many timestamp columns in my data source
The problem is that the summation of timestamps does not work.
I used SumTime function to sum timestamps values
For example summation of delay column always gets 00:00:00
And summation of overtime column always gets 00:00:00

I attached the report as well as JSON data source file.

Re: function SumTime function always returns 00:00:00

Posted: Tue Oct 08, 2019 6:40 pm
by Lech Kulikowski
Hello,

We have added that task to our to-do list. We will try to add it in one of the next builds.

Thank you.
#1091

Re: function SumTime function always returns 00:00:00

Posted: Wed Oct 09, 2019 11:27 am
by mroshdy
Ok

Thank you.
How do I know if you add this feature in the future?

Re: function SumTime function always returns 00:00:00

Posted: Wed Oct 09, 2019 7:40 pm
by Lech Kulikowski
Hello,

The issue is fixed. The fix will be available in the next release build inthe next week.

Thank you.

Re: function SumTime function always returns 00:00:00

Posted: Fri Oct 11, 2019 4:10 pm
by mroshdy
This is a good news.

Thank you for your Interest.

Re: function SumTime function always returns 00:00:00

Posted: Sat Oct 12, 2019 5:57 am
by Andrew
You are welcome!

Re: function SumTime function always returns 00:00:00

Posted: Sun Oct 27, 2019 8:02 am
by mroshdy
I tried last release published at 21 October 2019 and the bug did not fixed.
Did you sure that it fixed?

Re: function SumTime function always returns 00:00:00

Posted: Mon Oct 28, 2019 11:37 am
by Lech Kulikowski
Hello,

Please check that your column have Timespan type in the dictionary.

Thank you.

Re: function SumTime function always returns 00:00:00

Posted: Sat Nov 02, 2019 11:21 am
by mroshdy
Hello,

My column already has Timespan type

I attached the report as well as JSON data source file (again).
and this is report global URL:
https://stimulsoft.com/s/76a88

please check delay column and overtime column.

Thank you.

Re: function SumTime function always returns 00:00:00

Posted: Tue Nov 05, 2019 2:31 pm
by mroshdy
Hello,

Any news?
I am waiting for your reply.

Thank you.