Analysis-Services/AsPartitionProcessing/AsPartitionProcessing.AdventureWorks/Model.bim

2074 lines
61 KiB
Plaintext
Raw Permalink Normal View History

2016-12-02 11:25:57 +08:00
{
"name": "SemanticModel",
2017-04-18 11:14:33 +08:00
"compatibilityLevel": 1400,
2016-12-02 11:25:57 +08:00
"model": {
"culture": "en-US",
"dataSources": [
{
2017-04-18 11:14:33 +08:00
"type": "structured",
"name": "AdventureWorks",
"connectionDetails": {
"protocol": "tds",
"address": {
"server": "localhost\\SP1",
"database": "AdventureWorksDW"
},
"authentication": null,
"query": null
},
"options": {},
"credential": {
"AuthenticationKind": "ServiceAccount",
"kind": "SQL",
"path": "localhost\\sp1",
"EncryptConnection": false
}
2016-12-02 11:25:57 +08:00
}
],
"tables": [
{
2017-04-18 11:14:33 +08:00
"name": "Internet Sales",
2016-12-02 11:25:57 +08:00
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "ProductKey",
"dataType": "int64",
"sourceColumn": "ProductKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "OrderDateKey",
"dataType": "int64",
"sourceColumn": "OrderDateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DueDateKey",
"dataType": "int64",
"sourceColumn": "DueDateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ShipDateKey",
"dataType": "int64",
"sourceColumn": "ShipDateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CustomerKey",
"dataType": "int64",
"sourceColumn": "CustomerKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "PromotionKey",
"dataType": "int64",
"sourceColumn": "PromotionKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CurrencyKey",
"dataType": "int64",
"sourceColumn": "CurrencyKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesTerritoryKey",
"dataType": "int64",
"sourceColumn": "SalesTerritoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesOrderNumber",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "SalesOrderNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesOrderLineNumber",
"dataType": "int64",
"sourceColumn": "SalesOrderLineNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "RevisionNumber",
"dataType": "int64",
"sourceColumn": "RevisionNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "OrderQuantity",
"dataType": "int64",
"sourceColumn": "OrderQuantity"
},
{
"name": "UnitPrice",
2016-12-02 11:25:57 +08:00
"dataType": "decimal",
2017-04-18 11:14:33 +08:00
"sourceColumn": "UnitPrice"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ExtendedAmount",
"dataType": "decimal",
"sourceColumn": "ExtendedAmount"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "UnitPriceDiscountPct",
"dataType": "double",
"sourceColumn": "UnitPriceDiscountPct"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DiscountAmount",
"dataType": "double",
"sourceColumn": "DiscountAmount"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductStandardCost",
"dataType": "decimal",
"sourceColumn": "ProductStandardCost"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "TotalProductCost",
"dataType": "decimal",
"sourceColumn": "TotalProductCost"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesAmount",
"dataType": "decimal",
"sourceColumn": "SalesAmount"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "TaxAmt",
"dataType": "decimal",
"sourceColumn": "TaxAmt"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Freight",
"dataType": "decimal",
"sourceColumn": "Freight"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CarrierTrackingNumber",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "CarrierTrackingNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CustomerPONumber",
"dataType": "string",
"sourceColumn": "CustomerPONumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "OrderDate",
"dataType": "dateTime",
"sourceColumn": "OrderDate",
"variations": [
{
"name": "Calendar Reuse",
"description": "Show Calendar hierarchy as field in Internet Sales",
"relationship": "ae49b4e7-772e-4fde-a7e4-3f5f80915766",
"defaultHierarchy": {
"table": "Date",
"hierarchy": "Calendar"
},
"isDefault": true
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DueDate",
"dataType": "dateTime",
"sourceColumn": "DueDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ShipDate",
"dataType": "dateTime",
"sourceColumn": "ShipDate"
},
{
"type": "calculated",
"name": "Margin",
"dataType": "decimal",
"isDataTypeInferred": true,
"expression": "[SalesAmount]-[TotalProductCost]",
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
}
],
"partitions": [
{
2017-04-18 11:14:33 +08:00
"name": "Internet Sales",
2016-12-02 11:25:57 +08:00
"source": {
2017-04-18 11:14:33 +08:00
"type": "m",
"expression": [
"let",
" Source = #\"AdventureWorks\",",
" dbo_FactInternetSales = Source{[Schema=\"dbo\",Item=\"FactInternetSales\"]}[Data]",
"in",
" dbo_FactInternetSales"
]
2016-12-02 11:25:57 +08:00
},
"annotations": [
{
2017-04-18 11:14:33 +08:00
"name": "QueryEditorSerialization",
"value": [
"<?xml version=\"1.0\" encoding=\"UTF-16\"?><Gemini xmlns=\"QueryEditorSerialization\"><AnnotationContent><![CDATA[<RSQueryCommandText>let",
" Source = #\"AdventureWorks\",",
" dbo_FactInternetSales = Source{[Schema=\"dbo\",Item=\"FactInternetSales\"]}[Data]",
"in",
" dbo_FactInternetSales</RSQueryCommandText><RSQueryCommandType>Text</RSQueryCommandType><RSQueryDesignState></RSQueryDesignState>]]></AnnotationContent></Gemini>"
]
2016-12-02 11:25:57 +08:00
}
]
}
],
2017-04-18 11:14:33 +08:00
"measures": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "InternetDistinctCountSalesOrder",
"expression": "DISTINCTCOUNT([SalesOrderNumber])",
"formatString": "#,0",
"detailRowsDefinition": {}
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetOrderLinesCount",
"expression": "COUNTA([SalesOrderLineNumber])",
"formatString": "#,0",
"detailRowsDefinition": {}
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalUnits",
"expression": "SUM([OrderQuantity])",
"formatString": "#,0",
"detailRowsDefinition": {}
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalDiscountAmount",
"expression": "SUM([DiscountAmount])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalProductCost",
"expression": "SUM([TotalProductCost])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalSales",
"expression": "SUM([SalesAmount])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalTaxAmt",
"expression": "SUM([TaxAmt])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalFreight",
"expression": "SUM([Freight])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalMargin",
"expression": "SUM([Margin])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetCurrentQuarterSalesPerformance",
"expression": "IFERROR([InternetCurrentQuarterSales]/[InternetPreviousQuarterSalesProportionToQTD],BLANK())",
"kpi": {
"targetExpression": "1.1",
"statusGraphic": "Shapes",
"statusExpression": [
"var x='Internet Sales'[InternetCurrentQuarterSalesPerformance] return",
" if(ISBLANK(x),BLANK(),",
" If(x<1,-1,",
"\t If(x<1.07,0,1)",
" )",
" )",
" "
],
"annotations": [
{
"name": "GoalType",
"value": "StaticValue"
},
{
"name": "KpiStatusType",
"value": "Linear"
},
{
"name": "KpiThresholdType",
"value": "Absolute"
},
{
"name": "KpiThresholdOrdering",
"value": "Ascending"
},
{
"name": "KpiThresholdCount",
"value": "2"
},
{
"name": "KpiThreshold_0",
"value": "1"
},
{
"name": "KpiThreshold_1",
"value": "1.07"
}
]
},
"detailRowsDefinition": {}
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetPreviousQuarterMargin",
"expression": "CALCULATE([InternetTotalMargin],PREVIOUSQUARTER('Date'[Date]))",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetCurrentQuarterMargin",
"expression": "TOTALQTD([InternetTotalMargin],'Date'[Date])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetPreviousQuarterMarginProportionToQTD",
"expression": "[InternetPreviousQuarterMargin]*([DaysCurrentQuarterToDate]/[DaysInCurrentQuarter])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetPreviousQuarterSales",
"expression": "CALCULATE([InternetTotalSales],PREVIOUSQUARTER('Date'[Date]))",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetCurrentQuarterSales",
"expression": "TOTALQTD([InternetTotalSales],'Date'[Date])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetPreviousQuarterSalesProportionToQTD",
"expression": "[InternetPreviousQuarterSales]*([DaysCurrentQuarterToDate]/[DaysInCurrentQuarter])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
{
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
}
]
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetCurrentQuarterMarginPerformance",
"expression": "IF([InternetPreviousQuarterMarginProportionToQTD]<>0,([InternetCurrentQuarterMargin]-[InternetPreviousQuarterMarginProportionToQTD])/[InternetPreviousQuarterMarginProportionToQTD],BLANK())",
"kpi": {
"targetExpression": "1.25",
"statusGraphic": "Shapes",
"statusExpression": [
"var x='Internet Sales'[InternetCurrentQuarterMarginPerformance] return",
" if(ISBLANK(x),BLANK(),",
" If(x<0.8,-1,",
"\t If(x<1.03,0,1)",
" )",
" )",
" "
],
"annotations": [
{
"name": "GoalType",
"value": "StaticValue"
},
{
"name": "KpiStatusType",
"value": "Linear"
},
{
"name": "KpiThresholdType",
"value": "Absolute"
},
{
"name": "KpiThresholdOrdering",
"value": "Ascending"
},
{
"name": "KpiThresholdCount",
"value": "2"
},
{
"name": "KpiThreshold_0",
"value": "0.8"
},
{
"name": "KpiThreshold_1",
"value": "1.03"
}
]
2016-12-02 11:25:57 +08:00
},
2017-04-18 11:14:33 +08:00
"detailRowsDefinition": {}
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "YTD InternetTotalSales",
"expression": "CALCULATE([InternetTotalSales], DATESYTD('Date'[Date]))",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
"annotations": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "Format",
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
2016-12-02 11:25:57 +08:00
}
]
}
]
},
{
2017-04-18 11:14:33 +08:00
"name": "Customer",
2016-12-02 11:25:57 +08:00
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "CustomerKey",
"dataType": "int64",
"sourceColumn": "CustomerKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "GeographyKey",
"dataType": "int64",
"sourceColumn": "GeographyKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CustomerAlternateKey",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "CustomerAlternateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Title",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "Title"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "FirstName",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "FirstName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "MiddleName",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "MiddleName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "LastName",
"dataType": "string",
"sourceColumn": "LastName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "NameStyle",
"dataType": "boolean",
"sourceColumn": "NameStyle"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "BirthDate",
"dataType": "dateTime",
"sourceColumn": "BirthDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "MaritalStatus",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "MaritalStatus"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Suffix",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "Suffix"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Gender",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "Gender"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EmailAddress",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "EmailAddress"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "YearlyIncome",
2016-12-02 11:25:57 +08:00
"dataType": "decimal",
2017-04-18 11:14:33 +08:00
"sourceColumn": "YearlyIncome"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "TotalChildren",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "TotalChildren"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "NumberChildrenAtHome",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "NumberChildrenAtHome"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishEducation",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "EnglishEducation"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishOccupation",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "EnglishOccupation"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "HouseOwnerFlag",
"dataType": "string",
"sourceColumn": "HouseOwnerFlag"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "NumberCarsOwned",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "NumberCarsOwned"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "AddressLine1",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "AddressLine1"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "AddressLine2",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "AddressLine2"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Phone",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "Phone"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DateFirstPurchase",
"dataType": "dateTime",
"sourceColumn": "DateFirstPurchase"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CommuteDistance",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "CommuteDistance"
}
],
"partitions": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "DimCustomer",
"dataView": "full",
"source": {
"type": "m",
"expression": [
"let",
" Source = #\"AdventureWorks\",",
" dbo_DimCustomer = Source{[Schema=\"dbo\",Item=\"DimCustomer\"]}[Data],",
" #\"Removed Columns\" = Table.RemoveColumns(dbo_DimCustomer,{\"SpanishEducation\", \"FrenchEducation\", \"SpanishOccupation\", \"FrenchOccupation\"})",
"in",
" #\"Removed Columns\""
]
}
}
]
},
{
"name": "Date",
"showAsVariationsOnly": true,
"dataCategory": "Time",
"columns": [
{
"name": "DateKey",
"dataType": "int64",
"sourceColumn": "DateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Date",
2016-12-02 11:25:57 +08:00
"dataType": "dateTime",
2017-04-18 11:14:33 +08:00
"isKey": true,
"sourceColumn": "FullDateAlternateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DayNumberOfWeek",
"dataType": "int64",
"sourceColumn": "DayNumberOfWeek"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishDayNameOfWeek",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "EnglishDayNameOfWeek"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DayNumberOfMonth",
"dataType": "int64",
"sourceColumn": "DayNumberOfMonth"
},
{
"name": "DayNumberOfYear",
"dataType": "int64",
"sourceColumn": "DayNumberOfYear"
},
{
"name": "WeekNumberOfYear",
"dataType": "int64",
"sourceColumn": "WeekNumberOfYear"
},
{
"name": "EnglishMonthName",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "EnglishMonthName",
"sortByColumn": "MonthNumberOfYear"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "MonthNumberOfYear",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "MonthNumberOfYear"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CalendarQuarter",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "CalendarQuarter"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CalendarYear",
"dataType": "int64",
"sourceColumn": "CalendarYear"
},
{
"name": "CalendarSemester",
"dataType": "int64",
"sourceColumn": "CalendarSemester"
},
{
"name": "FiscalQuarter",
"dataType": "int64",
"sourceColumn": "FiscalQuarter"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "FiscalYear",
"dataType": "int64",
"sourceColumn": "FiscalYear"
},
{
"name": "FiscalSemester",
"dataType": "int64",
"sourceColumn": "FiscalSemester"
2016-12-02 11:25:57 +08:00
}
],
"partitions": [
{
2017-04-18 11:14:33 +08:00
"name": "DimDate",
"dataView": "full",
2016-12-02 11:25:57 +08:00
"source": {
2017-04-18 11:14:33 +08:00
"type": "m",
"expression": [
"let",
" Source = #\"AdventureWorks\",",
" dbo_DimDate = Source{[Schema=\"dbo\",Item=\"DimDate\"]}[Data],",
" #\"Removed Columns\" = Table.RemoveColumns(dbo_DimDate,{\"SpanishDayNameOfWeek\", \"FrenchDayNameOfWeek\", \"SpanishMonthName\", \"FrenchMonthName\"})",
"in",
" #\"Removed Columns\""
]
}
}
],
"measures": [
{
"name": "DaysCurrentQuarterToDate",
"expression": "COUNTROWS( DATESQTD( 'Date'[Date])) ",
"detailRowsDefinition": {}
},
{
"name": "DaysInCurrentQuarter",
"expression": "COUNTROWS( DATESBETWEEN( 'Date'[Date], STARTOFQUARTER( LASTDATE('Date'[Date])), ENDOFQUARTER('Date'[Date])))",
"detailRowsDefinition": {}
2016-12-02 11:25:57 +08:00
}
],
"hierarchies": [
{
2017-04-18 11:14:33 +08:00
"name": "Calendar",
2016-12-02 11:25:57 +08:00
"levels": [
{
2017-04-18 11:14:33 +08:00
"name": "Year",
2016-12-02 11:25:57 +08:00
"ordinal": 0,
2017-04-18 11:14:33 +08:00
"column": "CalendarYear"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Month",
2016-12-02 11:25:57 +08:00
"ordinal": 1,
2017-04-18 11:14:33 +08:00
"column": "EnglishMonthName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Date",
2016-12-02 11:25:57 +08:00
"ordinal": 2,
2017-04-18 11:14:33 +08:00
"column": "Date"
2016-12-02 11:25:57 +08:00
}
]
},
{
2017-04-18 11:14:33 +08:00
"name": "Fiscal",
"levels": [
{
"name": "FiscalYear",
"ordinal": 0,
"column": "FiscalYear"
},
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "Month",
"ordinal": 1,
"column": "EnglishMonthName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Date",
"ordinal": 2,
"column": "Date"
2016-12-02 11:25:57 +08:00
}
]
}
]
},
{
2017-04-18 11:14:33 +08:00
"name": "Product",
2016-12-02 11:25:57 +08:00
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "ProductKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "ProductKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductAlternateKey",
"dataType": "string",
"sourceColumn": "ProductAlternateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductSubcategoryKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "ProductSubcategoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "WeightUnitMeasureCode",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "WeightUnitMeasureCode"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SizeUnitMeasureCode",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "SizeUnitMeasureCode"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishProductName",
"dataType": "string",
"sourceColumn": "EnglishProductName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "StandardCost",
"dataType": "decimal",
"sourceColumn": "StandardCost"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "FinishedGoodsFlag",
"dataType": "boolean",
"sourceColumn": "FinishedGoodsFlag"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Color",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "Color"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SafetyStockLevel",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "SafetyStockLevel"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ReorderPoint",
"dataType": "int64",
"sourceColumn": "ReorderPoint"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ListPrice",
"dataType": "decimal",
"sourceColumn": "ListPrice"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Size",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "Size"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SizeRange",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "SizeRange"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Weight",
"dataType": "double",
"sourceColumn": "Weight"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DaysToManufacture",
"dataType": "int64",
"sourceColumn": "DaysToManufacture"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductLine",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "ProductLine"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DealerPrice",
"dataType": "decimal",
"sourceColumn": "DealerPrice"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Class",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "Class"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Style",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "Style"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ModelName",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "ModelName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishDescription",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "EnglishDescription"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "StartDate",
"dataType": "dateTime",
"sourceColumn": "StartDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EndDate",
"dataType": "dateTime",
"sourceColumn": "EndDate"
},
{
"name": "Status",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "Status"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"type": "calculated",
"name": "ProductSubCategoryName",
"dataType": "string",
"isDataTypeInferred": true,
"expression": "RELATED('Product Subcategory'[EnglishProductSubcategoryName]) "
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"type": "calculated",
"name": "ProductCategoryName",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"isDataTypeInferred": true,
"expression": "RELATED('Product Category'[EnglishProductCategoryName]) "
2016-12-02 11:25:57 +08:00
}
],
"partitions": [
{
2017-04-18 11:14:33 +08:00
"name": "DimProduct",
"dataView": "full",
2016-12-02 11:25:57 +08:00
"source": {
2017-04-18 11:14:33 +08:00
"type": "m",
"expression": [
"let",
" Source = #\"AdventureWorks\",",
" dbo_DimProduct = Source{[Schema=\"dbo\",Item=\"DimProduct\"]}[Data],",
" #\"Removed Columns\" = Table.RemoveColumns(dbo_DimProduct,{\"SpanishProductName\", \"FrenchProductName\", \"FrenchDescription\", \"ChineseDescription\", \"ArabicDescription\", \"HebrewDescription\", \"ThaiDescription\", \"GermanDescription\", \"JapaneseDescription\", \"TurkishDescription\"})",
"in",
" #\"Removed Columns\""
]
}
}
],
"hierarchies": [
{
"name": "Category",
"levels": [
{
"name": "Product",
"ordinal": 3,
"column": "EnglishProductName"
},
{
"name": "Category",
"ordinal": 0,
"column": "ProductCategoryName"
},
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "SubCategory",
"ordinal": 1,
"column": "ProductSubCategoryName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Model",
"ordinal": 2,
"column": "ModelName"
2016-12-02 11:25:57 +08:00
}
]
}
]
},
{
2017-04-18 11:14:33 +08:00
"name": "Geography",
2016-12-02 11:25:57 +08:00
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "GeographyKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "GeographyKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "City",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "City"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "StateProvinceCode",
"dataType": "string",
"sourceColumn": "StateProvinceCode"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "StateProvince",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "StateProvinceName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CountryCode",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "CountryRegionCode"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Country",
"dataType": "string",
"sourceColumn": "EnglishCountryRegionName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "PostalCode",
"dataType": "string",
"sourceColumn": "PostalCode"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesTerritoryKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "SalesTerritoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "IpAddressLocator",
"dataType": "string",
"sourceColumn": "IpAddressLocator"
2016-12-02 11:25:57 +08:00
}
],
"partitions": [
{
2017-04-18 11:14:33 +08:00
"name": "DimGeography",
2016-12-02 11:25:57 +08:00
"source": {
2017-04-18 11:14:33 +08:00
"type": "m",
"expression": [
"let",
" Source = #\"AdventureWorks\",",
" dbo_DimGeography = Source{[Schema=\"dbo\",Item=\"DimGeography\"]}[Data]",
"in",
" dbo_DimGeography"
]
2016-12-02 11:25:57 +08:00
},
"annotations": [
{
2017-04-18 11:14:33 +08:00
"name": "QueryEditorSerialization",
"value": [
"<?xml version=\"1.0\" encoding=\"UTF-16\"?><Gemini xmlns=\"QueryEditorSerialization\"><AnnotationContent><![CDATA[<RSQueryCommandText>let",
" Source = #\"AdventureWorks\",",
" dbo_DimGeography = Source{[Schema=\"dbo\",Item=\"DimGeography\"]}[Data]",
"in",
" dbo_DimGeography</RSQueryCommandText><RSQueryCommandType>Text</RSQueryCommandType><RSQueryDesignState></RSQueryDesignState>]]></AnnotationContent></Gemini>"
]
2016-12-02 11:25:57 +08:00
}
]
}
2017-04-18 11:14:33 +08:00
]
},
{
"name": "Product Subcategory",
"columns": [
{
"name": "ProductSubcategoryKey",
"dataType": "int64",
"sourceColumn": "ProductSubcategoryKey"
},
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "ProductSubcategoryAlternateKey",
"dataType": "int64",
"sourceColumn": "ProductSubcategoryAlternateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishProductSubcategoryName",
"dataType": "string",
"sourceColumn": "EnglishProductSubcategoryName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductCategoryKey",
"dataType": "int64",
"sourceColumn": "ProductCategoryKey"
}
],
"partitions": [
{
"name": "DimProductSubcategory",
"dataView": "full",
"source": {
"type": "m",
"expression": [
"let",
" Source = #\"AdventureWorks\",",
" dbo_DimProductSubcategory = Source{[Schema=\"dbo\",Item=\"DimProductSubcategory\"]}[Data],",
" #\"Removed Columns\" = Table.RemoveColumns(dbo_DimProductSubcategory,{\"SpanishProductSubcategoryName\", \"FrenchProductSubcategoryName\"})",
"in",
" #\"Removed Columns\""
]
}
2016-12-02 11:25:57 +08:00
}
]
},
{
2017-04-18 11:14:33 +08:00
"name": "Product Category",
2016-12-02 11:25:57 +08:00
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "ProductCategoryKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "ProductCategoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductCategoryAlternateKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "ProductCategoryAlternateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishProductCategoryName",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "EnglishProductCategoryName"
}
],
"partitions": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "DimProductCategory",
"dataView": "full",
"source": {
"type": "m",
"expression": [
"let",
" Source = #\"AdventureWorks\",",
" dbo_DimProductCategory = Source{[Schema=\"dbo\",Item=\"DimProductCategory\"]}[Data],",
" #\"Removed Columns\" = Table.RemoveColumns(dbo_DimProductCategory,{\"SpanishProductCategoryName\", \"FrenchProductCategoryName\"})",
"in",
" #\"Removed Columns\""
]
}
}
]
},
{
"name": "Reseller Sales",
"columns": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "ProductKey",
"dataType": "int64",
"sourceColumn": "ProductKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "OrderDateKey",
"dataType": "int64",
"sourceColumn": "OrderDateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DueDateKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "DueDateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ShipDateKey",
"dataType": "int64",
"sourceColumn": "ShipDateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ResellerKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "ResellerKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EmployeeKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "EmployeeKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "PromotionKey",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "PromotionKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CurrencyKey",
"dataType": "int64",
"sourceColumn": "CurrencyKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesTerritoryKey",
"dataType": "int64",
"sourceColumn": "SalesTerritoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesOrderNumber",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "SalesOrderNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesOrderLineNumber",
"dataType": "int64",
"sourceColumn": "SalesOrderLineNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "RevisionNumber",
"dataType": "int64",
"sourceColumn": "RevisionNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "OrderQuantity",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "OrderQuantity"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "UnitPrice",
2016-12-02 11:25:57 +08:00
"dataType": "decimal",
2017-04-18 11:14:33 +08:00
"sourceColumn": "UnitPrice"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ExtendedAmount",
2016-12-02 11:25:57 +08:00
"dataType": "decimal",
2017-04-18 11:14:33 +08:00
"sourceColumn": "ExtendedAmount"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "UnitPriceDiscountPct",
"dataType": "double",
"sourceColumn": "UnitPriceDiscountPct"
},
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "DiscountAmount",
"dataType": "double",
"sourceColumn": "DiscountAmount"
},
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "ProductStandardCost",
"dataType": "decimal",
"sourceColumn": "ProductStandardCost"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "TotalProductCost",
"dataType": "decimal",
"sourceColumn": "TotalProductCost"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesAmount",
"dataType": "decimal",
"sourceColumn": "SalesAmount"
},
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "TaxAmt",
"dataType": "decimal",
"sourceColumn": "TaxAmt"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Freight",
"dataType": "decimal",
"sourceColumn": "Freight"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CarrierTrackingNumber",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "CarrierTrackingNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CustomerPONumber",
2016-12-02 11:25:57 +08:00
"dataType": "string",
2017-04-18 11:14:33 +08:00
"sourceColumn": "CustomerPONumber"
},
{
"name": "OrderDate",
"dataType": "dateTime",
"sourceColumn": "OrderDate"
},
{
"name": "DueDate",
"dataType": "dateTime",
"sourceColumn": "DueDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ShipDate",
"dataType": "dateTime",
"sourceColumn": "ShipDate"
2016-12-02 11:25:57 +08:00
}
],
"partitions": [
{
2017-04-18 11:14:33 +08:00
"name": "Reseller Sales",
2016-12-02 11:25:57 +08:00
"source": {
2017-04-18 11:14:33 +08:00
"type": "m",
"expression": [
"let",
" Source = #\"AdventureWorks\",",
" dbo_FactResellerSales = Source{[Schema=\"dbo\",Item=\"FactResellerSales\"]}[Data]",
"in",
" dbo_FactResellerSales"
]
2016-12-02 11:25:57 +08:00
},
"annotations": [
{
2017-04-18 11:14:33 +08:00
"name": "QueryEditorSerialization",
"value": [
"<?xml version=\"1.0\" encoding=\"UTF-16\"?><Gemini xmlns=\"QueryEditorSerialization\"><AnnotationContent><![CDATA[<RSQueryCommandText>let",
" Source = #\"AdventureWorks\",",
" dbo_FactResellerSales = Source{[Schema=\"dbo\",Item=\"FactResellerSales\"]}[Data]",
"in",
" dbo_FactResellerSales</RSQueryCommandText><RSQueryCommandType>Text</RSQueryCommandType><RSQueryDesignState></RSQueryDesignState>]]></AnnotationContent></Gemini>"
]
2016-12-02 11:25:57 +08:00
}
]
}
],
"measures": [
{
2017-04-18 11:14:33 +08:00
"name": "ResellerTotalSales",
"expression": "SUM([SalesAmount])",
"formatString": "\\$#,0;(\\$#,0);\\$#,0",
"detailRowsDefinition": {},
2016-12-02 11:25:57 +08:00
"annotations": [
{
"name": "Format",
2017-04-18 11:14:33 +08:00
"value": "<Format Format=\"Currency\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
2016-12-02 11:25:57 +08:00
}
]
2017-04-18 11:14:33 +08:00
}
]
},
{
"name": "Employee",
"columns": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "EmployeeKey",
"dataType": "int64",
"sourceColumn": "EmployeeKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ParentEmployeeKey",
"dataType": "int64",
"sourceColumn": "ParentEmployeeKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EmployeeNationalIDAlternateKey",
"dataType": "string",
"sourceColumn": "EmployeeNationalIDAlternateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ParentEmployeeNationalIDAlternateKey",
"dataType": "string",
"sourceColumn": "ParentEmployeeNationalIDAlternateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesTerritoryKey",
"dataType": "int64",
"sourceColumn": "SalesTerritoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "FirstName",
"dataType": "string",
"sourceColumn": "FirstName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "LastName",
"dataType": "string",
"sourceColumn": "LastName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "MiddleName",
"dataType": "string",
"sourceColumn": "MiddleName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "NameStyle",
"dataType": "boolean",
"sourceColumn": "NameStyle"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Title",
"dataType": "string",
"sourceColumn": "Title"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "HireDate",
"dataType": "dateTime",
"sourceColumn": "HireDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "BirthDate",
"dataType": "dateTime",
"sourceColumn": "BirthDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "LoginID",
"dataType": "string",
"sourceColumn": "LoginID"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EmailAddress",
"dataType": "string",
"sourceColumn": "EmailAddress"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Phone",
"dataType": "string",
"sourceColumn": "Phone"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "MaritalStatus",
"dataType": "string",
"sourceColumn": "MaritalStatus"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EmergencyContactName",
"dataType": "string",
"sourceColumn": "EmergencyContactName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EmergencyContactPhone",
"dataType": "string",
"sourceColumn": "EmergencyContactPhone"
},
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "SalariedFlag",
"dataType": "boolean",
"sourceColumn": "SalariedFlag"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Gender",
"dataType": "string",
"sourceColumn": "Gender"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "PayFrequency",
"dataType": "int64",
"sourceColumn": "PayFrequency"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "BaseRate",
2016-12-02 11:25:57 +08:00
"dataType": "decimal",
2017-04-18 11:14:33 +08:00
"sourceColumn": "BaseRate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "VacationHours",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "VacationHours"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SickLeaveHours",
2016-12-02 11:25:57 +08:00
"dataType": "int64",
2017-04-18 11:14:33 +08:00
"sourceColumn": "SickLeaveHours"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CurrentFlag",
"dataType": "boolean",
"sourceColumn": "CurrentFlag"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesPersonFlag",
"dataType": "boolean",
"sourceColumn": "SalesPersonFlag"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DepartmentName",
"dataType": "string",
"sourceColumn": "DepartmentName"
},
{
"name": "StartDate",
"dataType": "dateTime",
"sourceColumn": "StartDate"
},
{
"name": "EndDate",
"dataType": "dateTime",
"sourceColumn": "EndDate"
},
{
"name": "Status",
"dataType": "string",
"sourceColumn": "Status"
2016-12-02 11:25:57 +08:00
},
{
"type": "calculated",
2017-04-18 11:14:33 +08:00
"name": "FullName",
"dataType": "string",
2016-12-02 11:25:57 +08:00
"isDataTypeInferred": true,
2017-04-18 11:14:33 +08:00
"expression": "[FirstName] & \" \" & [MiddleName] & \" \" & [LastName]"
2016-12-02 11:25:57 +08:00
},
{
"type": "calculated",
2017-04-18 11:14:33 +08:00
"name": "Path",
"dataType": "string",
2016-12-02 11:25:57 +08:00
"isDataTypeInferred": true,
2017-04-18 11:14:33 +08:00
"expression": "PATH([EmployeeKey],[ParentEmployeeKey])"
2016-12-02 11:25:57 +08:00
},
{
"type": "calculated",
2017-04-18 11:14:33 +08:00
"name": "Level1",
"dataType": "string",
2016-12-02 11:25:57 +08:00
"isDataTypeInferred": true,
2017-04-18 11:14:33 +08:00
"expression": "LOOKUPVALUE(Employee[FullName],Employee[EmployeeKey],PATHITEM([Path],1,1))"
2016-12-02 11:25:57 +08:00
},
{
"type": "calculated",
2017-04-18 11:14:33 +08:00
"name": "Level2",
"dataType": "string",
2016-12-02 11:25:57 +08:00
"isDataTypeInferred": true,
2017-04-18 11:14:33 +08:00
"expression": [
"LOOKUPVALUE(",
" Employee[FullName],",
" Employee[EmployeeKey],",
" PATHITEM([Path],2,1)",
")"
2016-12-02 11:25:57 +08:00
]
},
{
2017-04-18 11:14:33 +08:00
"type": "calculated",
"name": "Level3",
"dataType": "string",
"isDataTypeInferred": true,
"expression": "LOOKUPVALUE(Employee[FullName],Employee[EmployeeKey],PATHITEM([Path],3,1))"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"type": "calculated",
"name": "Level4",
"dataType": "string",
"isDataTypeInferred": true,
"expression": "LOOKUPVALUE(Employee[FullName],Employee[EmployeeKey],PATHITEM([Path],4,1))"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"type": "calculated",
"name": "Level5",
"dataType": "string",
"isDataTypeInferred": true,
"expression": "LOOKUPVALUE(Employee[FullName],Employee[EmployeeKey],PATHITEM([Path],5,1))"
}
],
"partitions": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "DimEmployee",
"dataView": "full",
2016-12-02 11:25:57 +08:00
"source": {
2017-04-18 11:14:33 +08:00
"type": "m",
"expression": [
"let",
" Source = #\"AdventureWorks\",",
" dbo_DimEmployee = Source{[Schema=\"dbo\",Item=\"DimEmployee\"]}[Data]",
"in",
" dbo_DimEmployee"
]
}
}
],
"hierarchies": [
{
"name": "Organization",
"levels": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "Level1",
"ordinal": 0,
"column": "Level1"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Level2",
"ordinal": 1,
"column": "Level2"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Level3",
"ordinal": 2,
"column": "Level3"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Level4",
"ordinal": 3,
"column": "Level4"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Level5",
"ordinal": 4,
"column": "Level5"
2016-12-02 11:25:57 +08:00
}
]
}
]
2017-04-18 11:14:33 +08:00
}
],
"relationships": [
{
"name": "eac275ef-12ed-44ab-95c5-367fe2964b7a",
"fromTable": "Internet Sales",
"fromColumn": "CustomerKey",
"toTable": "Customer",
"toColumn": "CustomerKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "a5c2f953-e0a8-4f12-984a-82eba386bc31",
"fromTable": "Internet Sales",
"fromColumn": "ProductKey",
"toTable": "Product",
"toColumn": "ProductKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "2f03b75d-266f-4c06-bf9a-c00a2a5fe63f",
"fromTable": "Customer",
"fromColumn": "GeographyKey",
"toTable": "Geography",
"toColumn": "GeographyKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "c3b3fe98-c83c-4340-89dc-0cdb8acba196",
"fromTable": "Product",
"fromColumn": "ProductSubcategoryKey",
"toTable": "Product Subcategory",
"toColumn": "ProductSubcategoryKey"
},
{
"name": "fbe2a336-e918-4bc2-9765-da912e40e48b",
"fromTable": "Product Subcategory",
"fromColumn": "ProductCategoryKey",
"toTable": "Product Category",
"toColumn": "ProductCategoryKey"
},
{
"name": "1f7402f3-4ec1-4916-b766-dbdee2711bfd",
"fromTable": "Reseller Sales",
"fromColumn": "EmployeeKey",
"toTable": "Employee",
"toColumn": "EmployeeKey"
},
{
"name": "38811126-0c3f-47dd-9c7c-c271da105e10",
"fromTable": "Reseller Sales",
"fromColumn": "ProductKey",
"toTable": "Product",
"toColumn": "ProductKey"
},
{
"name": "7ee649d8-b06b-4965-90e1-f9244173b3d9",
"fromTable": "Reseller Sales",
"fromColumn": "OrderDateKey",
"toTable": "Date",
"toColumn": "DateKey"
},
{
"name": "e7a1ad50-9554-4041-a9c9-9075f09ebe90",
"fromTable": "Reseller Sales",
"fromColumn": "DueDateKey",
"toTable": "Date",
"toColumn": "DateKey",
"isActive": false
},
{
"name": "1e5d554f-ea4a-4b43-9ab7-3029e8cbe953",
"fromTable": "Reseller Sales",
"fromColumn": "ShipDateKey",
"toTable": "Date",
"toColumn": "DateKey",
"isActive": false
},
{
"name": "9f36b1bc-0fae-4f03-94a9-b6996acf96f6",
"fromTable": "Internet Sales",
"fromColumn": "DueDateKey",
"toTable": "Date",
"toColumn": "DateKey",
"isActive": false
},
{
"name": "6e3e2bb9-d63c-4f1b-a65a-0a1a82dfbf75",
"fromTable": "Internet Sales",
"fromColumn": "ShipDateKey",
"toTable": "Date",
"toColumn": "DateKey",
"isActive": false
},
{
"name": "ae49b4e7-772e-4fde-a7e4-3f5f80915766",
"fromTable": "Internet Sales",
"fromColumn": "OrderDateKey",
"toTable": "Date",
"toColumn": "DateKey"
}
],
"perspectives": [
{
"name": "Internet Sales",
"tables": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "Date",
2016-12-02 11:25:57 +08:00
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "CalendarQuarter"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CalendarSemester"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CalendarYear"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Date"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DayNumberOfMonth"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DayNumberOfWeek"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DayNumberOfYear"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishDayNameOfWeek"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishMonthName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "FiscalQuarter"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "FiscalSemester"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "FiscalYear"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "MonthNumberOfYear"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "WeekNumberOfYear"
}
],
"hierarchies": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "Calendar"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Fiscal"
2016-12-02 11:25:57 +08:00
}
],
"measures": [
{
2017-04-18 11:14:33 +08:00
"name": "DaysCurrentQuarterToDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DaysInCurrentQuarter"
2016-12-02 11:25:57 +08:00
}
]
},
{
2017-04-18 11:14:33 +08:00
"name": "Geography",
2016-12-02 11:25:57 +08:00
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "City"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CountryCode"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Country"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "GeographyKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "IpAddressLocator"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "PostalCode"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesTerritoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "StateProvinceCode"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "StateProvince"
2016-12-02 11:25:57 +08:00
}
]
},
{
"name": "Product",
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "Class"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Color"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DaysToManufacture"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DealerPrice"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EndDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishDescription"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "EnglishProductName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "FinishedGoodsFlag"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ListPrice"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ModelName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductAlternateKey"
2016-12-02 11:25:57 +08:00
},
{
"name": "ProductKey"
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductLine"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductSubcategoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ReorderPoint"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SafetyStockLevel"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Size"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SizeRange"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SizeUnitMeasureCode"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "StandardCost"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "StartDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Status"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Style"
2016-12-02 11:25:57 +08:00
},
{
"name": "Weight"
},
{
2017-04-18 11:14:33 +08:00
"name": "WeightUnitMeasureCode"
2016-12-02 11:25:57 +08:00
}
]
},
{
2017-04-18 11:14:33 +08:00
"name": "Product Category",
2016-12-02 11:25:57 +08:00
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "EnglishProductCategoryName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductCategoryAlternateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductCategoryKey"
2016-12-02 11:25:57 +08:00
}
]
},
{
"name": "Product Subcategory",
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "EnglishProductSubcategoryName"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductCategoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductSubcategoryAlternateKey"
},
{
"name": "ProductSubcategoryKey"
2016-12-02 11:25:57 +08:00
}
]
},
{
2017-04-18 11:14:33 +08:00
"name": "Internet Sales",
2016-12-02 11:25:57 +08:00
"columns": [
{
2017-04-18 11:14:33 +08:00
"name": "CarrierTrackingNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CurrencyKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CustomerKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "CustomerPONumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DiscountAmount"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DueDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "DueDateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ExtendedAmount"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Freight"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Margin"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "OrderDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "OrderDateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "OrderQuantity"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ProductStandardCost"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "PromotionKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "RevisionNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesAmount"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesOrderLineNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesOrderNumber"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "SalesTerritoryKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ShipDate"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "ShipDateKey"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "TaxAmt"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "TotalProductCost"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "UnitPrice"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "UnitPriceDiscountPct"
2016-12-02 11:25:57 +08:00
}
2017-04-18 11:14:33 +08:00
],
"measures": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "InternetCurrentQuarterMargin"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetCurrentQuarterSales"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetDistinctCountSalesOrder"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetOrderLinesCount"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetPreviousQuarterMargin"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetPreviousQuarterMarginProportionToQTD"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetPreviousQuarterSales"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetPreviousQuarterSalesProportionToQTD"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalDiscountAmount"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalFreight"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalMargin"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalProductCost"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalSales"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalTaxAmt"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetTotalUnits"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetCurrentQuarterMarginPerformance"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "InternetCurrentQuarterSalesPerformance"
2016-12-02 11:25:57 +08:00
}
]
2017-04-18 11:14:33 +08:00
}
]
}
],
"roles": [
{
"name": "General Users",
"description": "Readers of the model",
"modelPermission": "read",
"members": [
{
"memberName": "kayu@microsoft.com",
"memberId": "kayu@microsoft.com",
"identityProvider": "AzureAD"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"memberName": "bretgr@microsoft.com",
"memberId": "bretgr@microsoft.com",
"identityProvider": "AzureAD"
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"memberName": "jocaplan@microsoft.com",
"memberId": "jocaplan@microsoft.com",
"identityProvider": "AzureAD"
}
],
"tablePermissions": [
{
"name": "Geography",
"filterExpression": "Geography[CountryCode]=\"US\""
2016-12-02 11:25:57 +08:00
},
{
2017-04-18 11:14:33 +08:00
"name": "Customer",
"columnPermissions": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "Phone",
"metadataPermission": "none"
2016-12-02 11:25:57 +08:00
}
]
}
]
}
],
2017-04-18 11:14:33 +08:00
"annotations": [
2016-12-02 11:25:57 +08:00
{
2017-04-18 11:14:33 +08:00
"name": "ClientCompatibilityLevel",
"value": "500"
2016-12-02 11:25:57 +08:00
}
]
},
"id": "SemanticModel"
2016-12-02 11:25:57 +08:00
}