Step by Step Guide: Raw Values, Chart Data, Images and When to Rebuild Analytics
Getting data out of DHIS2 is easy once you know which of the three routes you need: the raw values, the numbers behind a chart, or a picture for a report. This guide covers all three, and the analytics tables that explain most empty downloads.
| You want | Use | Format |
|---|---|---|
| The raw values, for analysis in R or Excel | Import/Export app, data export | CSV or JSON |
| What a chart shows | Data Visualizer, Download | CSV, Excel or an image |
| A map for a report | Maps app, Download | PNG |
| The setup rather than the data | Import/Export app, metadata export | JSON |
| A pivot table for a meeting | Data Visualizer, Download | Excel |
Charts, maps and dashboards read the analytics tables, not the values you typed. Those tables are built on a schedule, so fresh data is invisible until they run.
| What you see | Why | What to do |
|---|---|---|
| Empty chart, data is in data entry | Analytics have not run | Run the analytics tables |
| Empty export from Import/Export | Wrong period, or descendants not included | Widen the dates, tick include descendants |
| Huge file that will not open | A year of facility level data | Export district level, or zip it |
| Numbers differ from the screen | The export is raw, the chart may be an indicator | Compare like with like |