Re: [Dhis2-users] [Dhis-devs][DHIS 2.27]Discrepancy in distribution of data in monthly reports as per EPI weeks

2018-03-01 Thread Preeti Ajgaonkar
Apologies, the figures for expected and actual values for the months of Nov
and Dec 2017 should be as follows

*Expected*
November 2017 - 495
December 2017 - 361

*Actual*
November 2017 - 398
December 2017 - 458

Thanks
Preeti A


On Fri, Mar 2, 2018 at 12:08 PM, Preeti Ajgaonkar 
wrote:

> Hi team,
>
> Ever since we have upgraded to DHIS 2.27 and started using EPI weeks for
> distribution of data in any reports, we have noticed a discrepancy in the
> data for the months starting on a Friday.
>
> For e.g. data for W44 to W48 should be attributed to Nov 2017 as per the
> EPI week rule, but W48 data it is attributed to Dec 2017 (which starts on a
> Friday). See screenshots below
>
> Monthly
> [image: Inline image 1]
>
> Weekly
> [image: Inline image 3]
>
> *Expected*
> November 2017 - 398
> December 2017 - 458
>
> *Actual*
> November 2017 - 495
> December 2017 - 361
>
> Similar issue is observed from W31 - W35 where the data should for W35
> should be counted as part of Aug 2017 but it appears in Sep 2017(which also
> starts on a Friday).
>
> Monthly
> [image: Inline image 1]
>
>
> Weekly
> [image: Inline image 4]
>
> *Expected*
> August 2017 - 614
> September 2017 - 452
>
> *Actual*
> August 2017 - 499
> September 2017 - 567
>
> I am expecting the same thing to happen in Apr-May 2018.
>
> Any leads on this would be appreciated.
>
> --
> Thanks
> Preeti Ajgaonkar
>



-- 
Thanks
Preeti Ajgaonkar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] [Dhis-devs][DHIS 2.27]Discrepancy in distribution of data in monthly reports as per EPI weeks

2018-03-01 Thread Preeti Ajgaonkar
Hi team,

Ever since we have upgraded to DHIS 2.27 and started using EPI weeks for
distribution of data in any reports, we have noticed a discrepancy in the
data for the months starting on a Friday.

For e.g. data for W44 to W48 should be attributed to Nov 2017 as per the
EPI week rule, but W48 data it is attributed to Dec 2017 (which starts on a
Friday). See screenshots below

Monthly
[image: Inline image 1]

Weekly
[image: Inline image 3]

*Expected*
November 2017 - 398
December 2017 - 458

*Actual*
November 2017 - 495
December 2017 - 361

Similar issue is observed from W31 - W35 where the data should for W35
should be counted as part of Aug 2017 but it appears in Sep 2017(which also
starts on a Friday).

Monthly
[image: Inline image 1]


Weekly
[image: Inline image 4]

*Expected*
August 2017 - 614
September 2017 - 452

*Actual*
August 2017 - 499
September 2017 - 567

I am expecting the same thing to happen in Apr-May 2018.

Any leads on this would be appreciated.

-- 
Thanks
Preeti Ajgaonkar
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Push analysis causes analytics to fail

2018-03-01 Thread Lars Helge Øverland
Hi Elmarie,

I don't think this is related to push analysis. I think this issue has been
fixed. Can you please updated to the latest 2.28 build and try again.

regards,

Lars



On 1 March 2018 at 17:00, Elmarie Claasen  wrote:

> Hi all,
>
>
>
> We have been testing push analysis and set up one push analysis of a
> dashboard to a usergroup but it causes analytics to fail with the following
> message.
>
> The instance is on 2.28.
>
> We unable to test on Sierra Leone to replicate.
>
>
>
> The log file shows the following error:
>
>
>
> * ERROR 2018-01-31 13:45:32,397 Unexpected error occurred in scheduled
> task. (TaskUtils.java [taskScheduler-16])
>
> java.lang.NullPointerException
>
> ERROR 2018-01-31 13:45:32,397 Unexpected error occurred in scheduled task.
> (TaskUtils.java [taskScheduler-16])
>
> java.lang.NullPointerException
>
> at org.hisp.dhis.commons.util.ConcurrentUtils.waitForCompletion(
> ConcurrentUtils.java:53)
>
> at org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.
> applyAggregationLevels(DefaultAnalyticsTableService.java:242)
>
> at org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.
> update(DefaultAnalyticsTableService.java:137)
>
> at org.hisp.dhis.analytics.table.DefaultAnalyticsTableGenerator
> .generateTables(DefaultAnalyticsTableGenerator.java:112)
>
> at org.hisp.dhis.webapi.controller.ResourceTableController.
> lambda$analytics$0(ResourceTableController.java:112)
>
> at org.springframework.scheduling.support.
> DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnabl
> e.java:54)
>
> at java.util.concurrent.Executors$RunnableAdapter.
> call(Executors.java:511)
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>
> at java.lang.Thread.run(Thread.java:748)
>
>
>
> Regards,
>
>
>
> *Elmarie Claasen*
>
> [image: Hisp logo]
>
> Project Manager
>
> Health Information Systems Program
>
> Tel:  041-367 1027
>
> Cell: 082 374 2209
>
> E-mail: elma...@hisp.org
>
> Skype:  elmarie.claasen52
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Push analysis causes analytics to fail

2018-03-01 Thread Elmarie Claasen
Hi all,



We have been testing push analysis and set up one push analysis of a
dashboard to a usergroup but it causes analytics to fail with the following
message.

The instance is on 2.28.

We unable to test on Sierra Leone to replicate.



The log file shows the following error:



* ERROR 2018-01-31 13:45:32,397 Unexpected error occurred in scheduled
task. (TaskUtils.java [taskScheduler-16])

java.lang.NullPointerException

ERROR 2018-01-31 13:45:32,397 Unexpected error occurred in scheduled task.
(TaskUtils.java [taskScheduler-16])

java.lang.NullPointerException

at
org.hisp.dhis.commons.util.ConcurrentUtils.waitForCompletion(ConcurrentUtils.java:53)

at
org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.applyAggregationLevels(DefaultAnalyticsTableService.java:242)

at
org.hisp.dhis.analytics.table.DefaultAnalyticsTableService.update(DefaultAnalyticsTableService.java:137)

at
org.hisp.dhis.analytics.table.DefaultAnalyticsTableGenerator.generateTables(DefaultAnalyticsTableGenerator.java:112)

at
org.hisp.dhis.webapi.controller.ResourceTableController.lambda$analytics$0(ResourceTableController.java:112)

at
org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)

at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)

at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)



Regards,



*Elmarie Claasen*

[image: Hisp logo]

Project Manager

Health Information Systems Program

Tel:  041-367 1027

Cell: 082 374 2209

E-mail: elma...@hisp.org

Skype:  elmarie.claasen52

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclai...@hisp.org 
 and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Custom colors for pivot and charts

2018-03-01 Thread Bernard Sadaka (IM Advisor)
Hello All,

Is it possible to customize the color of the pivot table rows as well as the
charts?

What I would like to achieve is provide pivot table and charts that match
colors: e.g. the target data in blue and the actual data in green both in
the pivot rows/columns as well as in the chart.

Advice appreciated.



All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail:   lib@pu-ami.org

Cell: +961 71 004 881 (208)

Skype: imapuami

Website:   https://www.pu-ami.org







---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] FW: External Dashboard URL

2018-03-01 Thread Bernard Sadaka (IM Advisor)
Hello All,

Since I didn’t get any answer for the bellow on the users list, I am
forwarding to the developers list in the hope to get an answer.

Thank you in advance.

All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail: lib@pu-ami.org 

Cell: +961 71 004 881 (208)

Skype: imapuami

Website: https://www.pu-ami.org 





From: Bernard Sadaka (IM Advisor) [mailto:lib@pu-ami.org]
Sent: Monday, February 26, 2018 4:53 PM
To: 'dhis2-users' 
Subject: External Dashboard URL



Dear All,

I created a dashboard and made it available externally. How can I find the
URL for that Dashboard?

Does the dashboard itself becomes available for the external viewers? Or
only via the API?

I tried to use the URLs:

* /dhis-web-dashboard-integration/index.html?id=QrdYXtKt2e6

* /api/dashboards/QrdYXtKt2e6

* /api/dashboards/QrdYXtKt2e6.json

I can share the individual items of the dashboard using:
/api/26/charts/gk5bXuhH7DL/data.html+css but then shouldn’t there be a
similar url for the dashboard?

I can also try and create an external html page with each of the charts’
external URL, but I do believe that the share dashboard externally should
allow this, no? please correct me if I am wrong.



Thank you for your help in advance.



All the best,

Bernard






Bernard Sadaka

Information Management Advisor

Première Urgence - Aide Médicale Internationale

Nehmeh Building, Sanine Street, Chiyah, 3rd Floor

Ain el Remmaneh, Beirut, Lebanon

E-mail: lib@pu-ami.org 

Cell: +961 71 004 881 (208)

Skype: imapuami

Website: https://www.pu-ami.org 







---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp