function SumTime function always returns 00:00:00

Stimulsoft Reports.JS discussion
mroshdy
Posts: 8
Joined: Sun Oct 06, 2019 12:04 pm

function SumTime function always returns 00:00:00

Post by mroshdy » Sun Oct 06, 2019 12:15 pm

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.
Attachments
reports.rar
(5.71 KiB) Downloaded 14 times
Lech Kulikowski
Posts: 2177
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » Tue Oct 08, 2019 6:40 pm

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
mroshdy
Posts: 8
Joined: Sun Oct 06, 2019 12:04 pm

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

Post by mroshdy » Wed Oct 09, 2019 11:27 am

Ok

Thank you.
How do I know if you add this feature in the future?
Lech Kulikowski
Posts: 2177
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » Wed Oct 09, 2019 7:40 pm

Hello,

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

Thank you.
mroshdy
Posts: 8
Joined: Sun Oct 06, 2019 12:04 pm

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

Post by mroshdy » Fri Oct 11, 2019 4:10 pm

This is a good news.

Thank you for your Interest.
Andrew
Posts: 3918
Joined: Fri Jun 09, 2006 3:58 am

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

Post by Andrew » Sat Oct 12, 2019 5:57 am

You are welcome!
mroshdy
Posts: 8
Joined: Sun Oct 06, 2019 12:04 pm

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

Post by mroshdy » Sun Oct 27, 2019 8:02 am

I tried last release published at 21 October 2019 and the bug did not fixed.
Did you sure that it fixed?
Lech Kulikowski
Posts: 2177
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » Mon Oct 28, 2019 11:37 am

Hello,

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

Thank you.
mroshdy
Posts: 8
Joined: Sun Oct 06, 2019 12:04 pm

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

Post by mroshdy » Sat Nov 02, 2019 11:21 am

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.
Attachments
reports (2).rar
Report file and data source
(5.71 KiB) Downloaded 10 times
mroshdy
Posts: 8
Joined: Sun Oct 06, 2019 12:04 pm

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

Post by mroshdy » Tue Nov 05, 2019 2:31 pm

Hello,

Any news?
I am waiting for your reply.

Thank you.
Post Reply