-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #582 from Tjev/cq-230-transpose-support
feat(gooddata-sdk) - execDef assembly logic transposition support Reviewed-by: Jan Kadlec https://github.com/hkad98
- Loading branch information
Showing
5 changed files
with
1,110 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
274 changes: 274 additions & 0 deletions
274
gooddata-sdk/tests/table/fixtures/vis_objs/fancy_transposed.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,274 @@ | ||
{ | ||
"id":"463bcab4-5ba2-4854-a33f-1219c00419d2", | ||
"type":"visualizationObject", | ||
"attributes":{ | ||
"title":"testik", | ||
"description":"", | ||
"areRelationsValid":true, | ||
"content":{ | ||
"buckets":[ | ||
{ | ||
"items":[ | ||
{ | ||
"measure":{ | ||
"localIdentifier":"08d8346c1ce7438994b251991c0fbf65", | ||
"definition":{ | ||
"measureDefinition":{ | ||
"item":{ | ||
"identifier":{ | ||
"id":"percent_revenue_per_product", | ||
"type":"metric" | ||
} | ||
}, | ||
"filters":[ | ||
|
||
] | ||
} | ||
}, | ||
"title":"% Revenue per Product" | ||
} | ||
}, | ||
{ | ||
"measure":{ | ||
"localIdentifier":"b2350c06688b4da9b3833ebcce65527f", | ||
"definition":{ | ||
"measureDefinition":{ | ||
"item":{ | ||
"identifier":{ | ||
"id":"revenue", | ||
"type":"metric" | ||
} | ||
}, | ||
"filters":[ | ||
|
||
] | ||
} | ||
}, | ||
"title":"Revenue" | ||
} | ||
} | ||
], | ||
"localIdentifier":"measures" | ||
}, | ||
{ | ||
"items":[ | ||
{ | ||
"attribute":{ | ||
"localIdentifier":"6a003ffd14994237ba64c4a02c488429", | ||
"displayForm":{ | ||
"identifier":{ | ||
"id":"products.category", | ||
"type":"label" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"attribute":{ | ||
"localIdentifier":"75ea396d0c8b48098e31dccf8b5801d3", | ||
"displayForm":{ | ||
"identifier":{ | ||
"id":"product_name", | ||
"type":"label" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"localIdentifier":"attribute", | ||
"totals":[ | ||
{ | ||
"type":"sum", | ||
"measureIdentifier":"b2350c06688b4da9b3833ebcce65527f", | ||
"attributeIdentifier":"6a003ffd14994237ba64c4a02c488429" | ||
}, | ||
{ | ||
"type":"sum", | ||
"measureIdentifier":"b2350c06688b4da9b3833ebcce65527f", | ||
"attributeIdentifier":"75ea396d0c8b48098e31dccf8b5801d3" | ||
} | ||
] | ||
}, | ||
{ | ||
"items":[ | ||
{ | ||
"attribute":{ | ||
"localIdentifier":"f06c3e7d31bc466e878e990b2b379f8c", | ||
"displayForm":{ | ||
"identifier":{ | ||
"id":"region", | ||
"type":"label" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"attribute":{ | ||
"localIdentifier":"52c625146bd245559dc236e187d6244d", | ||
"displayForm":{ | ||
"identifier":{ | ||
"id":"state", | ||
"type":"label" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"localIdentifier":"columns", | ||
"totals":[ | ||
{ | ||
"type":"sum", | ||
"measureIdentifier":"08d8346c1ce7438994b251991c0fbf65", | ||
"attributeIdentifier":"52c625146bd245559dc236e187d6244d" | ||
}, | ||
{ | ||
"type":"sum", | ||
"measureIdentifier":"b2350c06688b4da9b3833ebcce65527f", | ||
"attributeIdentifier":"52c625146bd245559dc236e187d6244d" | ||
}, | ||
{ | ||
"type":"sum", | ||
"measureIdentifier":"08d8346c1ce7438994b251991c0fbf65", | ||
"attributeIdentifier":"f06c3e7d31bc466e878e990b2b379f8c" | ||
}, | ||
{ | ||
"type":"sum", | ||
"measureIdentifier":"b2350c06688b4da9b3833ebcce65527f", | ||
"attributeIdentifier":"f06c3e7d31bc466e878e990b2b379f8c" | ||
} | ||
] | ||
} | ||
], | ||
"filters":[ | ||
{ | ||
"negativeAttributeFilter":{ | ||
"displayForm":{ | ||
"identifier":{ | ||
"id":"customer_name", | ||
"type":"label" | ||
} | ||
}, | ||
"notIn":{ | ||
"uris":[ | ||
|
||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"negativeAttributeFilter":{ | ||
"displayForm":{ | ||
"identifier":{ | ||
"id":"products.category", | ||
"type":"label" | ||
} | ||
}, | ||
"notIn":{ | ||
"uris":[ | ||
|
||
] | ||
} | ||
} | ||
}, | ||
{ | ||
"negativeAttributeFilter":{ | ||
"displayForm":{ | ||
"identifier":{ | ||
"id":"product_name", | ||
"type":"label" | ||
} | ||
}, | ||
"notIn":{ | ||
"uris":[ | ||
|
||
] | ||
} | ||
} | ||
} | ||
], | ||
"sorts":[ | ||
{ | ||
"attributeSortItem":{ | ||
"attributeIdentifier":"6a003ffd14994237ba64c4a02c488429", | ||
"direction":"asc" | ||
} | ||
} | ||
], | ||
"properties":{ | ||
"controls":{ | ||
"columnWidths":[ | ||
{ | ||
"attributeColumnWidthItem":{ | ||
"attributeIdentifier":"75ea396d0c8b48098e31dccf8b5801d3", | ||
"width":{ | ||
"value":101 | ||
} | ||
} | ||
} | ||
], | ||
"measureGroupDimension":"rows" | ||
} | ||
}, | ||
"visualizationUrl":"local:table", | ||
"version":"2" | ||
}, | ||
"createdAt":"2024-03-07 16:08", | ||
"modifiedAt":"2024-03-07 16:09" | ||
}, | ||
"relationships":{ | ||
"createdBy":{ | ||
"data":{ | ||
"id":"demo", | ||
"type":"userIdentifier" | ||
} | ||
}, | ||
"modifiedBy":{ | ||
"data":{ | ||
"id":"demo", | ||
"type":"userIdentifier" | ||
} | ||
}, | ||
"metrics":{ | ||
"data":[ | ||
{ | ||
"id":"percent_revenue_per_product", | ||
"type":"metric" | ||
}, | ||
{ | ||
"id":"revenue", | ||
"type":"metric" | ||
} | ||
] | ||
}, | ||
"labels":{ | ||
"data":[ | ||
{ | ||
"id":"customer_name", | ||
"type":"label" | ||
}, | ||
{ | ||
"id":"product_name", | ||
"type":"label" | ||
}, | ||
{ | ||
"id":"products.category", | ||
"type":"label" | ||
}, | ||
{ | ||
"id":"region", | ||
"type":"label" | ||
}, | ||
{ | ||
"id":"state", | ||
"type":"label" | ||
} | ||
] | ||
} | ||
}, | ||
"meta":{ | ||
"origin":{ | ||
"originType":"NATIVE", | ||
"originId":"demo" | ||
} | ||
} | ||
} |
Oops, something went wrong.