Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "supportsHighlight": true,
- "dataRoles": [
- {
- "displayName": "Item name compl",
- "name": "category",
- "kind": "Grouping"
- },
- {
- "displayName": "Dates",
- "name": "date",
- "kind": "Grouping"
- },
- {
- "displayName": "Dates well test",
- "name": "date_wr",
- "kind": "Grouping"
- },
- {
- "displayName": "check cat",
- "name": "check_cat",
- "kind": "Grouping"
- },
- {
- "displayName": "value1",
- "kind": "Measure",
- "name": "value1"
- },
- {
- "displayName": "value1 unit",
- "name": "value1_unit",
- "kind": "Measure"
- },
- {
- "displayName": "value2",
- "name": "value2",
- "kind": "Measure"
- },
- {
- "displayName": "value2 unit",
- "name": "value2_unit",
- "kind": "Measure"
- },
- {
- "displayName": "value3",
- "name": "value3",
- "kind": "Measure"
- },
- {
- "displayName": "value3 unit",
- "name": "value3_unit",
- "kind": "Measure"
- },
- {
- "displayName": "value4",
- "name": "value4",
- "kind": "Measure"
- },
- {
- "displayName": "value4 unit",
- "name": "value4_unit",
- "kind": "Measure"
- },
- {
- "displayName": "check val",
- "name": "check_val",
- "kind": "Measure"
- }
- ],
- "dataViewMappings": [
- {
- "categorical": {
- "categories": {
- "select": [
- {
- "for": {
- "in": "category"
- }
- },
- {
- "for": {
- "in": "date"
- }
- },
- {
- "for": {
- "in": "date_wr"
- }
- }
- ]
- },
- "values": {
- "group": {
- "by": "date",
- "select": [
- {
- "bind": {
- "to": "value1"
- }
- },
- {
- "bind": {
- "to": "value1_unit"
- }
- },
- {
- "bind": {
- "to": "value2"
- }
- },
- {
- "bind": {
- "to": "value2_unit"
- }
- },
- {
- "bind": {
- "to": "value3"
- }
- },
- {
- "bind": {
- "to": "value3_unit"
- }
- },
- {
- "bind": {
- "to": "value4"
- }
- },
- {
- "bind": {
- "to": "value4_unit"
- }
- }
- ]
- }
- }
- }
- },
- {
- "categorical": {
- "categories": {
- "select": [
- {
- "for": {
- "in": "check_cat"
- }
- }
- ]
- },
- "values": {
- "group": {
- "by": "check_cat",
- "select": [
- {
- "bind": {
- "to": "check_val"
- }
- }
- ]
- }
- }
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement