Open skalkin opened 3 years ago
The following script should work:
let agesByRace = grok.data.demo.demog() .groupBy(['race', 'sex']) .where('control = true') .avg('age') .aggregate(); grok.shell.addTableView(agesByRace);
This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14757
This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16017
The following script should work: