somaliaims / Somali-AIMSUI

GNU Affero General Public License v3.0
1 stars 3 forks source link

Allow reporting by sub-sector, by selcting parent sector #620

Open matmaxgeds opened 4 years ago

matmaxgeds commented 4 years ago

At the moment, when a user is producing a report, and they select one sector, then the chart just shows one bar. This is not helpful. When the one sector is a parent sector, the report should show all the sub-sectors under that parent sector. If multiple parent sectors are shown, then the report should go back to comparing the parent sectors

raashidahmad commented 4 years ago

@matmaxgeds this raises few questions in my mind, they are given below:

  1. Currently, in the data section, projects are displayed under a sector whether it is a parent or child sector, only 1 level of sectors are shown in the list at a time. Sectors are shown and under that there are relevant projects. How the data will be displayed in the case you suggested?
  2. How the data will be reflected on charts, please note we can only show the data on charts by 1 level of data. We do not have any way to show the data on the charts in a hierarchical manner.

Great, If you can guide me with a simple mockup suggesting the place of the data and their reflection on the chart using the current report view.

matmaxgeds commented 3 years ago

hi @raashidahmad - good questions - confirming that we are only showing one level of data at a time

  1. when a single parent sector is selected (only in this case) i.e. only one sector, only a parent sector
  2. in that case, show all the child-sectors as a separate columns
  3. If the user selects a second parent sector, the chart goes back to showing the two parent sectors as the two columns

It is the same outcome on the chart as if a user selects multiple child sectors......the problem is that the users find it hard to know which child sectors belong to which parent sector and so do not manage to do this, so we are just doing a shortcut for them, so that when they select just one parent sector, it shows all the relevant child sectors for them automatically.

raashidahmad commented 3 years ago

@matmaxgeds Thanks for the answer, it is helpful.