From c8b434f9e6f2e129a41d6dad9a8d60ba305a5ec3 Mon Sep 17 00:00:00 2001 From: Mathias Thierbach Date: Tue, 28 Nov 2023 19:50:34 +0000 Subject: [PATCH 1/3] Upgrade to TMDL & Info Matrix added --- .pbixproj.json | 4 +- Contoso Dataset/.pbixproj.json | 4 +- Contoso Dataset/DiagramLayout.json | 28 ++- Contoso Dataset/Model/cultures/en-US.json | 11 -- Contoso Dataset/Model/cultures/en-US.tmdl | 10 + Contoso Dataset/Model/database.json | 93 --------- Contoso Dataset/Model/expressions.tmdl | 38 ++++ Contoso Dataset/Model/model.tmdl | 34 ++++ .../Model/queries/Currency Exchange.m | 5 - Contoso Dataset/Model/queries/Customers.m | 5 - Contoso Dataset/Model/queries/Date.m | 5 - Contoso Dataset/Model/queries/Info.m | 19 -- Contoso Dataset/Model/queries/Products.m | 5 - Contoso Dataset/Model/queries/Sales.m | 5 - Contoso Dataset/Model/queries/Stores.m | 5 - Contoso Dataset/Model/queries/[Environment].m | 1 - Contoso Dataset/Model/queries/[GH-Branch].m | 1 - Contoso Dataset/Model/queries/[GH-RunId].m | 1 - Contoso Dataset/Model/queries/[GH-SHA].m | 1 - .../Model/queries/[PBITOOLS_VERSION].m | 1 - .../Model/queries/[SQL Database].m | 1 - Contoso Dataset/Model/queries/[SQL Schema].m | 1 - Contoso Dataset/Model/queries/[SQL Server].m | 1 - Contoso Dataset/Model/queries/[Version].m | 1 - Contoso Dataset/Model/relationships.tmdl | 21 +++ .../Model/tables/Currency Exchange.tmdl | 64 +++++++ .../Currency Exchange/columns/Date.json | 22 --- .../Currency Exchange/columns/Exchange.json | 21 --- .../columns/FromCurrency.json | 17 -- .../Currency Exchange/columns/ToCurrency.json | 17 -- .../Model/tables/Currency Exchange/table.json | 19 -- Contoso Dataset/Model/tables/Customers.tmdl | 122 ++++++++++++ .../tables/Customers/columns/Address.json | 12 -- .../Model/tables/Customers/columns/Age.json | 13 -- .../tables/Customers/columns/Birthday.json | 13 -- .../Model/tables/Customers/columns/City.json | 12 -- .../tables/Customers/columns/Continent.json | 12 -- .../Customers/columns/Country Code.json | 12 -- .../tables/Customers/columns/Country.json | 12 -- .../tables/Customers/columns/CustomerKey.json | 18 -- .../tables/Customers/columns/Gender.json | 12 -- .../Model/tables/Customers/columns/Name.json | 12 -- .../tables/Customers/columns/State Code.json | 12 -- .../Model/tables/Customers/columns/State.json | 12 -- .../tables/Customers/columns/Zip Code.json | 12 -- .../Model/tables/Customers/table.json | 12 -- Contoso Dataset/Model/tables/Date.tmdl | 152 +++++++++++++++ .../Model/tables/Date/columns/Date.json | 18 -- .../Date/columns/Day of Week Number.json | 13 -- .../Date/columns/Day of Week Short.json | 12 -- .../tables/Date/columns/Day of Week.json | 12 -- .../tables/Date/columns/Month Number.json | 13 -- .../tables/Date/columns/Month Short.json | 12 -- .../Model/tables/Date/columns/Month.json | 12 -- .../Model/tables/Date/columns/Quarter.json | 12 -- .../Date/columns/Working Day Number.json | 13 -- .../tables/Date/columns/Working Day.json | 13 -- .../Date/columns/Year Month Number.json | 13 -- .../tables/Date/columns/Year Month Short.json | 12 -- .../Model/tables/Date/columns/Year Month.json | 12 -- .../Date/columns/Year Quarter Number.json | 13 -- .../tables/Date/columns/Year Quarter.json | 12 -- .../Model/tables/Date/columns/Year.json | 13 -- Contoso Dataset/Model/tables/Date/table.json | 13 -- Contoso Dataset/Model/tables/Info.tmdl | 93 +++++++++ .../Model/tables/Info/columns/Label.json | 17 -- .../Model/tables/Info/columns/Text.json | 17 -- .../Model/tables/Info/columns/Timestamp.json | 18 -- .../Model/tables/Info/measures/Branch.dax | 1 - .../Model/tables/Info/measures/Branch.json | 9 - .../Info/measures/Data Updated (UTC).dax | 1 - .../Info/measures/Data Updated (UTC).json | 14 -- .../tables/Info/measures/Dataset Version.dax | 1 - .../tables/Info/measures/Dataset Version.json | 9 - .../tables/Info/measures/Environment.dax | 1 - .../tables/Info/measures/Environment.json | 9 - .../tables/Info/measures/GitHub RunID.dax | 1 - .../tables/Info/measures/GitHub RunID.json | 9 - .../Model/tables/Info/measures/GitHub SHA.dax | 1 - .../tables/Info/measures/GitHub SHA.json | 9 - Contoso Dataset/Model/tables/Info/table.json | 12 -- Contoso Dataset/Model/tables/Products.tmdl | 159 ++++++++++++++++ .../Model/tables/Products/columns/Brand.json | 12 -- .../Products/columns/Category Code.json | 17 -- .../tables/Products/columns/Category.json | 17 -- .../Model/tables/Products/columns/Color.json | 12 -- .../tables/Products/columns/Manufacturer.json | 12 -- .../tables/Products/columns/Product Code.json | 12 -- .../tables/Products/columns/Product Name.json | 12 -- .../tables/Products/columns/ProductKey.json | 18 -- .../Products/columns/Subcategory Code.json | 17 -- .../tables/Products/columns/Subcategory.json | 17 -- .../tables/Products/columns/Unit Cost.json | 17 -- .../tables/Products/columns/Unit Price.json | 17 -- .../Products/columns/Weight Unit Measure.json | 12 -- .../Model/tables/Products/columns/Weight.json | 16 -- .../hierarchies/Products Hierarchy.json | 15 -- .../Model/tables/Products/table.json | 12 -- Contoso Dataset/Model/tables/Sales.tmdl | 176 ++++++++++++++++++ .../tables/Sales/columns/Currency Code.json | 12 -- .../tables/Sales/columns/CustomerKey.json | 18 -- .../tables/Sales/columns/Delivery Date.json | 17 -- .../tables/Sales/columns/Exchange Rate.json | 16 -- .../tables/Sales/columns/Line Number.json | 13 -- .../Model/tables/Sales/columns/Net Price.json | 17 -- .../tables/Sales/columns/Order Date.json | 17 -- .../tables/Sales/columns/Order Number.json | 13 -- .../tables/Sales/columns/ProductKey.json | 18 -- .../Model/tables/Sales/columns/Quantity.json | 13 -- .../Model/tables/Sales/columns/StoreKey.json | 18 -- .../Model/tables/Sales/columns/Unit Cost.json | 17 -- .../tables/Sales/columns/Unit Price.json | 17 -- .../Model/tables/Sales/measures/Margin.dax | 1 - .../Model/tables/Sales/measures/Margin.json | 14 -- .../tables/Sales/measures/Sales Amount.dax | 1 - .../tables/Sales/measures/Sales Amount.json | 14 -- .../tables/Sales/measures/Sales Quantity.dax | 1 - .../tables/Sales/measures/Sales Quantity.json | 4 - .../tables/Sales/measures/Total Cost.dax | 1 - .../tables/Sales/measures/Total Cost.json | 14 -- Contoso Dataset/Model/tables/Sales/table.json | 12 -- Contoso Dataset/Model/tables/Stores.tmdl | 96 ++++++++++ .../tables/Stores/columns/Close Date.json | 17 -- .../Model/tables/Stores/columns/Country.json | 12 -- .../Model/tables/Stores/columns/Name.json | 12 -- .../tables/Stores/columns/Open Date.json | 17 -- .../tables/Stores/columns/Square Meters.json | 13 -- .../Model/tables/Stores/columns/State.json | 12 -- .../Model/tables/Stores/columns/Status.json | 12 -- .../tables/Stores/columns/Store Code.json | 13 -- .../Model/tables/Stores/columns/StoreKey.json | 18 -- .../Model/tables/Stores/table.json | 12 -- Contoso Dataset/Report/config.json | 2 +- .../00001_pivotTable (23631)/config.json | 141 ++++++++++++++ .../00001_pivotTable (23631)/filters.json | 1 + .../visualContainer.json | 8 + Contoso Dataset/ReportMetadata.json | 2 +- Contoso Dataset/Version.txt | 2 +- 138 files changed, 1143 insertions(+), 1436 deletions(-) delete mode 100644 Contoso Dataset/Model/cultures/en-US.json create mode 100644 Contoso Dataset/Model/cultures/en-US.tmdl delete mode 100644 Contoso Dataset/Model/database.json create mode 100644 Contoso Dataset/Model/expressions.tmdl create mode 100644 Contoso Dataset/Model/model.tmdl delete mode 100644 Contoso Dataset/Model/queries/Currency Exchange.m delete mode 100644 Contoso Dataset/Model/queries/Customers.m delete mode 100644 Contoso Dataset/Model/queries/Date.m delete mode 100644 Contoso Dataset/Model/queries/Info.m delete mode 100644 Contoso Dataset/Model/queries/Products.m delete mode 100644 Contoso Dataset/Model/queries/Sales.m delete mode 100644 Contoso Dataset/Model/queries/Stores.m delete mode 100644 Contoso Dataset/Model/queries/[Environment].m delete mode 100644 Contoso Dataset/Model/queries/[GH-Branch].m delete mode 100644 Contoso Dataset/Model/queries/[GH-RunId].m delete mode 100644 Contoso Dataset/Model/queries/[GH-SHA].m delete mode 100644 Contoso Dataset/Model/queries/[PBITOOLS_VERSION].m delete mode 100644 Contoso Dataset/Model/queries/[SQL Database].m delete mode 100644 Contoso Dataset/Model/queries/[SQL Schema].m delete mode 100644 Contoso Dataset/Model/queries/[SQL Server].m delete mode 100644 Contoso Dataset/Model/queries/[Version].m create mode 100644 Contoso Dataset/Model/relationships.tmdl create mode 100644 Contoso Dataset/Model/tables/Currency Exchange.tmdl delete mode 100644 Contoso Dataset/Model/tables/Currency Exchange/columns/Date.json delete mode 100644 Contoso Dataset/Model/tables/Currency Exchange/columns/Exchange.json delete mode 100644 Contoso Dataset/Model/tables/Currency Exchange/columns/FromCurrency.json delete mode 100644 Contoso Dataset/Model/tables/Currency Exchange/columns/ToCurrency.json delete mode 100644 Contoso Dataset/Model/tables/Currency Exchange/table.json create mode 100644 Contoso Dataset/Model/tables/Customers.tmdl delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/Address.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/Age.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/Birthday.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/City.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/Continent.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/Country Code.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/Country.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/CustomerKey.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/Gender.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/Name.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/State Code.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/State.json delete mode 100644 Contoso Dataset/Model/tables/Customers/columns/Zip Code.json delete mode 100644 Contoso Dataset/Model/tables/Customers/table.json create mode 100644 Contoso Dataset/Model/tables/Date.tmdl delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Date.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Day of Week Number.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Day of Week Short.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Day of Week.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Month Number.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Month Short.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Month.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Quarter.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Working Day Number.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Working Day.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Year Month Number.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Year Month Short.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Year Month.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Year Quarter Number.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Year Quarter.json delete mode 100644 Contoso Dataset/Model/tables/Date/columns/Year.json delete mode 100644 Contoso Dataset/Model/tables/Date/table.json create mode 100644 Contoso Dataset/Model/tables/Info.tmdl delete mode 100644 Contoso Dataset/Model/tables/Info/columns/Label.json delete mode 100644 Contoso Dataset/Model/tables/Info/columns/Text.json delete mode 100644 Contoso Dataset/Model/tables/Info/columns/Timestamp.json delete mode 100644 Contoso Dataset/Model/tables/Info/measures/Branch.dax delete mode 100644 Contoso Dataset/Model/tables/Info/measures/Branch.json delete mode 100644 Contoso Dataset/Model/tables/Info/measures/Data Updated (UTC).dax delete mode 100644 Contoso Dataset/Model/tables/Info/measures/Data Updated (UTC).json delete mode 100644 Contoso Dataset/Model/tables/Info/measures/Dataset Version.dax delete mode 100644 Contoso Dataset/Model/tables/Info/measures/Dataset Version.json delete mode 100644 Contoso Dataset/Model/tables/Info/measures/Environment.dax delete mode 100644 Contoso Dataset/Model/tables/Info/measures/Environment.json delete mode 100644 Contoso Dataset/Model/tables/Info/measures/GitHub RunID.dax delete mode 100644 Contoso Dataset/Model/tables/Info/measures/GitHub RunID.json delete mode 100644 Contoso Dataset/Model/tables/Info/measures/GitHub SHA.dax delete mode 100644 Contoso Dataset/Model/tables/Info/measures/GitHub SHA.json delete mode 100644 Contoso Dataset/Model/tables/Info/table.json create mode 100644 Contoso Dataset/Model/tables/Products.tmdl delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Brand.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Category Code.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Category.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Color.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Manufacturer.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Product Code.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Product Name.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/ProductKey.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Subcategory Code.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Subcategory.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Unit Cost.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Unit Price.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Weight Unit Measure.json delete mode 100644 Contoso Dataset/Model/tables/Products/columns/Weight.json delete mode 100644 Contoso Dataset/Model/tables/Products/hierarchies/Products Hierarchy.json delete mode 100644 Contoso Dataset/Model/tables/Products/table.json create mode 100644 Contoso Dataset/Model/tables/Sales.tmdl delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Currency Code.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/CustomerKey.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Delivery Date.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Exchange Rate.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Line Number.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Net Price.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Order Date.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Order Number.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/ProductKey.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Quantity.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/StoreKey.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Unit Cost.json delete mode 100644 Contoso Dataset/Model/tables/Sales/columns/Unit Price.json delete mode 100644 Contoso Dataset/Model/tables/Sales/measures/Margin.dax delete mode 100644 Contoso Dataset/Model/tables/Sales/measures/Margin.json delete mode 100644 Contoso Dataset/Model/tables/Sales/measures/Sales Amount.dax delete mode 100644 Contoso Dataset/Model/tables/Sales/measures/Sales Amount.json delete mode 100644 Contoso Dataset/Model/tables/Sales/measures/Sales Quantity.dax delete mode 100644 Contoso Dataset/Model/tables/Sales/measures/Sales Quantity.json delete mode 100644 Contoso Dataset/Model/tables/Sales/measures/Total Cost.dax delete mode 100644 Contoso Dataset/Model/tables/Sales/measures/Total Cost.json delete mode 100644 Contoso Dataset/Model/tables/Sales/table.json create mode 100644 Contoso Dataset/Model/tables/Stores.tmdl delete mode 100644 Contoso Dataset/Model/tables/Stores/columns/Close Date.json delete mode 100644 Contoso Dataset/Model/tables/Stores/columns/Country.json delete mode 100644 Contoso Dataset/Model/tables/Stores/columns/Name.json delete mode 100644 Contoso Dataset/Model/tables/Stores/columns/Open Date.json delete mode 100644 Contoso Dataset/Model/tables/Stores/columns/Square Meters.json delete mode 100644 Contoso Dataset/Model/tables/Stores/columns/State.json delete mode 100644 Contoso Dataset/Model/tables/Stores/columns/Status.json delete mode 100644 Contoso Dataset/Model/tables/Stores/columns/Store Code.json delete mode 100644 Contoso Dataset/Model/tables/Stores/columns/StoreKey.json delete mode 100644 Contoso Dataset/Model/tables/Stores/table.json create mode 100644 Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/config.json create mode 100644 Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/filters.json create mode 100644 Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/visualContainer.json diff --git a/.pbixproj.json b/.pbixproj.json index 51927e3..cdae340 100644 --- a/.pbixproj.json +++ b/.pbixproj.json @@ -66,9 +66,9 @@ } }, "parameters": { - "[Version]": "1.0.0", + "[Version]": "1.1.0", "WORKSPACE": "Calgary-Demo", - "[SQL Schema]": "PowerBI--{{ENVIRONMENT}}--Contoso@1.0.0", + "[SQL Schema]": "PowerBI--{{ENVIRONMENT}}--Contoso@1.1.0", "SCHEMA_BASE_NAME": "PowerBI--{{ENVIRONMENT}}--Contoso", "[SQL Server]": "pbitools-demo-01.database.windows.net", "[SQL Database]": "Contoso", diff --git a/Contoso Dataset/.pbixproj.json b/Contoso Dataset/.pbixproj.json index 8c45bcb..39feb3f 100644 --- a/Contoso Dataset/.pbixproj.json +++ b/Contoso Dataset/.pbixproj.json @@ -1,7 +1,7 @@ { - "version": "0.12", + "version": "0.13", "created": "2022-07-20T08:13:22.5835413+01:00", - "lastModified": "2022-07-20T08:22:37.0289475+01:00", + "lastModified": "2023-11-28T19:49:19.7082912+00:00", "settings": { "model": { "serializationMode": "Default", diff --git a/Contoso Dataset/DiagramLayout.json b/Contoso Dataset/DiagramLayout.json index 0b42a29..2c13a90 100644 --- a/Contoso Dataset/DiagramLayout.json +++ b/Contoso Dataset/DiagramLayout.json @@ -11,7 +11,7 @@ { "location": { "x": 1370.2741170268844, - "y": 350.77677033913204 + "y": 399.08747144614313 }, "nodeIndex": "Currency Exchange", "size": { @@ -23,7 +23,7 @@ { "location": { "x": 349.19876998769985, - "y": 96.621402214022169 + "y": 144.93210332103325 }, "nodeIndex": "Customers", "size": { @@ -35,7 +35,7 @@ { "location": { "x": 1335.8858548585488, - "y": 677.74268142681433 + "y": 726.05338253382547 }, "nodeIndex": "Date", "size": { @@ -47,7 +47,7 @@ { "location": { "x": 1022.2622386223862, - "y": 124.16051660516609 + "y": 172.47121771217718 }, "nodeIndex": "Products", "size": { @@ -59,7 +59,7 @@ { "location": { "x": 404.89755754700406, - "y": 640.15238458542592 + "y": 688.46308569243706 }, "nodeIndex": "Sales", "size": { @@ -71,7 +71,7 @@ { "location": { "x": 688.1938499384994, - "y": 98.327183271832723 + "y": 146.63788437884381 }, "nodeIndex": "Stores", "size": { @@ -79,13 +79,27 @@ "width": 234 }, "zIndex": 5 + }, + { + "location": { + "x": 1305.0753470391846, + "y": 377.076192292713 + }, + "nodeIndex": "Info", + "nodeLineageTag": "70da6bba-5162-4cb4-8a19-07dcea31c08b", + "size": { + "height": 296, + "width": 234 + }, + "zIndex": 0 } ], "name": "All tables", "zoomValue": 70, "pinKeyFieldsToTop": true, "showExtraHeaderInfo": true, - "hideKeyFieldsWhenCollapsed": false + "hideKeyFieldsWhenCollapsed": false, + "tablesLocked": false } ], "selectedDiagram": "All tables", diff --git a/Contoso Dataset/Model/cultures/en-US.json b/Contoso Dataset/Model/cultures/en-US.json deleted file mode 100644 index 81df9f6..0000000 --- a/Contoso Dataset/Model/cultures/en-US.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "en-US", - "linguisticMetadata": { - "content": { - "Version": "1.0.0", - "Language": "en-US", - "DynamicImprovement": "HighConfidence" - }, - "contentType": "json" - } -} \ No newline at end of file diff --git a/Contoso Dataset/Model/cultures/en-US.tmdl b/Contoso Dataset/Model/cultures/en-US.tmdl new file mode 100644 index 0000000..0d971f8 --- /dev/null +++ b/Contoso Dataset/Model/cultures/en-US.tmdl @@ -0,0 +1,10 @@ +culture en-US + linguisticMetadata: + content = + { + "Version": "1.0.0", + "Language": "en-US", + "DynamicImprovement": "HighConfidence" + } + contentType: Json + diff --git a/Contoso Dataset/Model/database.json b/Contoso Dataset/Model/database.json deleted file mode 100644 index ffe0440..0000000 --- a/Contoso Dataset/Model/database.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "name": "Contoso Dataset", - "compatibilityLevel": 1550, - "model": { - "culture": "en-US", - "dataAccessOptions": { - "legacyRedirects": true, - "returnErrorValuesAsNull": true - }, - "defaultPowerBIDataSourceVersion": "powerBI_V3", - "sourceQueryCulture": "en-GB", - "relationships": [ - { - "name": "14e43681-a6e8-436b-849f-96a7486cb486", - "fromTable": "Sales", - "fromColumn": "CustomerKey", - "toTable": "Customers", - "toColumn": "CustomerKey" - }, - { - "name": "deb457e6-cd40-4a01-b601-f5a05ebafb35", - "fromTable": "Sales", - "fromColumn": "ProductKey", - "toTable": "Products", - "toColumn": "ProductKey" - }, - { - "name": "427e149b-8208-4dab-89de-410342bc0886", - "fromTable": "Sales", - "fromColumn": "StoreKey", - "toTable": "Stores", - "toColumn": "StoreKey" - }, - { - "name": "b878c8e0-8efe-4b89-a14c-2e2841ac94f5", - "fromTable": "Sales", - "fromColumn": "Order Date", - "toTable": "Date", - "toColumn": "Date" - }, - { - "name": "a6fe37d7-7a7d-4c91-870d-d216ec99c74f", - "fromTable": "Sales", - "fromColumn": "Delivery Date", - "toTable": "Date", - "toColumn": "Date", - "isActive": false - } - ], - "expressions": [ - { - "name": "[SQL Server]", - "kind": "m", - "queryGroup": "Parameters" - }, - { - "name": "[SQL Database]", - "kind": "m", - "queryGroup": "Parameters" - }, - { - "name": "[SQL Schema]", - "kind": "m", - "queryGroup": "Parameters" - } - ], - "queryGroups": [ - { - "folder": "Parameters", - "annotations": [ - { - "name": "PBI_QueryGroupOrder", - "value": "0" - } - ] - } - ], - "annotations": [ - { - "name": "__PBI_TimeIntelligenceEnabled", - "value": "0" - }, - { - "name": "PBIDesktopVersion", - "value": "2.107.683.0 (22.07)" - }, - { - "name": "PBI_QueryOrder", - "value": "[\"[SQL Server]\",\"[SQL Database]\",\"Currency Exchange\",\"Customers\",\"Date\",\"Products\",\"Sales\",\"Stores\",\"[SQL Schema]\"]" - } - ] - } -} \ No newline at end of file diff --git a/Contoso Dataset/Model/expressions.tmdl b/Contoso Dataset/Model/expressions.tmdl new file mode 100644 index 0000000..51cb866 --- /dev/null +++ b/Contoso Dataset/Model/expressions.tmdl @@ -0,0 +1,38 @@ +expression '[SQL Server]' = "pbitools-demo-01.database.windows.net" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] + lineageTag: e6298aa0-8571-47f0-a389-a50c5b256cef + queryGroup: Parameters + + annotation PBI_NavigationStepName = Navigation + + annotation PBI_ResultType = Text + +expression '[SQL Database]' = "Contoso" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] + lineageTag: 6cdf0b71-842d-4cf9-911b-0643277b45ec + queryGroup: Parameters + + annotation PBI_ResultType = Text + +expression '[SQL Schema]' = "dbo" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] + lineageTag: 34b73998-9e7d-4e45-a875-f7b03eb32a12 + queryGroup: Parameters + + annotation PBI_ResultType = Text + +expression [Environment] = "ENVIRONMENT" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] + lineageTag: ddbdd34e-ea2d-4521-81a1-92d945b52582 + +expression [GH-Branch] = "GH-Branch" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] + lineageTag: c1f49751-4367-494f-ba3a-453d86491c05 + +expression [GH-RunId] = "GH-RunId" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] + lineageTag: c02c3091-0fb4-41cc-a04b-ead14a8bcbbe + +expression [GH-SHA] = "GH-SHA" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] + lineageTag: 01f005eb-6bb7-49b7-8d02-bae1593a572d + +expression [PBITOOLS_VERSION] = "PBITOOLS_VERSION" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] + lineageTag: 8d1e5ad7-44b0-4358-b714-74d1ca04d619 + +expression [Version] = "VERSION" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] + lineageTag: b2942f8e-2b73-460e-8ac1-b20e7e31c124 + diff --git a/Contoso Dataset/Model/model.tmdl b/Contoso Dataset/Model/model.tmdl new file mode 100644 index 0000000..b46f8bc --- /dev/null +++ b/Contoso Dataset/Model/model.tmdl @@ -0,0 +1,34 @@ +model Model + culture: en-US + defaultPowerBIDataSourceVersion: PowerBI_V3 + sourceQueryCulture: en-GB + dataAccessOptions: + legacyRedirects + returnErrorValuesAsNull + +queryGroup Parameters + + annotation PBI_QueryGroupOrder = 0 + +annotation __PBI_TimeIntelligenceEnabled = 0 + +annotation PBIDesktopVersion = 2.123.742.0 (23.11) + +annotation PBI_QueryOrder = ["[SQL Server]","[SQL Database]","Currency Exchange","Customers","Date","Products","Sales","Stores","[SQL Schema]","Info","[Environment]","[GH-Branch]","[GH-RunId]","[GH-SHA]","[PBITOOLS_VERSION]","[Version]"] + +ref table 'Currency Exchange' + +ref table Customers + +ref table Date + +ref table Info + +ref table Products + +ref table Sales + +ref table Stores + +ref culture en-US + diff --git a/Contoso Dataset/Model/queries/Currency Exchange.m b/Contoso Dataset/Model/queries/Currency Exchange.m deleted file mode 100644 index 154960b..0000000 --- a/Contoso Dataset/Model/queries/Currency Exchange.m +++ /dev/null @@ -1,5 +0,0 @@ -let - Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), - #"dbo_Currency Exchange" = Source{[Schema=#"[SQL Schema]",Item="Currency Exchange"]}[Data] -in - #"dbo_Currency Exchange" \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/Customers.m b/Contoso Dataset/Model/queries/Customers.m deleted file mode 100644 index e7002b4..0000000 --- a/Contoso Dataset/Model/queries/Customers.m +++ /dev/null @@ -1,5 +0,0 @@ -let - Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), - dbo_Customer = Source{[Schema=#"[SQL Schema]",Item="Customer"]}[Data] -in - dbo_Customer \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/Date.m b/Contoso Dataset/Model/queries/Date.m deleted file mode 100644 index 4d04cba..0000000 --- a/Contoso Dataset/Model/queries/Date.m +++ /dev/null @@ -1,5 +0,0 @@ -let - Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), - dbo_Date = Source{[Schema=#"[SQL Schema]",Item="Date"]}[Data] -in - dbo_Date \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/Info.m b/Contoso Dataset/Model/queries/Info.m deleted file mode 100644 index bc78730..0000000 --- a/Contoso Dataset/Model/queries/Info.m +++ /dev/null @@ -1,19 +0,0 @@ -let - Source = #table(type table - [ - #"Label" = text, - #"Timestamp" = datetime, - #"Text" = text - ], - { - { "Data Updated", DateTimeZone.RemoveZone(DateTimeZone.UtcNow()), null }, - { "Version", null, #"[Version]" }, - { "GitHub SHA", null, #"[GH-SHA]" }, - { "GitHub RunID", null, #"[GH-RunId]" }, - { "Branch", null, #"[GH-Branch]" }, - { "pbi-tools Version", null, #"[PBITOOLS_VERSION]" }, - { "Environment", null, #"[Environment]"} - } -) -in - Source \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/Products.m b/Contoso Dataset/Model/queries/Products.m deleted file mode 100644 index a34dd60..0000000 --- a/Contoso Dataset/Model/queries/Products.m +++ /dev/null @@ -1,5 +0,0 @@ -let - Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), - dbo_Product = Source{[Schema=#"[SQL Schema]",Item="Product"]}[Data] -in - dbo_Product \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/Sales.m b/Contoso Dataset/Model/queries/Sales.m deleted file mode 100644 index 73aea55..0000000 --- a/Contoso Dataset/Model/queries/Sales.m +++ /dev/null @@ -1,5 +0,0 @@ -let - Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), - dbo_Sales = Source{[Schema=#"[SQL Schema]",Item="Sales"]}[Data] -in - dbo_Sales \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/Stores.m b/Contoso Dataset/Model/queries/Stores.m deleted file mode 100644 index ef93b24..0000000 --- a/Contoso Dataset/Model/queries/Stores.m +++ /dev/null @@ -1,5 +0,0 @@ -let - Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), - dbo_Store = Source{[Schema=#"[SQL Schema]",Item="Store"]}[Data] -in - dbo_Store \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/[Environment].m b/Contoso Dataset/Model/queries/[Environment].m deleted file mode 100644 index e7d4a10..0000000 --- a/Contoso Dataset/Model/queries/[Environment].m +++ /dev/null @@ -1 +0,0 @@ -"ENVIRONMENT" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/[GH-Branch].m b/Contoso Dataset/Model/queries/[GH-Branch].m deleted file mode 100644 index 17d5ceb..0000000 --- a/Contoso Dataset/Model/queries/[GH-Branch].m +++ /dev/null @@ -1 +0,0 @@ -"GH-Branch" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/[GH-RunId].m b/Contoso Dataset/Model/queries/[GH-RunId].m deleted file mode 100644 index 8f040ca..0000000 --- a/Contoso Dataset/Model/queries/[GH-RunId].m +++ /dev/null @@ -1 +0,0 @@ -"GH-RunId" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/[GH-SHA].m b/Contoso Dataset/Model/queries/[GH-SHA].m deleted file mode 100644 index 97541f0..0000000 --- a/Contoso Dataset/Model/queries/[GH-SHA].m +++ /dev/null @@ -1 +0,0 @@ -"GH-SHA" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/[PBITOOLS_VERSION].m b/Contoso Dataset/Model/queries/[PBITOOLS_VERSION].m deleted file mode 100644 index 781d96e..0000000 --- a/Contoso Dataset/Model/queries/[PBITOOLS_VERSION].m +++ /dev/null @@ -1 +0,0 @@ -"PBITOOLS_VERSION" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/[SQL Database].m b/Contoso Dataset/Model/queries/[SQL Database].m deleted file mode 100644 index 7241921..0000000 --- a/Contoso Dataset/Model/queries/[SQL Database].m +++ /dev/null @@ -1 +0,0 @@ -"Contoso" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/[SQL Schema].m b/Contoso Dataset/Model/queries/[SQL Schema].m deleted file mode 100644 index fe12f98..0000000 --- a/Contoso Dataset/Model/queries/[SQL Schema].m +++ /dev/null @@ -1 +0,0 @@ -"dbo" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/[SQL Server].m b/Contoso Dataset/Model/queries/[SQL Server].m deleted file mode 100644 index c15b69c..0000000 --- a/Contoso Dataset/Model/queries/[SQL Server].m +++ /dev/null @@ -1 +0,0 @@ -"pbitools-demo-01.database.windows.net" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] \ No newline at end of file diff --git a/Contoso Dataset/Model/queries/[Version].m b/Contoso Dataset/Model/queries/[Version].m deleted file mode 100644 index 94e2b7f..0000000 --- a/Contoso Dataset/Model/queries/[Version].m +++ /dev/null @@ -1 +0,0 @@ -"VERSION" meta [IsParameterQuery=true, Type="Text", IsParameterQueryRequired=true] \ No newline at end of file diff --git a/Contoso Dataset/Model/relationships.tmdl b/Contoso Dataset/Model/relationships.tmdl new file mode 100644 index 0000000..8adf471 --- /dev/null +++ b/Contoso Dataset/Model/relationships.tmdl @@ -0,0 +1,21 @@ +relationship 14e43681-a6e8-436b-849f-96a7486cb486 + fromColumn: Sales.CustomerKey + toColumn: Customers.CustomerKey + +relationship deb457e6-cd40-4a01-b601-f5a05ebafb35 + fromColumn: Sales.ProductKey + toColumn: Products.ProductKey + +relationship 427e149b-8208-4dab-89de-410342bc0886 + fromColumn: Sales.StoreKey + toColumn: Stores.StoreKey + +relationship b878c8e0-8efe-4b89-a14c-2e2841ac94f5 + fromColumn: Sales.'Order Date' + toColumn: Date.Date + +relationship a6fe37d7-7a7d-4c91-870d-d216ec99c74f + isActive: false + fromColumn: Sales.'Delivery Date' + toColumn: Date.Date + diff --git a/Contoso Dataset/Model/tables/Currency Exchange.tmdl b/Contoso Dataset/Model/tables/Currency Exchange.tmdl new file mode 100644 index 0000000..df998d5 --- /dev/null +++ b/Contoso Dataset/Model/tables/Currency Exchange.tmdl @@ -0,0 +1,64 @@ +table 'Currency Exchange' + isHidden + lineageTag: d58d23c3-b31f-451c-8c3e-051b361d1175 + + column Date + dataType: DateTime + isHidden + formatString = Long Date + lineageTag: 920c92ea-01e0-450a-8f29-7b18e3778e66 + summarizeBy: None + sourceColumn: Date + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + annotation UnderlyingDateTimeDataType = Date + + column Exchange + dataType: Double + isHidden + lineageTag: 2821a78d-2a36-43da-a9d4-86e0b4e298d3 + summarizeBy: Sum + sourceColumn: Exchange + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + annotation PBI_FormatHint = {"isGeneralNumber":true} + + column FromCurrency + dataType: String + isHidden + lineageTag: 94329f3e-0907-4b54-932a-083844bcf912 + summarizeBy: None + sourceColumn: FromCurrency + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column ToCurrency + dataType: String + isHidden + lineageTag: d69fc9de-2b49-42f5-948b-87d4f1aede57 + summarizeBy: None + sourceColumn: ToCurrency + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + partition 'Currency Exchange-4e1e6929-107c-46cc-a092-d063b4d0192b' = M + mode: Import + expression = + let + Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), + #"dbo_Currency Exchange" = Source{[Schema=#"[SQL Schema]",Item="Currency Exchange"]}[Data] + in + #"dbo_Currency Exchange" + + changedProperty = IsHidden + diff --git a/Contoso Dataset/Model/tables/Currency Exchange/columns/Date.json b/Contoso Dataset/Model/tables/Currency Exchange/columns/Date.json deleted file mode 100644 index 44479d2..0000000 --- a/Contoso Dataset/Model/tables/Currency Exchange/columns/Date.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "Date", - "dataType": "dateTime", - "isHidden": true, - "sourceColumn": "Date", - "formatString": "Long Date", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "UnderlyingDateTimeDataType", - "value": "Date" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Currency Exchange/columns/Exchange.json b/Contoso Dataset/Model/tables/Currency Exchange/columns/Exchange.json deleted file mode 100644 index 3501e76..0000000 --- a/Contoso Dataset/Model/tables/Currency Exchange/columns/Exchange.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "Exchange", - "dataType": "double", - "isHidden": true, - "sourceColumn": "Exchange", - "summarizeBy": "sum", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_FormatHint", - "value": "{\"isGeneralNumber\":true}" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Currency Exchange/columns/FromCurrency.json b/Contoso Dataset/Model/tables/Currency Exchange/columns/FromCurrency.json deleted file mode 100644 index 446f0ca..0000000 --- a/Contoso Dataset/Model/tables/Currency Exchange/columns/FromCurrency.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "FromCurrency", - "dataType": "string", - "isHidden": true, - "sourceColumn": "FromCurrency", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Currency Exchange/columns/ToCurrency.json b/Contoso Dataset/Model/tables/Currency Exchange/columns/ToCurrency.json deleted file mode 100644 index 5707c54..0000000 --- a/Contoso Dataset/Model/tables/Currency Exchange/columns/ToCurrency.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "ToCurrency", - "dataType": "string", - "isHidden": true, - "sourceColumn": "ToCurrency", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Currency Exchange/table.json b/Contoso Dataset/Model/tables/Currency Exchange/table.json deleted file mode 100644 index 1ea4cbc..0000000 --- a/Contoso Dataset/Model/tables/Currency Exchange/table.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "Currency Exchange", - "isHidden": true, - "partitions": [ - { - "name": "Currency Exchange-4e1e6929-107c-46cc-a092-d063b4d0192b", - "mode": "import", - "source": { - "type": "m" - } - } - ], - "annotations": [ - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers.tmdl b/Contoso Dataset/Model/tables/Customers.tmdl new file mode 100644 index 0000000..65961ee --- /dev/null +++ b/Contoso Dataset/Model/tables/Customers.tmdl @@ -0,0 +1,122 @@ +table Customers + lineageTag: 26abb2f9-033b-4c0c-9554-693aeded182c + + column Address + dataType: String + lineageTag: 1f4a7b80-9095-40b3-aa8a-8ad0a9ede094 + summarizeBy: None + sourceColumn: Address + + annotation SummarizationSetBy = Automatic + + column Age + dataType: Int64 + formatString = 0 + lineageTag: 5f25b5d8-49bd-4419-a937-57f219dd048d + summarizeBy: None + sourceColumn: Age + + annotation SummarizationSetBy = Automatic + + column Birthday + dataType: DateTime + formatString = General Date + lineageTag: 9985ea9d-7be9-471c-8a5f-31fc9778ebc3 + summarizeBy: None + sourceColumn: Birthday + + annotation SummarizationSetBy = Automatic + + column City + dataType: String + lineageTag: 3b7afc9a-03de-4b1d-9536-70685796f3ec + summarizeBy: None + sourceColumn: City + + annotation SummarizationSetBy = Automatic + + column Continent + dataType: String + lineageTag: 8fd0e5ad-cb39-43f0-aa9e-d024644e0cd9 + summarizeBy: None + sourceColumn: Continent + + annotation SummarizationSetBy = Automatic + + column 'Country Code' + dataType: String + lineageTag: afd5e4e8-0146-40eb-9657-305585c18606 + summarizeBy: None + sourceColumn: Country Code + + annotation SummarizationSetBy = Automatic + + column Country + dataType: String + lineageTag: 351ced4f-4bb0-481b-9186-c9cd928689f6 + summarizeBy: None + sourceColumn: Country + + annotation SummarizationSetBy = Automatic + + column CustomerKey + dataType: Int64 + isHidden + formatString = 0 + lineageTag: 024df1b9-619c-474e-b835-325aa92047cd + summarizeBy: None + sourceColumn: CustomerKey + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column Gender + dataType: String + lineageTag: 810f6ce2-2c5d-43ad-990b-3f38ddfab122 + summarizeBy: None + sourceColumn: Gender + + annotation SummarizationSetBy = Automatic + + column Name + dataType: String + lineageTag: 9c582fb7-6041-4768-b190-a6994894a84b + summarizeBy: None + sourceColumn: Name + + annotation SummarizationSetBy = Automatic + + column 'State Code' + dataType: String + lineageTag: edff3fee-ca29-47d0-ba2c-22f7e82846c7 + summarizeBy: None + sourceColumn: State Code + + annotation SummarizationSetBy = Automatic + + column State + dataType: String + lineageTag: 042b0529-b1de-45b0-b67c-5887c640d09a + summarizeBy: None + sourceColumn: State + + annotation SummarizationSetBy = Automatic + + column 'Zip Code' + dataType: String + lineageTag: 2b15b4f1-466c-441f-9d43-2c2415b10934 + summarizeBy: None + sourceColumn: Zip Code + + annotation SummarizationSetBy = Automatic + + partition Customers-cb73ef19-f37f-477d-88a3-93c99bf41d7c = M + mode: Import + expression = + let + Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), + dbo_Customer = Source{[Schema=#"[SQL Schema]",Item="Customer"]}[Data] + in + dbo_Customer + diff --git a/Contoso Dataset/Model/tables/Customers/columns/Address.json b/Contoso Dataset/Model/tables/Customers/columns/Address.json deleted file mode 100644 index c52d56e..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/Address.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Address", - "dataType": "string", - "sourceColumn": "Address", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/Age.json b/Contoso Dataset/Model/tables/Customers/columns/Age.json deleted file mode 100644 index d342917..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/Age.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Age", - "dataType": "int64", - "sourceColumn": "Age", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/Birthday.json b/Contoso Dataset/Model/tables/Customers/columns/Birthday.json deleted file mode 100644 index bcea09a..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/Birthday.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Birthday", - "dataType": "dateTime", - "sourceColumn": "Birthday", - "formatString": "General Date", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/City.json b/Contoso Dataset/Model/tables/Customers/columns/City.json deleted file mode 100644 index b206ca4..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/City.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "City", - "dataType": "string", - "sourceColumn": "City", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/Continent.json b/Contoso Dataset/Model/tables/Customers/columns/Continent.json deleted file mode 100644 index 5dac186..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/Continent.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Continent", - "dataType": "string", - "sourceColumn": "Continent", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/Country Code.json b/Contoso Dataset/Model/tables/Customers/columns/Country Code.json deleted file mode 100644 index d281466..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/Country Code.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Country Code", - "dataType": "string", - "sourceColumn": "Country Code", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/Country.json b/Contoso Dataset/Model/tables/Customers/columns/Country.json deleted file mode 100644 index c81529c..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/Country.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Country", - "dataType": "string", - "sourceColumn": "Country", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/CustomerKey.json b/Contoso Dataset/Model/tables/Customers/columns/CustomerKey.json deleted file mode 100644 index 5c761a1..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/CustomerKey.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "CustomerKey", - "dataType": "int64", - "isHidden": true, - "sourceColumn": "CustomerKey", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/Gender.json b/Contoso Dataset/Model/tables/Customers/columns/Gender.json deleted file mode 100644 index 95dfe67..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/Gender.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Gender", - "dataType": "string", - "sourceColumn": "Gender", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/Name.json b/Contoso Dataset/Model/tables/Customers/columns/Name.json deleted file mode 100644 index 081ba43..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/Name.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Name", - "dataType": "string", - "sourceColumn": "Name", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/State Code.json b/Contoso Dataset/Model/tables/Customers/columns/State Code.json deleted file mode 100644 index 0a97d42..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/State Code.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "State Code", - "dataType": "string", - "sourceColumn": "State Code", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/State.json b/Contoso Dataset/Model/tables/Customers/columns/State.json deleted file mode 100644 index 6407943..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/State.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "State", - "dataType": "string", - "sourceColumn": "State", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/columns/Zip Code.json b/Contoso Dataset/Model/tables/Customers/columns/Zip Code.json deleted file mode 100644 index 0cf2144..0000000 --- a/Contoso Dataset/Model/tables/Customers/columns/Zip Code.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Zip Code", - "dataType": "string", - "sourceColumn": "Zip Code", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Customers/table.json b/Contoso Dataset/Model/tables/Customers/table.json deleted file mode 100644 index b90271d..0000000 --- a/Contoso Dataset/Model/tables/Customers/table.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Customers", - "partitions": [ - { - "name": "Customers-cb73ef19-f37f-477d-88a3-93c99bf41d7c", - "mode": "import", - "source": { - "type": "m" - } - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date.tmdl b/Contoso Dataset/Model/tables/Date.tmdl new file mode 100644 index 0000000..8eaab58 --- /dev/null +++ b/Contoso Dataset/Model/tables/Date.tmdl @@ -0,0 +1,152 @@ +table Date + lineageTag: b652a1bf-fdb7-4ad3-8777-296d363917f1 + dataCategory: Time + + column Date + dataType: DateTime + isKey + formatString = Long Date + lineageTag: 22f23f73-1e41-484a-9029-380bbeb66ca1 + summarizeBy: None + sourceColumn: Date + + annotation SummarizationSetBy = Automatic + + annotation UnderlyingDateTimeDataType = Date + + column 'Day of Week Number' + dataType: Int64 + formatString = 0 + lineageTag: 8898b389-8e25-4c5b-bae5-35887bb038cc + summarizeBy: None + sourceColumn: Day of Week Number + + annotation SummarizationSetBy = Automatic + + column 'Day of Week Short' + dataType: String + lineageTag: e46b6891-e9bb-4251-9f6a-215bf68a2327 + summarizeBy: None + sourceColumn: Day of Week Short + + annotation SummarizationSetBy = Automatic + + column 'Day of Week' + dataType: String + lineageTag: affe2a50-70cf-4250-b67f-95b103ea92fa + summarizeBy: None + sourceColumn: Day of Week + + annotation SummarizationSetBy = Automatic + + column 'Month Number' + dataType: Int64 + formatString = 0 + lineageTag: 950b162b-3b5f-4844-b16c-3dce72536dc7 + summarizeBy: None + sourceColumn: Month Number + + annotation SummarizationSetBy = Automatic + + column 'Month Short' + dataType: String + lineageTag: e006743b-56a1-4a16-9ee8-853358bbf892 + summarizeBy: None + sourceColumn: Month Short + + annotation SummarizationSetBy = Automatic + + column Month + dataType: String + lineageTag: adf3c168-b71e-4448-8f25-b9393c079cc1 + summarizeBy: None + sourceColumn: Month + + annotation SummarizationSetBy = Automatic + + column Quarter + dataType: String + lineageTag: 5da3f341-3ff4-4b53-a6b7-c708d938a235 + summarizeBy: None + sourceColumn: Quarter + + annotation SummarizationSetBy = Automatic + + column 'Working Day Number' + dataType: Int64 + formatString = 0 + lineageTag: 6e6e6e18-0575-42ff-89f0-aeab712401d1 + summarizeBy: None + sourceColumn: Working Day Number + + annotation SummarizationSetBy = Automatic + + column 'Working Day' + dataType: Boolean + formatString = "TRUE";"TRUE";"FALSE" + lineageTag: 278529cc-9f47-41c7-9c64-1853b445b6f0 + summarizeBy: None + sourceColumn: Working Day + + annotation SummarizationSetBy = Automatic + + column 'Year Month Number' + dataType: Int64 + formatString = 0 + lineageTag: 3ce74208-479f-4d43-af2b-4d648306e7cc + summarizeBy: None + sourceColumn: Year Month Number + + annotation SummarizationSetBy = Automatic + + column 'Year Month Short' + dataType: String + lineageTag: c1441e20-87b7-475f-9df2-f6ed08ccccf2 + summarizeBy: None + sourceColumn: Year Month Short + + annotation SummarizationSetBy = Automatic + + column 'Year Month' + dataType: String + lineageTag: 05689a91-f508-42f2-83a1-61a2c13ab6e6 + summarizeBy: None + sourceColumn: Year Month + + annotation SummarizationSetBy = Automatic + + column 'Year Quarter Number' + dataType: Int64 + formatString = 0 + lineageTag: 316a0af4-287f-4ac9-83c8-c8e13b9f9484 + summarizeBy: None + sourceColumn: Year Quarter Number + + annotation SummarizationSetBy = Automatic + + column 'Year Quarter' + dataType: String + lineageTag: 0793dc18-d2d8-4d45-8d33-e46594acc447 + summarizeBy: None + sourceColumn: Year Quarter + + annotation SummarizationSetBy = Automatic + + column Year + dataType: Int64 + formatString = 0 + lineageTag: d70ce06f-9cc0-4b2e-813d-70d8d48d608b + summarizeBy: None + sourceColumn: Year + + annotation SummarizationSetBy = Automatic + + partition Date-2e0b0d3f-f820-4d2d-b615-0616195a29f7 = M + mode: Import + expression = + let + Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), + dbo_Date = Source{[Schema=#"[SQL Schema]",Item="Date"]}[Data] + in + dbo_Date + diff --git a/Contoso Dataset/Model/tables/Date/columns/Date.json b/Contoso Dataset/Model/tables/Date/columns/Date.json deleted file mode 100644 index 907feda..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Date.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "Date", - "dataType": "dateTime", - "isKey": true, - "sourceColumn": "Date", - "formatString": "Long Date", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "UnderlyingDateTimeDataType", - "value": "Date" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Day of Week Number.json b/Contoso Dataset/Model/tables/Date/columns/Day of Week Number.json deleted file mode 100644 index c873bd4..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Day of Week Number.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Day of Week Number", - "dataType": "int64", - "sourceColumn": "Day of Week Number", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Day of Week Short.json b/Contoso Dataset/Model/tables/Date/columns/Day of Week Short.json deleted file mode 100644 index 04ce189..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Day of Week Short.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Day of Week Short", - "dataType": "string", - "sourceColumn": "Day of Week Short", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Day of Week.json b/Contoso Dataset/Model/tables/Date/columns/Day of Week.json deleted file mode 100644 index f236429..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Day of Week.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Day of Week", - "dataType": "string", - "sourceColumn": "Day of Week", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Month Number.json b/Contoso Dataset/Model/tables/Date/columns/Month Number.json deleted file mode 100644 index 4fff96c..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Month Number.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Month Number", - "dataType": "int64", - "sourceColumn": "Month Number", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Month Short.json b/Contoso Dataset/Model/tables/Date/columns/Month Short.json deleted file mode 100644 index bf6719e..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Month Short.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Month Short", - "dataType": "string", - "sourceColumn": "Month Short", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Month.json b/Contoso Dataset/Model/tables/Date/columns/Month.json deleted file mode 100644 index e0bb908..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Month.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Month", - "dataType": "string", - "sourceColumn": "Month", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Quarter.json b/Contoso Dataset/Model/tables/Date/columns/Quarter.json deleted file mode 100644 index fbdae06..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Quarter.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Quarter", - "dataType": "string", - "sourceColumn": "Quarter", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Working Day Number.json b/Contoso Dataset/Model/tables/Date/columns/Working Day Number.json deleted file mode 100644 index 7ddcb64..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Working Day Number.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Working Day Number", - "dataType": "int64", - "sourceColumn": "Working Day Number", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Working Day.json b/Contoso Dataset/Model/tables/Date/columns/Working Day.json deleted file mode 100644 index e772def..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Working Day.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Working Day", - "dataType": "boolean", - "sourceColumn": "Working Day", - "formatString": "\"TRUE\";\"TRUE\";\"FALSE\"", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Year Month Number.json b/Contoso Dataset/Model/tables/Date/columns/Year Month Number.json deleted file mode 100644 index c012b2d..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Year Month Number.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Year Month Number", - "dataType": "int64", - "sourceColumn": "Year Month Number", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Year Month Short.json b/Contoso Dataset/Model/tables/Date/columns/Year Month Short.json deleted file mode 100644 index cb5b3c4..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Year Month Short.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Year Month Short", - "dataType": "string", - "sourceColumn": "Year Month Short", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Year Month.json b/Contoso Dataset/Model/tables/Date/columns/Year Month.json deleted file mode 100644 index 6b40dbb..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Year Month.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Year Month", - "dataType": "string", - "sourceColumn": "Year Month", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Year Quarter Number.json b/Contoso Dataset/Model/tables/Date/columns/Year Quarter Number.json deleted file mode 100644 index 50b3c39..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Year Quarter Number.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Year Quarter Number", - "dataType": "int64", - "sourceColumn": "Year Quarter Number", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Year Quarter.json b/Contoso Dataset/Model/tables/Date/columns/Year Quarter.json deleted file mode 100644 index d2b1a9a..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Year Quarter.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Year Quarter", - "dataType": "string", - "sourceColumn": "Year Quarter", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/columns/Year.json b/Contoso Dataset/Model/tables/Date/columns/Year.json deleted file mode 100644 index da9307f..0000000 --- a/Contoso Dataset/Model/tables/Date/columns/Year.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Year", - "dataType": "int64", - "sourceColumn": "Year", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Date/table.json b/Contoso Dataset/Model/tables/Date/table.json deleted file mode 100644 index f8ae788..0000000 --- a/Contoso Dataset/Model/tables/Date/table.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Date", - "dataCategory": "Time", - "partitions": [ - { - "name": "Date-2e0b0d3f-f820-4d2d-b615-0616195a29f7", - "mode": "import", - "source": { - "type": "m" - } - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info.tmdl b/Contoso Dataset/Model/tables/Info.tmdl new file mode 100644 index 0000000..445d956 --- /dev/null +++ b/Contoso Dataset/Model/tables/Info.tmdl @@ -0,0 +1,93 @@ +table Info + lineageTag: 70da6bba-5162-4cb4-8a19-07dcea31c08b + + measure Branch = LOOKUPVALUE(Info[Text], Info[Label], "Branch") + lineageTag: 75e02801-e1b3-4efe-bfc4-8f733610a25a + + annotation PBI_FormatHint = {"isGeneralNumber":true} + + measure 'Data Updated (UTC)' = LOOKUPVALUE(Info[Timestamp], Info[Label], "Data Updated") + formatString = dd-mmm-yyyy hh:mm + lineageTag: 1e52c787-aca7-4b79-9ccb-a5f8d08010ec + + changedProperty = FormatString + + annotation PBI_FormatHint = {"isCustom":true} + + measure 'Dataset Version' = LOOKUPVALUE(Info[Text], Info[Label], "Version") + lineageTag: 9500d2d6-8c84-4e32-9a78-c3a622e6506a + + annotation PBI_FormatHint = {"isGeneralNumber":true} + + measure Environment = LOOKUPVALUE(Info[Text], Info[Label], "Environment") + lineageTag: 50de8ef9-460d-4798-aa8f-4fdf1ff46936 + + annotation PBI_FormatHint = {"isGeneralNumber":true} + + measure 'GitHub RunID' = LOOKUPVALUE(Info[Text], Info[Label], "GitHub RunID") + lineageTag: 39823704-6984-4576-a9cd-bfdeca91437b + + annotation PBI_FormatHint = {"isGeneralNumber":true} + + measure 'GitHub SHA' = LOOKUPVALUE(Info[Text], Info[Label], "GitHub SHA") + lineageTag: 8d2d56be-f836-4c7a-81f8-fbf15bdd37fc + + annotation PBI_FormatHint = {"isGeneralNumber":true} + + column Label + dataType: String + isHidden + lineageTag: 3a50d991-bb75-4bc8-9934-84346b13458e + summarizeBy: None + sourceColumn: Label + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column Text + dataType: String + isHidden + lineageTag: 5269cbfa-1657-4bf2-8cb7-7ea0ad16acfc + summarizeBy: None + sourceColumn: Text + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column Timestamp + dataType: DateTime + isHidden + formatString = General Date + lineageTag: 5b61c35f-7d39-49b9-8e5f-cd004908cb20 + summarizeBy: None + sourceColumn: Timestamp + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + partition Info-f44d74ec-0372-4982-8ace-63656474683c = M + mode: Import + expression = + let + Source = #table(type table + [ + #"Label" = text, + #"Timestamp" = datetime, + #"Text" = text + ], + { + { "Data Updated", DateTimeZone.RemoveZone(DateTimeZone.UtcNow()), null }, + { "Version", null, #"[Version]" }, + { "GitHub SHA", null, #"[GH-SHA]" }, + { "GitHub RunID", null, #"[GH-RunId]" }, + { "Branch", null, #"[GH-Branch]" }, + { "pbi-tools Version", null, #"[PBITOOLS_VERSION]" }, + { "Environment", null, #"[Environment]"} + } + ) + in + Source + diff --git a/Contoso Dataset/Model/tables/Info/columns/Label.json b/Contoso Dataset/Model/tables/Info/columns/Label.json deleted file mode 100644 index de24183..0000000 --- a/Contoso Dataset/Model/tables/Info/columns/Label.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Label", - "dataType": "string", - "isHidden": true, - "sourceColumn": "Label", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/columns/Text.json b/Contoso Dataset/Model/tables/Info/columns/Text.json deleted file mode 100644 index 3b1bfab..0000000 --- a/Contoso Dataset/Model/tables/Info/columns/Text.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Text", - "dataType": "string", - "isHidden": true, - "sourceColumn": "Text", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/columns/Timestamp.json b/Contoso Dataset/Model/tables/Info/columns/Timestamp.json deleted file mode 100644 index 97a8a75..0000000 --- a/Contoso Dataset/Model/tables/Info/columns/Timestamp.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "Timestamp", - "dataType": "dateTime", - "isHidden": true, - "sourceColumn": "Timestamp", - "formatString": "General Date", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/Branch.dax b/Contoso Dataset/Model/tables/Info/measures/Branch.dax deleted file mode 100644 index e7c5afd..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/Branch.dax +++ /dev/null @@ -1 +0,0 @@ -LOOKUPVALUE(Info[Text], Info[Label], "Branch") \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/Branch.json b/Contoso Dataset/Model/tables/Info/measures/Branch.json deleted file mode 100644 index 036c5de..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/Branch.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "Branch", - "annotations": [ - { - "name": "PBI_FormatHint", - "value": "{\"isGeneralNumber\":true}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/Data Updated (UTC).dax b/Contoso Dataset/Model/tables/Info/measures/Data Updated (UTC).dax deleted file mode 100644 index f7b3492..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/Data Updated (UTC).dax +++ /dev/null @@ -1 +0,0 @@ -LOOKUPVALUE(Info[Timestamp], Info[Label], "Data Updated") \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/Data Updated (UTC).json b/Contoso Dataset/Model/tables/Info/measures/Data Updated (UTC).json deleted file mode 100644 index 3bae672..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/Data Updated (UTC).json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "Data Updated (UTC)", - "formatString": "dd-mmm-yyyy hh:mm", - "annotations": [ - { - "name": "PBI_ChangedProperties", - "value": "[\"FormatString\"]" - }, - { - "name": "PBI_FormatHint", - "value": "{\"isCustom\":true}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/Dataset Version.dax b/Contoso Dataset/Model/tables/Info/measures/Dataset Version.dax deleted file mode 100644 index fee2691..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/Dataset Version.dax +++ /dev/null @@ -1 +0,0 @@ -LOOKUPVALUE(Info[Text], Info[Label], "Version") \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/Dataset Version.json b/Contoso Dataset/Model/tables/Info/measures/Dataset Version.json deleted file mode 100644 index 7759d27..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/Dataset Version.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "Dataset Version", - "annotations": [ - { - "name": "PBI_FormatHint", - "value": "{\"isGeneralNumber\":true}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/Environment.dax b/Contoso Dataset/Model/tables/Info/measures/Environment.dax deleted file mode 100644 index 77e9bef..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/Environment.dax +++ /dev/null @@ -1 +0,0 @@ -LOOKUPVALUE(Info[Text], Info[Label], "Environment") \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/Environment.json b/Contoso Dataset/Model/tables/Info/measures/Environment.json deleted file mode 100644 index 952ac4f..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/Environment.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "Environment", - "annotations": [ - { - "name": "PBI_FormatHint", - "value": "{\"isGeneralNumber\":true}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/GitHub RunID.dax b/Contoso Dataset/Model/tables/Info/measures/GitHub RunID.dax deleted file mode 100644 index 7a11d7e..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/GitHub RunID.dax +++ /dev/null @@ -1 +0,0 @@ -LOOKUPVALUE(Info[Text], Info[Label], "GitHub RunID") \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/GitHub RunID.json b/Contoso Dataset/Model/tables/Info/measures/GitHub RunID.json deleted file mode 100644 index 735eb24..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/GitHub RunID.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "GitHub RunID", - "annotations": [ - { - "name": "PBI_FormatHint", - "value": "{\"isGeneralNumber\":true}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/GitHub SHA.dax b/Contoso Dataset/Model/tables/Info/measures/GitHub SHA.dax deleted file mode 100644 index 3032d85..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/GitHub SHA.dax +++ /dev/null @@ -1 +0,0 @@ -LOOKUPVALUE(Info[Text], Info[Label], "GitHub SHA") \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/measures/GitHub SHA.json b/Contoso Dataset/Model/tables/Info/measures/GitHub SHA.json deleted file mode 100644 index bb43835..0000000 --- a/Contoso Dataset/Model/tables/Info/measures/GitHub SHA.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "GitHub SHA", - "annotations": [ - { - "name": "PBI_FormatHint", - "value": "{\"isGeneralNumber\":true}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Info/table.json b/Contoso Dataset/Model/tables/Info/table.json deleted file mode 100644 index 0d9a064..0000000 --- a/Contoso Dataset/Model/tables/Info/table.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Info", - "partitions": [ - { - "name": "Info-f44d74ec-0372-4982-8ace-63656474683c", - "mode": "import", - "source": { - "type": "m" - } - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products.tmdl b/Contoso Dataset/Model/tables/Products.tmdl new file mode 100644 index 0000000..cb3686b --- /dev/null +++ b/Contoso Dataset/Model/tables/Products.tmdl @@ -0,0 +1,159 @@ +table Products + lineageTag: 6ec0743b-ef7f-4d8f-add9-8cc9e3b3df7e + + column Brand + dataType: String + lineageTag: eca2dede-c34d-4b33-b4e7-ecff2a0e9db0 + summarizeBy: None + sourceColumn: Brand + + annotation SummarizationSetBy = Automatic + + column 'Category Code' + dataType: String + isHidden + lineageTag: 564e268f-dcca-48bb-bb77-e39885ca10be + summarizeBy: None + sourceColumn: Category Code + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column Category + dataType: String + lineageTag: ed38fa5a-41a5-451e-b14f-3e1519a8808a + summarizeBy: None + sourceColumn: Category + sortByColumn: 'Category Code' + + changedProperty = SortByColumn + + annotation SummarizationSetBy = Automatic + + column Color + dataType: String + lineageTag: 2b4d61a5-2885-456f-a409-f6e104224c14 + summarizeBy: None + sourceColumn: Color + + annotation SummarizationSetBy = Automatic + + column Manufacturer + dataType: String + lineageTag: b5ddce68-442e-41a4-9f84-cc97b42a0a4d + summarizeBy: None + sourceColumn: Manufacturer + + annotation SummarizationSetBy = Automatic + + column 'Product Code' + dataType: String + lineageTag: 3e558a17-c78b-45d4-83c3-92131651b723 + summarizeBy: None + sourceColumn: Product Code + + annotation SummarizationSetBy = Automatic + + column 'Product Name' + dataType: String + lineageTag: e1a17df4-7694-4f58-8ca9-b9be664b0457 + summarizeBy: None + sourceColumn: Product Name + + annotation SummarizationSetBy = Automatic + + column ProductKey + dataType: Int64 + isHidden + formatString = 0 + lineageTag: bbd14333-d6d2-4b1b-a075-ce088a800a40 + summarizeBy: None + sourceColumn: ProductKey + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column 'Subcategory Code' + dataType: String + isHidden + lineageTag: fb0ba11f-98b0-4e12-8da0-32c3c083d96c + summarizeBy: None + sourceColumn: Subcategory Code + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column Subcategory + dataType: String + lineageTag: 5ffe6bed-4cd7-4477-8aee-9e9d2fa1e486 + summarizeBy: None + sourceColumn: Subcategory + sortByColumn: 'Subcategory Code' + + changedProperty = SortByColumn + + annotation SummarizationSetBy = Automatic + + column 'Unit Cost' + dataType: Decimal + formatString = "£"#,0.###############;-"£"#,0.###############;"£"#,0.############### + lineageTag: b0e10fe6-3823-41f7-8229-a8873b72bca8 + summarizeBy: None + sourceColumn: Unit Cost + + annotation SummarizationSetBy = Automatic + + annotation PBI_FormatHint = {"currencyCulture":"en-GB"} + + column 'Unit Price' + dataType: Decimal + formatString = "£"#,0.###############;-"£"#,0.###############;"£"#,0.############### + lineageTag: 6278c36e-4881-4dd8-92bb-92c5c0741efe + summarizeBy: None + sourceColumn: Unit Price + + annotation SummarizationSetBy = Automatic + + annotation PBI_FormatHint = {"currencyCulture":"en-GB"} + + column 'Weight Unit Measure' + dataType: String + lineageTag: 410d2a61-3d73-4422-aa1b-aa68743629f3 + summarizeBy: None + sourceColumn: Weight Unit Measure + + annotation SummarizationSetBy = Automatic + + column Weight + dataType: Double + lineageTag: 18d5b148-0bff-4e36-ba1d-4e9f502391a1 + summarizeBy: None + sourceColumn: Weight + + annotation SummarizationSetBy = Automatic + + annotation PBI_FormatHint = {"isGeneralNumber":true} + + hierarchy 'Products Hierarchy' + lineageTag: 6888e3c5-12a9-48a6-8f16-08ba9e69c77a + + level Category + lineageTag: e1fbf815-b0ed-466a-a00b-a07b3416c5a3 + column: Category + + level Subcategory + lineageTag: 77ad5e0d-b0b3-4d94-b86a-4bbcb56be031 + column: Subcategory + + partition Products-b63b410f-9ddb-4a3a-bbcb-996ab12ce58c = M + mode: Import + expression = + let + Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), + dbo_Product = Source{[Schema=#"[SQL Schema]",Item="Product"]}[Data] + in + dbo_Product + diff --git a/Contoso Dataset/Model/tables/Products/columns/Brand.json b/Contoso Dataset/Model/tables/Products/columns/Brand.json deleted file mode 100644 index e213f94..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Brand.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Brand", - "dataType": "string", - "sourceColumn": "Brand", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Category Code.json b/Contoso Dataset/Model/tables/Products/columns/Category Code.json deleted file mode 100644 index a7aac5c..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Category Code.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Category Code", - "dataType": "string", - "isHidden": true, - "sourceColumn": "Category Code", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Category.json b/Contoso Dataset/Model/tables/Products/columns/Category.json deleted file mode 100644 index a440bfb..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Category.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Category", - "dataType": "string", - "sourceColumn": "Category", - "sortByColumn": "Category Code", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"SortByColumn\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Color.json b/Contoso Dataset/Model/tables/Products/columns/Color.json deleted file mode 100644 index 0085c0a..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Color.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Color", - "dataType": "string", - "sourceColumn": "Color", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Manufacturer.json b/Contoso Dataset/Model/tables/Products/columns/Manufacturer.json deleted file mode 100644 index 9311079..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Manufacturer.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Manufacturer", - "dataType": "string", - "sourceColumn": "Manufacturer", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Product Code.json b/Contoso Dataset/Model/tables/Products/columns/Product Code.json deleted file mode 100644 index c1b7cd2..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Product Code.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Product Code", - "dataType": "string", - "sourceColumn": "Product Code", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Product Name.json b/Contoso Dataset/Model/tables/Products/columns/Product Name.json deleted file mode 100644 index 7b67d60..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Product Name.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Product Name", - "dataType": "string", - "sourceColumn": "Product Name", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/ProductKey.json b/Contoso Dataset/Model/tables/Products/columns/ProductKey.json deleted file mode 100644 index e923d9a..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/ProductKey.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "ProductKey", - "dataType": "int64", - "isHidden": true, - "sourceColumn": "ProductKey", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Subcategory Code.json b/Contoso Dataset/Model/tables/Products/columns/Subcategory Code.json deleted file mode 100644 index 9b06dca..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Subcategory Code.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Subcategory Code", - "dataType": "string", - "isHidden": true, - "sourceColumn": "Subcategory Code", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Subcategory.json b/Contoso Dataset/Model/tables/Products/columns/Subcategory.json deleted file mode 100644 index 2e93848..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Subcategory.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Subcategory", - "dataType": "string", - "sourceColumn": "Subcategory", - "sortByColumn": "Subcategory Code", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"SortByColumn\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Unit Cost.json b/Contoso Dataset/Model/tables/Products/columns/Unit Cost.json deleted file mode 100644 index 7078bd1..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Unit Cost.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Unit Cost", - "dataType": "decimal", - "sourceColumn": "Unit Cost", - "formatString": "\"£\"#,0.###############;-\"£\"#,0.###############;\"£\"#,0.###############", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_FormatHint", - "value": "{\"currencyCulture\":\"en-GB\"}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Unit Price.json b/Contoso Dataset/Model/tables/Products/columns/Unit Price.json deleted file mode 100644 index 0cf19f4..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Unit Price.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Unit Price", - "dataType": "decimal", - "sourceColumn": "Unit Price", - "formatString": "\"£\"#,0.###############;-\"£\"#,0.###############;\"£\"#,0.###############", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_FormatHint", - "value": "{\"currencyCulture\":\"en-GB\"}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Weight Unit Measure.json b/Contoso Dataset/Model/tables/Products/columns/Weight Unit Measure.json deleted file mode 100644 index 20a152c..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Weight Unit Measure.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Weight Unit Measure", - "dataType": "string", - "sourceColumn": "Weight Unit Measure", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/columns/Weight.json b/Contoso Dataset/Model/tables/Products/columns/Weight.json deleted file mode 100644 index 4c6ea76..0000000 --- a/Contoso Dataset/Model/tables/Products/columns/Weight.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Weight", - "dataType": "double", - "sourceColumn": "Weight", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_FormatHint", - "value": "{\"isGeneralNumber\":true}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/hierarchies/Products Hierarchy.json b/Contoso Dataset/Model/tables/Products/hierarchies/Products Hierarchy.json deleted file mode 100644 index 5734cf8..0000000 --- a/Contoso Dataset/Model/tables/Products/hierarchies/Products Hierarchy.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "Products Hierarchy", - "levels": [ - { - "name": "Category", - "ordinal": 0, - "column": "Category" - }, - { - "name": "Subcategory", - "ordinal": 1, - "column": "Subcategory" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Products/table.json b/Contoso Dataset/Model/tables/Products/table.json deleted file mode 100644 index 43df120..0000000 --- a/Contoso Dataset/Model/tables/Products/table.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Products", - "partitions": [ - { - "name": "Products-b63b410f-9ddb-4a3a-bbcb-996ab12ce58c", - "mode": "import", - "source": { - "type": "m" - } - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales.tmdl b/Contoso Dataset/Model/tables/Sales.tmdl new file mode 100644 index 0000000..23faf15 --- /dev/null +++ b/Contoso Dataset/Model/tables/Sales.tmdl @@ -0,0 +1,176 @@ +table Sales + lineageTag: 2edce7d4-e330-4124-9b9d-54592a21cbc5 + + measure Margin = [Sales Amount] - [Total Cost] + formatString = "$"#,0 + lineageTag: a1fb57c8-2e4f-46e0-b852-52bbfa36c27a + + changedProperty = FormatString + + annotation PBI_FormatHint = {"isCustom":true} + + measure 'Sales Amount' = SUMX ( Sales, Sales[Quantity] * Sales[Net Price] ) + formatString = "$"#,0 + lineageTag: 2023421f-a179-4b4a-aa5c-f734b161a609 + + changedProperty = FormatString + + annotation PBI_FormatHint = {"isCustom":true} + + measure 'Sales Quantity' = SUM ( Sales[Quantity] ) + formatString = #,##0 + lineageTag: 32eff209-b170-48e0-854d-e7a37f25af6f + + measure 'Total Cost' = SUMX ( Sales, Sales[Quantity] * Sales[Unit Cost] ) + formatString = "$"#,0 + lineageTag: 1ac161f4-1701-49a6-aa84-6e4929e8c515 + + changedProperty = FormatString + + annotation PBI_FormatHint = {"isCustom":true} + + column 'Currency Code' + dataType: String + lineageTag: d94d5f21-5c27-4fd7-840e-bb5c9e0a46c1 + summarizeBy: None + sourceColumn: Currency Code + + annotation SummarizationSetBy = Automatic + + column CustomerKey + dataType: Int64 + isHidden + formatString = 0 + lineageTag: 30953699-9f4f-488e-9777-66bb37551a51 + summarizeBy: None + sourceColumn: CustomerKey + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column 'Delivery Date' + dataType: DateTime + formatString = Long Date + lineageTag: 5b05ceab-5d84-4562-b9cc-8be882ee339e + summarizeBy: None + sourceColumn: Delivery Date + + annotation SummarizationSetBy = Automatic + + annotation UnderlyingDateTimeDataType = Date + + column 'Exchange Rate' + dataType: Double + lineageTag: 47bbf1e8-1bc9-4111-9f87-98f1226ffd50 + summarizeBy: None + sourceColumn: Exchange Rate + + annotation SummarizationSetBy = User + + annotation PBI_FormatHint = {"isGeneralNumber":true} + + column 'Line Number' + dataType: Int64 + formatString = 0 + lineageTag: d9cf9358-307e-40f8-82c9-b9fa0e029630 + summarizeBy: None + sourceColumn: Line Number + + annotation SummarizationSetBy = User + + column 'Net Price' + dataType: Decimal + formatString = "£"#,0.###############;-"£"#,0.###############;"£"#,0.############### + lineageTag: 21b7198c-3652-47a1-bbb2-80f7dea1abf0 + summarizeBy: None + sourceColumn: Net Price + + annotation SummarizationSetBy = User + + annotation PBI_FormatHint = {"currencyCulture":"en-GB"} + + column 'Order Date' + dataType: DateTime + formatString = Long Date + lineageTag: e8cff61a-d089-40bf-9268-126aaf8ede74 + summarizeBy: None + sourceColumn: Order Date + + annotation SummarizationSetBy = Automatic + + annotation UnderlyingDateTimeDataType = Date + + column 'Order Number' + dataType: Int64 + formatString = 0 + lineageTag: e51f849b-11c0-4765-88e8-b2ee3d1fcd93 + summarizeBy: None + sourceColumn: Order Number + + annotation SummarizationSetBy = User + + column ProductKey + dataType: Int64 + isHidden + formatString = 0 + lineageTag: ce79ec24-b5c1-420c-bb36-30614dc7f92f + summarizeBy: None + sourceColumn: ProductKey + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column Quantity + dataType: Int64 + formatString = 0 + lineageTag: 00e95d09-b58a-4459-be63-878e4f85ec05 + summarizeBy: None + sourceColumn: Quantity + + annotation SummarizationSetBy = User + + column StoreKey + dataType: Int64 + isHidden + formatString = 0 + lineageTag: 512c74c5-36a1-4aa0-bf10-ca6981064ae9 + summarizeBy: None + sourceColumn: StoreKey + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + column 'Unit Cost' + dataType: Decimal + formatString = "£"#,0.###############;-"£"#,0.###############;"£"#,0.############### + lineageTag: b901d1e5-b8c3-425a-8deb-a51ca55defff + summarizeBy: None + sourceColumn: Unit Cost + + annotation SummarizationSetBy = User + + annotation PBI_FormatHint = {"currencyCulture":"en-GB"} + + column 'Unit Price' + dataType: Decimal + formatString = "£"#,0.###############;-"£"#,0.###############;"£"#,0.############### + lineageTag: 662d789f-13ca-4af3-85cc-1339977ff423 + summarizeBy: None + sourceColumn: Unit Price + + annotation SummarizationSetBy = User + + annotation PBI_FormatHint = {"currencyCulture":"en-GB"} + + partition Sales-32897230-38d7-4a64-83fc-96d2d960fbfc = M + mode: Import + expression = + let + Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), + dbo_Sales = Source{[Schema=#"[SQL Schema]",Item="Sales"]}[Data] + in + dbo_Sales + diff --git a/Contoso Dataset/Model/tables/Sales/columns/Currency Code.json b/Contoso Dataset/Model/tables/Sales/columns/Currency Code.json deleted file mode 100644 index 9bbedd1..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Currency Code.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Currency Code", - "dataType": "string", - "sourceColumn": "Currency Code", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/CustomerKey.json b/Contoso Dataset/Model/tables/Sales/columns/CustomerKey.json deleted file mode 100644 index 5c761a1..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/CustomerKey.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "CustomerKey", - "dataType": "int64", - "isHidden": true, - "sourceColumn": "CustomerKey", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/Delivery Date.json b/Contoso Dataset/Model/tables/Sales/columns/Delivery Date.json deleted file mode 100644 index 5c09936..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Delivery Date.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Delivery Date", - "dataType": "dateTime", - "sourceColumn": "Delivery Date", - "formatString": "Long Date", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "UnderlyingDateTimeDataType", - "value": "Date" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/Exchange Rate.json b/Contoso Dataset/Model/tables/Sales/columns/Exchange Rate.json deleted file mode 100644 index d83830b..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Exchange Rate.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "Exchange Rate", - "dataType": "double", - "sourceColumn": "Exchange Rate", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "User" - }, - { - "name": "PBI_FormatHint", - "value": "{\"isGeneralNumber\":true}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/Line Number.json b/Contoso Dataset/Model/tables/Sales/columns/Line Number.json deleted file mode 100644 index 4b15c72..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Line Number.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Line Number", - "dataType": "int64", - "sourceColumn": "Line Number", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "User" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/Net Price.json b/Contoso Dataset/Model/tables/Sales/columns/Net Price.json deleted file mode 100644 index d9a3a89..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Net Price.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Net Price", - "dataType": "decimal", - "sourceColumn": "Net Price", - "formatString": "\"£\"#,0.###############;-\"£\"#,0.###############;\"£\"#,0.###############", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "User" - }, - { - "name": "PBI_FormatHint", - "value": "{\"currencyCulture\":\"en-GB\"}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/Order Date.json b/Contoso Dataset/Model/tables/Sales/columns/Order Date.json deleted file mode 100644 index 3a2d3e1..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Order Date.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Order Date", - "dataType": "dateTime", - "sourceColumn": "Order Date", - "formatString": "Long Date", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "UnderlyingDateTimeDataType", - "value": "Date" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/Order Number.json b/Contoso Dataset/Model/tables/Sales/columns/Order Number.json deleted file mode 100644 index 4266d10..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Order Number.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Order Number", - "dataType": "int64", - "sourceColumn": "Order Number", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "User" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/ProductKey.json b/Contoso Dataset/Model/tables/Sales/columns/ProductKey.json deleted file mode 100644 index e923d9a..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/ProductKey.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "ProductKey", - "dataType": "int64", - "isHidden": true, - "sourceColumn": "ProductKey", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/Quantity.json b/Contoso Dataset/Model/tables/Sales/columns/Quantity.json deleted file mode 100644 index 8598076..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Quantity.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Quantity", - "dataType": "int64", - "sourceColumn": "Quantity", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "User" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/StoreKey.json b/Contoso Dataset/Model/tables/Sales/columns/StoreKey.json deleted file mode 100644 index 0c9e953..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/StoreKey.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "StoreKey", - "dataType": "int64", - "isHidden": true, - "sourceColumn": "StoreKey", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/Unit Cost.json b/Contoso Dataset/Model/tables/Sales/columns/Unit Cost.json deleted file mode 100644 index 099d668..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Unit Cost.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Unit Cost", - "dataType": "decimal", - "sourceColumn": "Unit Cost", - "formatString": "\"£\"#,0.###############;-\"£\"#,0.###############;\"£\"#,0.###############", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "User" - }, - { - "name": "PBI_FormatHint", - "value": "{\"currencyCulture\":\"en-GB\"}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/columns/Unit Price.json b/Contoso Dataset/Model/tables/Sales/columns/Unit Price.json deleted file mode 100644 index 7e177ac..0000000 --- a/Contoso Dataset/Model/tables/Sales/columns/Unit Price.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Unit Price", - "dataType": "decimal", - "sourceColumn": "Unit Price", - "formatString": "\"£\"#,0.###############;-\"£\"#,0.###############;\"£\"#,0.###############", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "User" - }, - { - "name": "PBI_FormatHint", - "value": "{\"currencyCulture\":\"en-GB\"}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/measures/Margin.dax b/Contoso Dataset/Model/tables/Sales/measures/Margin.dax deleted file mode 100644 index 959b8ea..0000000 --- a/Contoso Dataset/Model/tables/Sales/measures/Margin.dax +++ /dev/null @@ -1 +0,0 @@ -[Sales Amount] - [Total Cost] \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/measures/Margin.json b/Contoso Dataset/Model/tables/Sales/measures/Margin.json deleted file mode 100644 index 94cc3d0..0000000 --- a/Contoso Dataset/Model/tables/Sales/measures/Margin.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "Margin", - "formatString": "\"$\"#,0", - "annotations": [ - { - "name": "PBI_FormatHint", - "value": "{\"isCustom\":true}" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"FormatString\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/measures/Sales Amount.dax b/Contoso Dataset/Model/tables/Sales/measures/Sales Amount.dax deleted file mode 100644 index 85849c4..0000000 --- a/Contoso Dataset/Model/tables/Sales/measures/Sales Amount.dax +++ /dev/null @@ -1 +0,0 @@ -SUMX ( Sales, Sales[Quantity] * Sales[Net Price] ) \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/measures/Sales Amount.json b/Contoso Dataset/Model/tables/Sales/measures/Sales Amount.json deleted file mode 100644 index 6e11e0b..0000000 --- a/Contoso Dataset/Model/tables/Sales/measures/Sales Amount.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "Sales Amount", - "formatString": "\"$\"#,0", - "annotations": [ - { - "name": "PBI_ChangedProperties", - "value": "[\"FormatString\"]" - }, - { - "name": "PBI_FormatHint", - "value": "{\"isCustom\":true}" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/measures/Sales Quantity.dax b/Contoso Dataset/Model/tables/Sales/measures/Sales Quantity.dax deleted file mode 100644 index 94f0101..0000000 --- a/Contoso Dataset/Model/tables/Sales/measures/Sales Quantity.dax +++ /dev/null @@ -1 +0,0 @@ -SUM ( Sales[Quantity] ) \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/measures/Sales Quantity.json b/Contoso Dataset/Model/tables/Sales/measures/Sales Quantity.json deleted file mode 100644 index b5a388e..0000000 --- a/Contoso Dataset/Model/tables/Sales/measures/Sales Quantity.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Sales Quantity", - "formatString": "#,##0" -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/measures/Total Cost.dax b/Contoso Dataset/Model/tables/Sales/measures/Total Cost.dax deleted file mode 100644 index 4c9dafd..0000000 --- a/Contoso Dataset/Model/tables/Sales/measures/Total Cost.dax +++ /dev/null @@ -1 +0,0 @@ -SUMX ( Sales, Sales[Quantity] * Sales[Unit Cost] ) \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/measures/Total Cost.json b/Contoso Dataset/Model/tables/Sales/measures/Total Cost.json deleted file mode 100644 index e41005f..0000000 --- a/Contoso Dataset/Model/tables/Sales/measures/Total Cost.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "Total Cost", - "formatString": "\"$\"#,0", - "annotations": [ - { - "name": "PBI_FormatHint", - "value": "{\"isCustom\":true}" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"FormatString\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Sales/table.json b/Contoso Dataset/Model/tables/Sales/table.json deleted file mode 100644 index 68bd63b..0000000 --- a/Contoso Dataset/Model/tables/Sales/table.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Sales", - "partitions": [ - { - "name": "Sales-32897230-38d7-4a64-83fc-96d2d960fbfc", - "mode": "import", - "source": { - "type": "m" - } - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores.tmdl b/Contoso Dataset/Model/tables/Stores.tmdl new file mode 100644 index 0000000..8ae25bc --- /dev/null +++ b/Contoso Dataset/Model/tables/Stores.tmdl @@ -0,0 +1,96 @@ +table Stores + lineageTag: 05fdd779-edd3-41c7-aa98-2ed9d0047f54 + + column 'Close Date' + dataType: DateTime + formatString = Long Date + lineageTag: 63108690-1f14-481a-965b-1c8b452bcff3 + summarizeBy: None + sourceColumn: Close Date + + annotation SummarizationSetBy = Automatic + + annotation UnderlyingDateTimeDataType = Date + + column Country + dataType: String + lineageTag: 8364310c-3984-440b-97cf-f0630b432eb2 + summarizeBy: None + sourceColumn: Country + + annotation SummarizationSetBy = Automatic + + column Name + dataType: String + lineageTag: c57cc264-c22d-47f7-9c4d-8f19bfe2c821 + summarizeBy: None + sourceColumn: Name + + annotation SummarizationSetBy = Automatic + + column 'Open Date' + dataType: DateTime + formatString = Long Date + lineageTag: 91fb55cb-30ef-4f71-97d1-877d34087579 + summarizeBy: None + sourceColumn: Open Date + + annotation SummarizationSetBy = Automatic + + annotation UnderlyingDateTimeDataType = Date + + column 'Square Meters' + dataType: Int64 + formatString = 0 + lineageTag: 5af7c682-2741-4cb4-a142-951c58babfae + summarizeBy: None + sourceColumn: Square Meters + + annotation SummarizationSetBy = Automatic + + column State + dataType: String + lineageTag: b9c1b286-d4b9-452b-9f11-d6b31cc9c23b + summarizeBy: None + sourceColumn: State + + annotation SummarizationSetBy = Automatic + + column Status + dataType: String + lineageTag: dfd5bef4-79ce-475a-a7d2-1d2d2b78f33c + summarizeBy: None + sourceColumn: Status + + annotation SummarizationSetBy = Automatic + + column 'Store Code' + dataType: Int64 + formatString = 0 + lineageTag: fe2c07dc-dcc2-4f1b-9a43-16aa7bda771e + summarizeBy: None + sourceColumn: Store Code + + annotation SummarizationSetBy = Automatic + + column StoreKey + dataType: Int64 + isHidden + formatString = 0 + lineageTag: 1771b084-ef7d-42aa-bc28-582670498961 + summarizeBy: None + sourceColumn: StoreKey + + changedProperty = IsHidden + + annotation SummarizationSetBy = Automatic + + partition Stores-5c5c3747-772e-4093-9c70-d3f9dcd881fb = M + mode: Import + expression = + let + Source = Sql.Database(#"[SQL Server]", #"[SQL Database]"), + dbo_Store = Source{[Schema=#"[SQL Schema]",Item="Store"]}[Data] + in + dbo_Store + diff --git a/Contoso Dataset/Model/tables/Stores/columns/Close Date.json b/Contoso Dataset/Model/tables/Stores/columns/Close Date.json deleted file mode 100644 index b0d3b1a..0000000 --- a/Contoso Dataset/Model/tables/Stores/columns/Close Date.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Close Date", - "dataType": "dateTime", - "sourceColumn": "Close Date", - "formatString": "Long Date", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "UnderlyingDateTimeDataType", - "value": "Date" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores/columns/Country.json b/Contoso Dataset/Model/tables/Stores/columns/Country.json deleted file mode 100644 index c81529c..0000000 --- a/Contoso Dataset/Model/tables/Stores/columns/Country.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Country", - "dataType": "string", - "sourceColumn": "Country", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores/columns/Name.json b/Contoso Dataset/Model/tables/Stores/columns/Name.json deleted file mode 100644 index 081ba43..0000000 --- a/Contoso Dataset/Model/tables/Stores/columns/Name.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Name", - "dataType": "string", - "sourceColumn": "Name", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores/columns/Open Date.json b/Contoso Dataset/Model/tables/Stores/columns/Open Date.json deleted file mode 100644 index 449d70c..0000000 --- a/Contoso Dataset/Model/tables/Stores/columns/Open Date.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Open Date", - "dataType": "dateTime", - "sourceColumn": "Open Date", - "formatString": "Long Date", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "UnderlyingDateTimeDataType", - "value": "Date" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores/columns/Square Meters.json b/Contoso Dataset/Model/tables/Stores/columns/Square Meters.json deleted file mode 100644 index f346e7f..0000000 --- a/Contoso Dataset/Model/tables/Stores/columns/Square Meters.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Square Meters", - "dataType": "int64", - "sourceColumn": "Square Meters", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores/columns/State.json b/Contoso Dataset/Model/tables/Stores/columns/State.json deleted file mode 100644 index 6407943..0000000 --- a/Contoso Dataset/Model/tables/Stores/columns/State.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "State", - "dataType": "string", - "sourceColumn": "State", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores/columns/Status.json b/Contoso Dataset/Model/tables/Stores/columns/Status.json deleted file mode 100644 index ff68a7b..0000000 --- a/Contoso Dataset/Model/tables/Stores/columns/Status.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Status", - "dataType": "string", - "sourceColumn": "Status", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores/columns/Store Code.json b/Contoso Dataset/Model/tables/Stores/columns/Store Code.json deleted file mode 100644 index 1231310..0000000 --- a/Contoso Dataset/Model/tables/Stores/columns/Store Code.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "Store Code", - "dataType": "int64", - "sourceColumn": "Store Code", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores/columns/StoreKey.json b/Contoso Dataset/Model/tables/Stores/columns/StoreKey.json deleted file mode 100644 index 0c9e953..0000000 --- a/Contoso Dataset/Model/tables/Stores/columns/StoreKey.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "StoreKey", - "dataType": "int64", - "isHidden": true, - "sourceColumn": "StoreKey", - "formatString": "0", - "summarizeBy": "none", - "annotations": [ - { - "name": "SummarizationSetBy", - "value": "Automatic" - }, - { - "name": "PBI_ChangedProperties", - "value": "[\"IsHidden\"]" - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Model/tables/Stores/table.json b/Contoso Dataset/Model/tables/Stores/table.json deleted file mode 100644 index 92f776c..0000000 --- a/Contoso Dataset/Model/tables/Stores/table.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "Stores", - "partitions": [ - { - "name": "Stores-5c5c3747-772e-4093-9c70-d3f9dcd881fb", - "mode": "import", - "source": { - "type": "m" - } - } - ] -} \ No newline at end of file diff --git a/Contoso Dataset/Report/config.json b/Contoso Dataset/Report/config.json index aad0db4..968508f 100644 --- a/Contoso Dataset/Report/config.json +++ b/Contoso Dataset/Report/config.json @@ -1,5 +1,5 @@ { - "version": "5.30", + "version": "5.37", "themeCollection": { "baseTheme": { "name": "CY22SU03", diff --git a/Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/config.json b/Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/config.json new file mode 100644 index 0000000..f73b4f2 --- /dev/null +++ b/Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/config.json @@ -0,0 +1,141 @@ +{ + "name": "23631f731501e86bd842", + "layouts": [ + { + "id": 0, + "position": { + "x": 32.097264437689972, + "y": 332.64437689969606, + "z": 1, + "width": 371.55015197568389, + "height": 231.48936170212767, + "tabOrder": 1 + } + } + ], + "singleVisual": { + "visualType": "pivotTable", + "projections": { + "Values": [ + { + "queryRef": "Info.Branch" + }, + { + "queryRef": "Info.Data Updated (UTC)" + }, + { + "queryRef": "Info.Dataset Version" + }, + { + "queryRef": "Info.Environment" + }, + { + "queryRef": "Info.GitHub RunID" + }, + { + "queryRef": "Info.GitHub SHA" + } + ] + }, + "prototypeQuery": { + "Version": 2, + "From": [ + { + "Name": "i", + "Entity": "Info", + "Type": 0 + } + ], + "Select": [ + { + "Measure": { + "Expression": { + "SourceRef": { + "Source": "i" + } + }, + "Property": "Branch" + }, + "Name": "Info.Branch", + "NativeReferenceName": "Branch" + }, + { + "Measure": { + "Expression": { + "SourceRef": { + "Source": "i" + } + }, + "Property": "Data Updated (UTC)" + }, + "Name": "Info.Data Updated (UTC)", + "NativeReferenceName": "Data Updated (UTC)" + }, + { + "Measure": { + "Expression": { + "SourceRef": { + "Source": "i" + } + }, + "Property": "Dataset Version" + }, + "Name": "Info.Dataset Version", + "NativeReferenceName": "Dataset Version" + }, + { + "Measure": { + "Expression": { + "SourceRef": { + "Source": "i" + } + }, + "Property": "Environment" + }, + "Name": "Info.Environment", + "NativeReferenceName": "Environment" + }, + { + "Measure": { + "Expression": { + "SourceRef": { + "Source": "i" + } + }, + "Property": "GitHub RunID" + }, + "Name": "Info.GitHub RunID", + "NativeReferenceName": "GitHub RunID" + }, + { + "Measure": { + "Expression": { + "SourceRef": { + "Source": "i" + } + }, + "Property": "GitHub SHA" + }, + "Name": "Info.GitHub SHA", + "NativeReferenceName": "GitHub SHA" + } + ] + }, + "drillFilterOtherVisuals": true, + "objects": { + "values": [ + { + "properties": { + "valuesOnRow": { + "expr": { + "Literal": { + "Value": "true" + } + } + } + } + } + ] + } + } +} \ No newline at end of file diff --git a/Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/filters.json b/Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/filters.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/filters.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/visualContainer.json b/Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/visualContainer.json new file mode 100644 index 0000000..4274a28 --- /dev/null +++ b/Contoso Dataset/Report/sections/000_Page 1/visualContainers/00001_pivotTable (23631)/visualContainer.json @@ -0,0 +1,8 @@ +{ + "height": 231.48936170212767, + "tabOrder": 1, + "width": 371.55015197568389, + "x": 32.097264437689972, + "y": 332.64437689969606, + "z": 1 +} \ No newline at end of file diff --git a/Contoso Dataset/ReportMetadata.json b/Contoso Dataset/ReportMetadata.json index 93ecbc2..4fe104f 100644 --- a/Contoso Dataset/ReportMetadata.json +++ b/Contoso Dataset/ReportMetadata.json @@ -2,5 +2,5 @@ "Version": 5, "AutoCreatedRelationships": [], "CreatedFrom": "Cloud", - "CreatedFromRelease": "2022.07" + "CreatedFromRelease": "2023.11" } \ No newline at end of file diff --git a/Contoso Dataset/Version.txt b/Contoso Dataset/Version.txt index 581595d..209d7db 100644 --- a/Contoso Dataset/Version.txt +++ b/Contoso Dataset/Version.txt @@ -1 +1 @@ -1.25 \ No newline at end of file +1.28 \ No newline at end of file From c1249705ffc70f70c13b6ba7d057644dea6f6a42 Mon Sep 17 00:00:00 2001 From: Mathias Thierbach Date: Tue, 28 Nov 2023 22:34:47 +0000 Subject: [PATCH 2/3] + database.tmdl --- Contoso Dataset/.pbixproj.json | 2 +- Contoso Dataset/Model/database.tmdl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Contoso Dataset/Model/database.tmdl diff --git a/Contoso Dataset/.pbixproj.json b/Contoso Dataset/.pbixproj.json index 39feb3f..63fbc13 100644 --- a/Contoso Dataset/.pbixproj.json +++ b/Contoso Dataset/.pbixproj.json @@ -1,7 +1,7 @@ { "version": "0.13", "created": "2022-07-20T08:13:22.5835413+01:00", - "lastModified": "2023-11-28T19:49:19.7082912+00:00", + "lastModified": "2023-11-28T22:24:11.7712665+00:00", "settings": { "model": { "serializationMode": "Default", diff --git a/Contoso Dataset/Model/database.tmdl b/Contoso Dataset/Model/database.tmdl new file mode 100644 index 0000000..e08681d --- /dev/null +++ b/Contoso Dataset/Model/database.tmdl @@ -0,0 +1,3 @@ +database 'Contoso Dataset' + compatibilityLevel: 1567 + From 37b91724cc3c51d10e49dbc560b9ffb3d77c6bb0 Mon Sep 17 00:00:00 2001 From: Mathias Thierbach Date: Tue, 28 Nov 2023 22:53:04 +0000 Subject: [PATCH 3/3] Bump to pbi-tools rc.7 --- .github/workflows/deploy-dev.yml | 2 +- .github/workflows/deploy-production.yml | 2 +- .github/workflows/deploy-uat.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index c5c9508..6b355af 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest environment: Development container: - image: ghcr.io/pbi-tools/pbi-tools-core:1.0.0-rc.6 + image: ghcr.io/pbi-tools/pbi-tools-core:1.0.0-rc.7 steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index d1a1827..2863fd0 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest environment: Production container: - image: ghcr.io/pbi-tools/pbi-tools-core:1.0.0-rc.6 + image: ghcr.io/pbi-tools/pbi-tools-core:1.0.0-rc.7 steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it diff --git a/.github/workflows/deploy-uat.yml b/.github/workflows/deploy-uat.yml index b12877e..ec72a8a 100644 --- a/.github/workflows/deploy-uat.yml +++ b/.github/workflows/deploy-uat.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest environment: UAT container: - image: ghcr.io/pbi-tools/pbi-tools-core:1.0.0-rc.6 + image: ghcr.io/pbi-tools/pbi-tools-core:1.0.0-rc.7 steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it