1263 lines
40 KiB
Plaintext
1263 lines
40 KiB
Plaintext
{
|
|
"name": "SemanticModel",
|
|
"compatibilityLevel": 1400,
|
|
"model": {
|
|
"defaultMode": "directQuery",
|
|
"culture": "en-US",
|
|
"dataSources": [
|
|
{
|
|
"name": "SqlServer chwadeaggs.database.windows.net chwadeAW",
|
|
"connectionString": "Provider=SQLNCLI11;Data Source=chwadeaggs.database.windows.net;Initial Catalog=chwadeAW;User ID=Jim;Persist Security Info=true",
|
|
"impersonationMode": "impersonateServiceAccount",
|
|
"annotations": [
|
|
{
|
|
"name": "ConnectionEditUISource",
|
|
"value": "SqlServer"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"tables": [
|
|
{
|
|
"name": "DimCustomer",
|
|
"columns": [
|
|
{
|
|
"name": "CustomerKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "CustomerKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "GeographyKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "GeographyKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "CustomerAlternateKey",
|
|
"dataType": "string",
|
|
"sourceColumn": "CustomerAlternateKey",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "Title",
|
|
"dataType": "string",
|
|
"sourceColumn": "Title",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FirstName",
|
|
"dataType": "string",
|
|
"sourceColumn": "FirstName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "MiddleName",
|
|
"dataType": "string",
|
|
"sourceColumn": "MiddleName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "LastName",
|
|
"dataType": "string",
|
|
"sourceColumn": "LastName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "NameStyle",
|
|
"dataType": "boolean",
|
|
"sourceColumn": "NameStyle",
|
|
"formatString": "\"TRUE\";\"TRUE\";\"FALSE\"",
|
|
"sourceProviderType": "Boolean"
|
|
},
|
|
{
|
|
"name": "BirthDate",
|
|
"dataType": "dateTime",
|
|
"sourceColumn": "BirthDate",
|
|
"formatString": "General Date",
|
|
"sourceProviderType": "DBDate"
|
|
},
|
|
{
|
|
"name": "MaritalStatus",
|
|
"dataType": "string",
|
|
"sourceColumn": "MaritalStatus",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "Suffix",
|
|
"dataType": "string",
|
|
"sourceColumn": "Suffix",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "Gender",
|
|
"dataType": "string",
|
|
"sourceColumn": "Gender",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "EmailAddress",
|
|
"dataType": "string",
|
|
"sourceColumn": "EmailAddress",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "YearlyIncome",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "YearlyIncome",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "TotalChildren",
|
|
"dataType": "int64",
|
|
"sourceColumn": "TotalChildren",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "NumberChildrenAtHome",
|
|
"dataType": "int64",
|
|
"sourceColumn": "NumberChildrenAtHome",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "EnglishEducation",
|
|
"dataType": "string",
|
|
"sourceColumn": "EnglishEducation",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SpanishEducation",
|
|
"dataType": "string",
|
|
"sourceColumn": "SpanishEducation",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FrenchEducation",
|
|
"dataType": "string",
|
|
"sourceColumn": "FrenchEducation",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "EnglishOccupation",
|
|
"dataType": "string",
|
|
"sourceColumn": "EnglishOccupation",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SpanishOccupation",
|
|
"dataType": "string",
|
|
"sourceColumn": "SpanishOccupation",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FrenchOccupation",
|
|
"dataType": "string",
|
|
"sourceColumn": "FrenchOccupation",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "HouseOwnerFlag",
|
|
"dataType": "string",
|
|
"sourceColumn": "HouseOwnerFlag",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "NumberCarsOwned",
|
|
"dataType": "int64",
|
|
"sourceColumn": "NumberCarsOwned",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "AddressLine1",
|
|
"dataType": "string",
|
|
"sourceColumn": "AddressLine1",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "AddressLine2",
|
|
"dataType": "string",
|
|
"sourceColumn": "AddressLine2",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "Phone",
|
|
"dataType": "string",
|
|
"sourceColumn": "Phone",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "DateFirstPurchase",
|
|
"dataType": "dateTime",
|
|
"sourceColumn": "DateFirstPurchase",
|
|
"formatString": "General Date",
|
|
"sourceProviderType": "DBDate"
|
|
},
|
|
{
|
|
"name": "CommuteDistance",
|
|
"dataType": "string",
|
|
"sourceColumn": "CommuteDistance",
|
|
"sourceProviderType": "WChar"
|
|
}
|
|
],
|
|
"partitions": [
|
|
{
|
|
"name": "DimCustomer",
|
|
"dataView": "full",
|
|
"source": {
|
|
"query": " SELECT [dbo].[DimCustomer].* FROM [dbo].[DimCustomer] ",
|
|
"dataSource": "SqlServer chwadeaggs.database.windows.net chwadeAW"
|
|
}
|
|
}
|
|
],
|
|
"annotations": [
|
|
{
|
|
"name": "_TM_ExtProp_QueryDefinition",
|
|
"value": " SELECT [dbo].[DimCustomer].* FROM [dbo].[DimCustomer] "
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbTableName",
|
|
"value": "DimCustomer"
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbSchemaName",
|
|
"value": "dbo"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "DimDate",
|
|
"columns": [
|
|
{
|
|
"name": "DateKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "DateKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "FullDateAlternateKey",
|
|
"dataType": "dateTime",
|
|
"sourceColumn": "FullDateAlternateKey",
|
|
"formatString": "General Date",
|
|
"sourceProviderType": "DBDate"
|
|
},
|
|
{
|
|
"name": "DayNumberOfWeek",
|
|
"dataType": "int64",
|
|
"sourceColumn": "DayNumberOfWeek",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "EnglishDayNameOfWeek",
|
|
"dataType": "string",
|
|
"sourceColumn": "EnglishDayNameOfWeek",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SpanishDayNameOfWeek",
|
|
"dataType": "string",
|
|
"sourceColumn": "SpanishDayNameOfWeek",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FrenchDayNameOfWeek",
|
|
"dataType": "string",
|
|
"sourceColumn": "FrenchDayNameOfWeek",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "DayNumberOfMonth",
|
|
"dataType": "int64",
|
|
"sourceColumn": "DayNumberOfMonth",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "DayNumberOfYear",
|
|
"dataType": "int64",
|
|
"sourceColumn": "DayNumberOfYear",
|
|
"sourceProviderType": "SmallInt"
|
|
},
|
|
{
|
|
"name": "WeekNumberOfYear",
|
|
"dataType": "int64",
|
|
"sourceColumn": "WeekNumberOfYear",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "EnglishMonthName",
|
|
"dataType": "string",
|
|
"sourceColumn": "EnglishMonthName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SpanishMonthName",
|
|
"dataType": "string",
|
|
"sourceColumn": "SpanishMonthName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FrenchMonthName",
|
|
"dataType": "string",
|
|
"sourceColumn": "FrenchMonthName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "MonthNumberOfYear",
|
|
"dataType": "int64",
|
|
"sourceColumn": "MonthNumberOfYear",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "CalendarQuarter",
|
|
"dataType": "int64",
|
|
"sourceColumn": "CalendarQuarter",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "CalendarYear",
|
|
"dataType": "int64",
|
|
"sourceColumn": "CalendarYear",
|
|
"sourceProviderType": "SmallInt"
|
|
},
|
|
{
|
|
"name": "CalendarSemester",
|
|
"dataType": "int64",
|
|
"sourceColumn": "CalendarSemester",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "FiscalQuarter",
|
|
"dataType": "int64",
|
|
"sourceColumn": "FiscalQuarter",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "FiscalYear",
|
|
"dataType": "int64",
|
|
"sourceColumn": "FiscalYear",
|
|
"sourceProviderType": "SmallInt"
|
|
},
|
|
{
|
|
"name": "FiscalSemester",
|
|
"dataType": "int64",
|
|
"sourceColumn": "FiscalSemester",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
}
|
|
],
|
|
"partitions": [
|
|
{
|
|
"name": "DimDate",
|
|
"dataView": "full",
|
|
"source": {
|
|
"query": " SELECT [dbo].[DimDate].* FROM [dbo].[DimDate] ",
|
|
"dataSource": "SqlServer chwadeaggs.database.windows.net chwadeAW"
|
|
}
|
|
}
|
|
],
|
|
"annotations": [
|
|
{
|
|
"name": "_TM_ExtProp_QueryDefinition",
|
|
"value": " SELECT [dbo].[DimDate].* FROM [dbo].[DimDate] "
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbTableName",
|
|
"value": "DimDate"
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbSchemaName",
|
|
"value": "dbo"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "DimGeography",
|
|
"columns": [
|
|
{
|
|
"name": "GeographyKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "GeographyKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "City",
|
|
"dataType": "string",
|
|
"sourceColumn": "City",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "StateProvinceCode",
|
|
"dataType": "string",
|
|
"sourceColumn": "StateProvinceCode",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "StateProvinceName",
|
|
"dataType": "string",
|
|
"sourceColumn": "StateProvinceName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "CountryRegionCode",
|
|
"dataType": "string",
|
|
"sourceColumn": "CountryRegionCode",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "EnglishCountryRegionName",
|
|
"dataType": "string",
|
|
"sourceColumn": "EnglishCountryRegionName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SpanishCountryRegionName",
|
|
"dataType": "string",
|
|
"sourceColumn": "SpanishCountryRegionName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FrenchCountryRegionName",
|
|
"dataType": "string",
|
|
"sourceColumn": "FrenchCountryRegionName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "PostalCode",
|
|
"dataType": "string",
|
|
"sourceColumn": "PostalCode",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SalesTerritoryKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "SalesTerritoryKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "IpAddressLocator",
|
|
"dataType": "string",
|
|
"sourceColumn": "IpAddressLocator",
|
|
"sourceProviderType": "WChar"
|
|
}
|
|
],
|
|
"partitions": [
|
|
{
|
|
"name": "DimGeography",
|
|
"dataView": "full",
|
|
"source": {
|
|
"query": " SELECT [dbo].[DimGeography].* FROM [dbo].[DimGeography] ",
|
|
"dataSource": "SqlServer chwadeaggs.database.windows.net chwadeAW"
|
|
}
|
|
}
|
|
],
|
|
"annotations": [
|
|
{
|
|
"name": "_TM_ExtProp_QueryDefinition",
|
|
"value": " SELECT [dbo].[DimGeography].* FROM [dbo].[DimGeography] "
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbTableName",
|
|
"value": "DimGeography"
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbSchemaName",
|
|
"value": "dbo"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "DimProduct",
|
|
"columns": [
|
|
{
|
|
"name": "ProductKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ProductKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "ProductAlternateKey",
|
|
"dataType": "string",
|
|
"sourceColumn": "ProductAlternateKey",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "ProductSubcategoryKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ProductSubcategoryKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "WeightUnitMeasureCode",
|
|
"dataType": "string",
|
|
"sourceColumn": "WeightUnitMeasureCode",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SizeUnitMeasureCode",
|
|
"dataType": "string",
|
|
"sourceColumn": "SizeUnitMeasureCode",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "EnglishProductName",
|
|
"dataType": "string",
|
|
"sourceColumn": "EnglishProductName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SpanishProductName",
|
|
"dataType": "string",
|
|
"sourceColumn": "SpanishProductName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FrenchProductName",
|
|
"dataType": "string",
|
|
"sourceColumn": "FrenchProductName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "StandardCost",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "StandardCost",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FinishedGoodsFlag",
|
|
"dataType": "boolean",
|
|
"sourceColumn": "FinishedGoodsFlag",
|
|
"formatString": "\"TRUE\";\"TRUE\";\"FALSE\"",
|
|
"sourceProviderType": "Boolean"
|
|
},
|
|
{
|
|
"name": "Color",
|
|
"dataType": "string",
|
|
"sourceColumn": "Color",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SafetyStockLevel",
|
|
"dataType": "int64",
|
|
"sourceColumn": "SafetyStockLevel",
|
|
"sourceProviderType": "SmallInt"
|
|
},
|
|
{
|
|
"name": "ReorderPoint",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ReorderPoint",
|
|
"sourceProviderType": "SmallInt"
|
|
},
|
|
{
|
|
"name": "ListPrice",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "ListPrice",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Size",
|
|
"dataType": "string",
|
|
"sourceColumn": "Size",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SizeRange",
|
|
"dataType": "string",
|
|
"sourceColumn": "SizeRange",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "Weight",
|
|
"dataType": "double",
|
|
"sourceColumn": "Weight",
|
|
"sourceProviderType": "Double"
|
|
},
|
|
{
|
|
"name": "DaysToManufacture",
|
|
"dataType": "int64",
|
|
"sourceColumn": "DaysToManufacture",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "ProductLine",
|
|
"dataType": "string",
|
|
"sourceColumn": "ProductLine",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "DealerPrice",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "DealerPrice",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Class",
|
|
"dataType": "string",
|
|
"sourceColumn": "Class",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "Style",
|
|
"dataType": "string",
|
|
"sourceColumn": "Style",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "ModelName",
|
|
"dataType": "string",
|
|
"sourceColumn": "ModelName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "EnglishDescription",
|
|
"dataType": "string",
|
|
"sourceColumn": "EnglishDescription",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FrenchDescription",
|
|
"dataType": "string",
|
|
"sourceColumn": "FrenchDescription",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "ChineseDescription",
|
|
"dataType": "string",
|
|
"sourceColumn": "ChineseDescription",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "ArabicDescription",
|
|
"dataType": "string",
|
|
"sourceColumn": "ArabicDescription",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "HebrewDescription",
|
|
"dataType": "string",
|
|
"sourceColumn": "HebrewDescription",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "ThaiDescription",
|
|
"dataType": "string",
|
|
"sourceColumn": "ThaiDescription",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "GermanDescription",
|
|
"dataType": "string",
|
|
"sourceColumn": "GermanDescription",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "JapaneseDescription",
|
|
"dataType": "string",
|
|
"sourceColumn": "JapaneseDescription",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "TurkishDescription",
|
|
"dataType": "string",
|
|
"sourceColumn": "TurkishDescription",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "StartDate",
|
|
"dataType": "dateTime",
|
|
"sourceColumn": "StartDate",
|
|
"formatString": "General Date",
|
|
"sourceProviderType": "DBTimeStamp"
|
|
},
|
|
{
|
|
"name": "EndDate",
|
|
"dataType": "dateTime",
|
|
"sourceColumn": "EndDate",
|
|
"formatString": "General Date",
|
|
"sourceProviderType": "DBTimeStamp"
|
|
},
|
|
{
|
|
"name": "Status",
|
|
"dataType": "string",
|
|
"sourceColumn": "Status",
|
|
"sourceProviderType": "WChar"
|
|
}
|
|
],
|
|
"partitions": [
|
|
{
|
|
"name": "DimProduct",
|
|
"dataView": "full",
|
|
"source": {
|
|
"query": " SELECT [dbo].[DimProduct].* FROM [dbo].[DimProduct] ",
|
|
"dataSource": "SqlServer chwadeaggs.database.windows.net chwadeAW"
|
|
}
|
|
}
|
|
],
|
|
"annotations": [
|
|
{
|
|
"name": "_TM_ExtProp_QueryDefinition",
|
|
"value": " SELECT [dbo].[DimProduct].* FROM [dbo].[DimProduct] "
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbTableName",
|
|
"value": "DimProduct"
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbSchemaName",
|
|
"value": "dbo"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "DimProductCategory",
|
|
"columns": [
|
|
{
|
|
"name": "ProductCategoryKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ProductCategoryKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "ProductCategoryAlternateKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ProductCategoryAlternateKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "EnglishProductCategoryName",
|
|
"dataType": "string",
|
|
"sourceColumn": "EnglishProductCategoryName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SpanishProductCategoryName",
|
|
"dataType": "string",
|
|
"sourceColumn": "SpanishProductCategoryName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FrenchProductCategoryName",
|
|
"dataType": "string",
|
|
"sourceColumn": "FrenchProductCategoryName",
|
|
"sourceProviderType": "WChar"
|
|
}
|
|
],
|
|
"partitions": [
|
|
{
|
|
"name": "DimProductCategory",
|
|
"dataView": "full",
|
|
"source": {
|
|
"query": " SELECT [dbo].[DimProductCategory].* FROM [dbo].[DimProductCategory] ",
|
|
"dataSource": "SqlServer chwadeaggs.database.windows.net chwadeAW"
|
|
}
|
|
}
|
|
],
|
|
"annotations": [
|
|
{
|
|
"name": "_TM_ExtProp_QueryDefinition",
|
|
"value": " SELECT [dbo].[DimProductCategory].* FROM [dbo].[DimProductCategory] "
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbTableName",
|
|
"value": "DimProductCategory"
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbSchemaName",
|
|
"value": "dbo"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "DimProductSubcategory",
|
|
"columns": [
|
|
{
|
|
"name": "ProductSubcategoryKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ProductSubcategoryKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "ProductSubcategoryAlternateKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ProductSubcategoryAlternateKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "EnglishProductSubcategoryName",
|
|
"dataType": "string",
|
|
"sourceColumn": "EnglishProductSubcategoryName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SpanishProductSubcategoryName",
|
|
"dataType": "string",
|
|
"sourceColumn": "SpanishProductSubcategoryName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "FrenchProductSubcategoryName",
|
|
"dataType": "string",
|
|
"sourceColumn": "FrenchProductSubcategoryName",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "ProductCategoryKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ProductCategoryKey",
|
|
"sourceProviderType": "Integer"
|
|
}
|
|
],
|
|
"partitions": [
|
|
{
|
|
"name": "DimProductSubcategory",
|
|
"dataView": "full",
|
|
"source": {
|
|
"query": " SELECT [dbo].[DimProductSubcategory].* FROM [dbo].[DimProductSubcategory] ",
|
|
"dataSource": "SqlServer chwadeaggs.database.windows.net chwadeAW"
|
|
}
|
|
}
|
|
],
|
|
"annotations": [
|
|
{
|
|
"name": "_TM_ExtProp_QueryDefinition",
|
|
"value": " SELECT [dbo].[DimProductSubcategory].* FROM [dbo].[DimProductSubcategory] "
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbTableName",
|
|
"value": "DimProductSubcategory"
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbSchemaName",
|
|
"value": "dbo"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FactInternetSales",
|
|
"columns": [
|
|
{
|
|
"name": "ProductKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ProductKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "OrderDateKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "OrderDateKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "DueDateKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "DueDateKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "ShipDateKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ShipDateKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "CustomerKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "CustomerKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "PromotionKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "PromotionKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "CurrencyKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "CurrencyKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "SalesTerritoryKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "SalesTerritoryKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "SalesOrderNumber",
|
|
"dataType": "string",
|
|
"sourceColumn": "SalesOrderNumber",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "SalesOrderLineNumber",
|
|
"dataType": "int64",
|
|
"sourceColumn": "SalesOrderLineNumber",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "RevisionNumber",
|
|
"dataType": "int64",
|
|
"sourceColumn": "RevisionNumber",
|
|
"sourceProviderType": "UnsignedTinyInt"
|
|
},
|
|
{
|
|
"name": "OrderQuantity",
|
|
"dataType": "int64",
|
|
"sourceColumn": "OrderQuantity",
|
|
"sourceProviderType": "SmallInt"
|
|
},
|
|
{
|
|
"name": "UnitPrice",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "UnitPrice",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "ExtendedAmount",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "ExtendedAmount",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "UnitPriceDiscountPct",
|
|
"dataType": "double",
|
|
"sourceColumn": "UnitPriceDiscountPct",
|
|
"sourceProviderType": "Double"
|
|
},
|
|
{
|
|
"name": "DiscountAmount",
|
|
"dataType": "double",
|
|
"sourceColumn": "DiscountAmount",
|
|
"sourceProviderType": "Double"
|
|
},
|
|
{
|
|
"name": "ProductStandardCost",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "ProductStandardCost",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "TotalProductCost",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "TotalProductCost",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "SalesAmount",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "SalesAmount",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "TaxAmt",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "TaxAmt",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Freight",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "Freight",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "CarrierTrackingNumber",
|
|
"dataType": "string",
|
|
"sourceColumn": "CarrierTrackingNumber",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "CustomerPONumber",
|
|
"dataType": "string",
|
|
"sourceColumn": "CustomerPONumber",
|
|
"sourceProviderType": "WChar"
|
|
},
|
|
{
|
|
"name": "OrderDate",
|
|
"dataType": "dateTime",
|
|
"sourceColumn": "OrderDate",
|
|
"formatString": "General Date",
|
|
"sourceProviderType": "DBTimeStamp"
|
|
},
|
|
{
|
|
"name": "DueDate",
|
|
"dataType": "dateTime",
|
|
"sourceColumn": "DueDate",
|
|
"formatString": "General Date",
|
|
"sourceProviderType": "DBTimeStamp"
|
|
},
|
|
{
|
|
"name": "ShipDate",
|
|
"dataType": "dateTime",
|
|
"sourceColumn": "ShipDate",
|
|
"formatString": "General Date",
|
|
"sourceProviderType": "DBTimeStamp"
|
|
},
|
|
{
|
|
"name": "LastUpdateDate",
|
|
"dataType": "dateTime",
|
|
"sourceColumn": "LastUpdateDate",
|
|
"formatString": "General Date",
|
|
"sourceProviderType": "DBTimeStamp"
|
|
}
|
|
],
|
|
"partitions": [
|
|
{
|
|
"name": "FactInternetSales",
|
|
"dataView": "full",
|
|
"source": {
|
|
"query": " SELECT [dbo].[FactInternetSales].* FROM [dbo].[FactInternetSales] ",
|
|
"dataSource": "SqlServer chwadeaggs.database.windows.net chwadeAW"
|
|
}
|
|
}
|
|
],
|
|
"annotations": [
|
|
{
|
|
"name": "_TM_ExtProp_QueryDefinition",
|
|
"value": " SELECT [dbo].[FactInternetSales].* FROM [dbo].[FactInternetSales] "
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbTableName",
|
|
"value": "FactInternetSales"
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbSchemaName",
|
|
"value": "dbo"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FactInternetSalesAgg",
|
|
"columns": [
|
|
{
|
|
"name": "OrderDateKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "OrderDateKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "CustomerKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "CustomerKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "ProductSubcategoryKey",
|
|
"dataType": "int64",
|
|
"sourceColumn": "ProductSubcategoryKey",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "SalesAmount_Sum",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "SalesAmount_Sum",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "UnitPrice_Sum",
|
|
"dataType": "decimal",
|
|
"sourceColumn": "UnitPrice_Sum",
|
|
"formatString": "\\$#,0.00;(\\$#,0.00);\\$#,0.00",
|
|
"sourceProviderType": "Currency",
|
|
"annotations": [
|
|
{
|
|
"name": "Format",
|
|
"value": "<Format Format=\"Currency\" Accuracy=\"2\" ThousandSeparator=\"True\"><Currency LCID=\"1033\" DisplayName=\"$ English (United States)\" Symbol=\"$\" PositivePattern=\"0\" NegativePattern=\"0\" /></Format>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "UnitPrice_Count",
|
|
"dataType": "int64",
|
|
"sourceColumn": "UnitPrice_Count",
|
|
"sourceProviderType": "Integer"
|
|
},
|
|
{
|
|
"name": "FactInternetSales_Count",
|
|
"dataType": "int64",
|
|
"sourceColumn": "FactInternetSales_Count",
|
|
"sourceProviderType": "Integer"
|
|
}
|
|
],
|
|
"partitions": [
|
|
{
|
|
"name": "FactInternetSalesAgg",
|
|
"dataView": "full",
|
|
"source": {
|
|
"query": " SELECT [dbo].[FactInternetSalesAgg].* FROM [dbo].[FactInternetSalesAgg] ",
|
|
"dataSource": "SqlServer chwadeaggs.database.windows.net chwadeAW"
|
|
}
|
|
}
|
|
],
|
|
"annotations": [
|
|
{
|
|
"name": "_TM_ExtProp_QueryDefinition",
|
|
"value": " SELECT [dbo].[FactInternetSalesAgg].* FROM [dbo].[FactInternetSalesAgg] "
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbTableName",
|
|
"value": "FactInternetSalesAgg"
|
|
},
|
|
{
|
|
"name": "_TM_ExtProp_DbSchemaName",
|
|
"value": "dbo"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"relationships": [
|
|
{
|
|
"name": "765aed4a-99a1-4e12-b9d3-89eaf354ed45",
|
|
"fromTable": "DimCustomer",
|
|
"fromColumn": "GeographyKey",
|
|
"toTable": "DimGeography",
|
|
"toColumn": "GeographyKey"
|
|
},
|
|
{
|
|
"name": "e2140f6e-071b-49f4-834f-fbc1e24d0ad4",
|
|
"fromTable": "DimProduct",
|
|
"fromColumn": "ProductSubcategoryKey",
|
|
"toTable": "DimProductSubcategory",
|
|
"toColumn": "ProductSubcategoryKey"
|
|
},
|
|
{
|
|
"name": "74ba0d0a-0c14-4e2b-9039-6b22915bcd1a",
|
|
"fromTable": "DimProductSubcategory",
|
|
"fromColumn": "ProductCategoryKey",
|
|
"toTable": "DimProductCategory",
|
|
"toColumn": "ProductCategoryKey"
|
|
},
|
|
{
|
|
"name": "87da72af-3d4e-4db5-9b4f-68ff5ab46f8e",
|
|
"fromTable": "FactInternetSales",
|
|
"fromColumn": "CustomerKey",
|
|
"toTable": "DimCustomer",
|
|
"toColumn": "CustomerKey"
|
|
},
|
|
{
|
|
"name": "812b8a30-9510-4748-aa13-33049751b839",
|
|
"fromTable": "FactInternetSales",
|
|
"fromColumn": "OrderDateKey",
|
|
"toTable": "DimDate",
|
|
"toColumn": "DateKey"
|
|
},
|
|
{
|
|
"name": "5014d792-e9f6-4a74-9fbe-ecdcd2190ac1",
|
|
"fromTable": "FactInternetSales",
|
|
"fromColumn": "ProductKey",
|
|
"toTable": "DimProduct",
|
|
"toColumn": "ProductKey"
|
|
},
|
|
{
|
|
"name": "0d09d702-9b79-4f5a-b163-f1519ed64f16",
|
|
"fromTable": "FactInternetSalesAgg",
|
|
"fromColumn": "OrderDateKey",
|
|
"toTable": "DimDate",
|
|
"toColumn": "DateKey"
|
|
},
|
|
{
|
|
"name": "98080ee4-523f-4353-a1d8-5278ce1511f1",
|
|
"fromTable": "FactInternetSalesAgg",
|
|
"fromColumn": "CustomerKey",
|
|
"toTable": "DimCustomer",
|
|
"toColumn": "CustomerKey"
|
|
},
|
|
{
|
|
"name": "575c575c-0564-4022-a6cd-95abcabefe37",
|
|
"fromTable": "FactInternetSalesAgg",
|
|
"fromColumn": "ProductSubcategoryKey",
|
|
"toTable": "DimProductSubcategory",
|
|
"toColumn": "ProductSubcategoryKey"
|
|
}
|
|
],
|
|
"annotations": [
|
|
{
|
|
"name": "ClientCompatibilityLevel",
|
|
"value": "500"
|
|
}
|
|
]
|
|
},
|
|
"id": "SemanticModel"
|
|
} |