
Setup
Your query should have a dimension that determines the number of hexagons, their labels and some way to determine color. The following table explains each field used in the example, including the calculation formulas.
| Col | Name | Description or formula | Purpose |
|---|---|---|---|
| A | Age | query field | determines number of hexagons to make and their labels |
| B | Determine Gender Majority (calc_1) | =IF(PIVOTOFFSET(C1, 0, 0) - PIVOTOFFSET(C1, 0, 1) > 0, “female”, “male”) | more male or female calculation |
| C | Users Count | query field | values to count |
| Pivot | Gender | query field | breakdown |