Re: [Dhis2-users] Can't delete some data elements

2018-04-25 Thread Aljosa Celebic
Thank you for answering me. I first tried to delete some data manually. Then I delete some categories, datasets. Now I don’t have datasets, I realized that I can’t even access to the data to delete it manually. I still have 5 category options, 2 category combinations and 10 data elements that I

Re: [Dhis2-users] Monitoring country progress and achievements by making global predictions

2018-04-25 Thread Derek Kahongo Mukenge
thank you for sharing On Tue, Apr 24, 2018 at 8:23 PM, Knut Staring wrote: > "The world has seen explosive growth in the use of estimates for key > health indicators. UN agencies, such as WHO and UNICEF, and academic > institutions, notably the Global Burden of Disease (GBD) work of the > Instit

Re: [Dhis2-users] Can't delete some data elements

2018-04-25 Thread Bridget Magoba
Hello Aljosa, To add on Barnabas’ comment, also check that the data elements don’t have category combinations. Because you will need to delete the m first. Regards Bridget From: Dhis2-users [mailto:dhis2-users-bounces+bridgetmagoba=mifumi@lists.launchpad.net] On Behalf Of Barnabas Ak

Re: [Dhis2-users] Can't delete some data elements

2018-04-25 Thread Jason Pickering
Hi Aljosa, Based on the message you are seeing and as was pointed out before, you have data which is associated with the data element. The system will thus not allow you to delete the data element, when there is still data associated with the data element. You could delete the data manually (if yo

Re: [Dhis2-users] Can't delete some data elements

2018-04-25 Thread Isaiah Nyabuto
Hi Aljosa, You cannot directly delete data elements that are already assigned to other objects due to some dependencies. Please try to unassigned the data elements from the dataset and ensure that there there is no other dependencies before deleting. - This should work. All the best! ===

Re: [Dhis2-users] Can't delete some data elements

2018-04-25 Thread Barnabas Akumba
Hello Aljosa, The error indicates that the elements in question have already got some values submitted using them and as such deleting them will cause some violations. If you must delete, you need to find the values and delete them First. Regards On Wed, Apr 25, 2018, 10:59 AM Aljosa Celebic wr

[Dhis2-users] Can't delete some data elements

2018-04-25 Thread Aljosa Celebic
Hi, I am actually testing DHIS2 live, so I’ve builded a data set including several data elements. I also tested Data Entry. But when I want to delete some data elements I have this message : “Could not delete due to association with another object: DataValue”. What should I do be able to delete a

Re: [Dhis2-users] [Dhis2-devs] Getting NumberType in Pivot Tables through APIs - DHIS 2.27

2018-04-25 Thread Jan Henrik Øverland
Hi Guarav, Percentage of rows/columns is currently calculated by the app. There is no way to get this from the API at the moment. Jan On Wed, Apr 25, 2018 at 11:18 AM, Kumar Shahdeo wrote: > Hi Community, > > I am trying to leverage the numberType field for the pivot tables through > APIs. > >

[Dhis2-users] [Dhis2-devs] Getting NumberType in Pivot Tables through APIs - DHIS 2.27

2018-04-25 Thread Kumar Shahdeo
Hi Community, I am trying to leverage the numberType field for the pivot tables through APIs. In DHIS, for a pivot table I can navigate to Options and choose numberType as 'Percentage of rows', or 'Percantage of columns' and can update the pivot table to view data in percentage. I have updated t

Re: [Dhis2-users] [Dhis2-devs] List of protected tables in DHIS2

2018-04-25 Thread Jean Habib
Thank you Morten! 2018-04-25 0:57 GMT+00:00 Morten Olav Hansen : > Hi > > Up to date list of protected tables can be found here: > > https://github.com/dhis2/dhis2-core/blob/master/dhis-2/ > dhis-api/src/main/java/org/hisp/dhis/sqlview/SqlView.java#L60 > > -- > Morten Olav Hansen > Senior Enginee