Descriptive Analysis/ Publication-Ready Table
Table

How to Generate a Publication-Ready Table

What a table is, when to use one instead of a chart, and how to generate a multi-variable formatted table broken down by a grouping variable in AnalyZ Solutions.

8 min read Descriptive Analysis Intermediate

Some findings are better shown in a table than a chart. When your audience needs to compare exact values across several variables and several groups at once, a well-structured table communicates more precisely and more compactly than any visualisation. The Table function in AnalyZ Solutions generates that output in one step — mixing categorical and continuous variables, computing group comparisons, and producing something ready to place directly in a report.

01What is a table, and when should you use one instead of a chart?

A table organises data into rows and columns so that individual values can be read precisely and compared across multiple dimensions at once. A chart shows shape — a trend, a proportion, a distribution. A table shows substance — the actual numbers, side by side, for every variable and every group.

The choice between them is not a matter of preference but of what the reader needs to do with the information. Use a table when:

Use a chart instead when you want to communicate a single, visual pattern — a trend over time, the dominance of one category, the spread of a distribution. Charts are better for persuasion and narrative; tables are better for reference and precision.

02A worked example

Suppose a programme evaluation survey collects data on 240 participants split across two groups — intervention and control. The following table summarises four variables: gender (categorical), education level (categorical), age (continuous), and satisfaction score (continuous), broken down by group.

Intervention
(N = 120)
Control
(N = 120)
Total
(N = 240)
p-value
Gender 0.742
Female 64 (53.3%) 61 (50.8%) 125 (52.1%)
Male 56 (46.7%) 59 (49.2%) 115 (47.9%)
Education level 0.318
Primary 38 (31.7%) 44 (36.7%) 82 (34.2%)
Secondary 55 (45.8%) 51 (42.5%) 106 (44.2%)
Tertiary 27 (22.5%) 25 (20.8%) 52 (21.7%)
Age (years) 34.2 (8.1) 33.8 (7.9) 34.0 (8.0) 0.691
Satisfaction score 71.4 (12.3) 58.2 (14.1) 64.8 (14.6) < 0.001

Values are n (%) for categorical variables and Mean (SD) for continuous variables. P-values from chi-square test (categorical) and Welch’s t-test (continuous).

Reading the p-value column. Each p-value tests whether the difference between the intervention and control groups on that variable is statistically significant. Gender (p = 0.742), education level (p = 0.318), and age (p = 0.691) are all above 0.05 — the two groups are comparable on these variables. Satisfaction score (p < 0.001) is significant — the intervention group scored substantially higher, and that difference is very unlikely to be due to chance. P-values shown as < 0.001 are not literally zero; they are below the threshold where three decimal places are meaningful.

03How to do it in AnalyZ Solutions

In AnalyZ Solutions, although you can cross-tabulate variables and generate summary statistics, the Table function allows you to create more complex tables with multiple row and column variables. For this, go to the Descriptive Analysis module and select Table.

  1. Select the variable at the top. This is the grouping variable — its distinct values become the column headers. Choose a variable with a small number of categories, typically two to five. Programme arm, gender, location, and round are common choices.
  2. Layout preview. As soon as you select any variables, a layout preview appears below the Generate button. It shows a skeleton of the output — the column variable as header, each row variable with one example sub-row — so you can confirm the structure is correct before generating. The preview is replaced by the real table when you click Generate table. If you change your variable selection after generating, the preview reappears automatically.
  3. Select variables on the side. These are the row variables — the variables you want to describe. Select as many as you need. You can mix categorical and continuous variables freely. Use the search box to find variables by name or label.
  4. Configure the options. Choose whether to show a Total N column, whether to include p-values, and whether to show counts alongside percentages. For categorical row variables, choose whether percentages are column %, row %, or total %.
  5. How Table differs from Cross-Tabulate and Summary Statistics. Cross-Tabulate works with two variables of the same type and produces a single two-way frequency table. Summary Statistics works with numeric variables only and produces one set of statistics at a time. The Table function combines any number of variables — categorical and continuous together — into a single output, broken down by one grouping variable. That is the combination neither of the other functions can produce.
  6. Apply a subsample filter (Optional) Apply appropriate filters to restrict the table to a subset of rows — for example, only a particular region or programme site.
  7. Click Generate table. The table appears immediately below the controls.
  8. Export when ready. Click Export Word for a formatted document with bold variable name rows, indented sub-category rows, and a footnote explaining the tests used — designed to paste directly into a report. CSV and Excel are also available. Use Add to AnalyZense or Add to Canvas to include the table in a project or data story.

Generating a multi-variable table in AnalyZ Solutions.

03Common mistakes to watch for

Frequently Asked Questions
Can I include both categorical and continuous variables in the same table?
Yes. Categorical row variables display with count and percentage sub-rows; continuous ones display with Mean (SD) in a single row. The appropriate statistical test is selected for each row independently.
Why is a variable appearing as continuous when I want it as categorical?
AnalyZ classifies numeric variables with more than 10 unique values as continuous by default. Change the type to categorical in Data Management or through the Column Inspector in Data View, then regenerate the table.
Can I change the order of the row variables?
Row variables appear in the order you selected them. To change the order, clear your selection and reselect in the order you want them to appear in the table.
What does the percentage direction option do?
For categorical row variables, it controls how cell percentages are calculated. Column % divides each cell by the column group total — showing what proportion of each group falls into each category. Row % divides by the row total. Total % divides by the overall sample. Column % is the right choice for most breakdowns.
The table is very wide and hard to read. What can I do?
Reduce the number of categories in the column variable by combining small groups in Data Management. Alternatively, split the row variables into two separate tables — one for demographic variables and one for outcome variables — and present them sequentially.

Ready to build your characteristics table?

Open Descriptive Analysis in AnalyZ Solutions. Free to sign up, free to analyze.

Get started
Related Guides