Forum Discussion
WJ876400
6 years agoHelper IV
Count
Hi I have the below as a matrix table and i want to be able to combine the cohort and the total of people on the cohort so it looks like the bottom table and all the data is on one field that can...
- 6 years ago
WJ876400
6 years agoHelper IV
Hi amitchandak
This is the raw data I have in table, then I want to summarise in a tbale to show numbers on each cohort and then combine them into one field
| Table | Summarised | Outcome | ||||
| Cohort | People ID | Cohort | People ID | |||
| Cohort 1 | 100 | Cohort 1 | 8 | Cohort 1- 8 | ||
| Cohort 1 | 101 | Cohort 2 | 10 | Cohort 2- 10 | ||
| Cohort 1 | 102 | Cohort 3 | 4 | Cohort 3- 4 | ||
| Cohort 1 | 103 | Cohort 4 | 2 | Cohort 4- 2 | ||
| Cohort 1 | 104 | |||||
| Cohort 1 | 105 | |||||
| Cohort 1 | 106 | |||||
| Cohort 1 | 107 | |||||
| Cohort 2 | 108 | |||||
| Cohort 2 | 109 | |||||
| Cohort 2 | 110 | |||||
| Cohort 2 | 111 | |||||
| Cohort 2 | 112 | |||||
| Cohort 2 | 113 | |||||
| Cohort 2 | 114 | |||||
| Cohort 2 | 115 | |||||
| Cohort 2 | 116 | |||||
| Cohort 2 | 117 | |||||
| Cohort 2 | 118 | |||||
| Cohort 3 | 119 | |||||
| Cohort 3 | 120 | |||||
| Cohort 3 | 121 | |||||
| Cohort 3 | 122 | |||||
| Cohort 4 | 123 | |||||
| Cohort 4 | 124 | |||||
Anonymous
6 years agoNot applicable
Hi WJ876400m,
You can use following calculate table formula to create a summary and combined table:
New Table =
SELECTCOLUMNS (
SUMMARIZE ( 'Table', [Cohort], "C", COUNT ( 'Table'[Cohort] ) ),
"Output", [Cohort] & "-" & [C]
)
Regards,
Xiaoxin Sheng