JSFiddle - React, Tailwind, and code Playground
by Dongor7
JavaScript
const json = [
{
"uniqueName": "AttritionBucket",
"name": "Flight Risk",
"format": "",
"individual": false,
"supportedAggregations": [
"count",
"distinctcount",
"percent",
"percentofcolumn",
"percentofrow",
"percentofparentcolumntotal",
"percentofparentrowtotal",
"index",
"differenceofcolumn",
"differenceofrow",
"%differenceofcolumn",
"%differenceofrow",
"runningtotalsofcolumn",
"runningtotalsofrow"
],
"availableAggregations": [
"count",
"distinctcount"
],
"aggregation": "count",
"caption": "Count of Flight Risk",
"label": "Count of Flight Risk",
"originalCaption": "Flight Risk",
"grandTotalCaption": "Total Count of Flight Risk",
"groupName": "",
"folder": "",
"type": "string",
"kpi": "",
"calculated": false,
"calculateNaN": true,
"hidden": false,
"availableAggregationsCaptions": [
"Count",
"Distinct Count"
]
},
{
"uniqueName": "AvgDaysInPosition",
"name": "Average Days In Position",
"format": "",
"individual": false,
"supportedAggregations": [
"sum",
"count",
"distinctcount",
"average",
"median",
"product",
"min",
"max",
"stdevp",
"stdevs",
"percent",
"percentofcolumn",
"percentofrow",
"percentofparentcolumntotal",
"percentofparentrowtotal",
"index",
"differenceofcolumn",
"differenceofrow",
"%differenceofcolumn",
"%differenceofrow",
"runningtotalsofcolumn",
"runningtotalsofrow"
],
"availableAggregations": [
"sum",
"count",
"distinctcount",
"average",
"median",
"product",
"min",
"max",
"percent",
"percentofcolumn",
"percentofrow",
"index",
"differenceofcolumn",
"differenceofrow",
"%differenceofcolumn",
...