Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize Tabular Editor to track changes over time #65

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Dax Date Template Model/cultures/en-US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "en-US",
"linguisticMetadata": {
"content": {
"Version": "1.0.0",
"Language": "en-US",
"DynamicImprovement": "HighConfidence"
},
"contentType": "json"
}
}
21 changes: 21 additions & 0 deletions Dax Date Template Model/database.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Untitled",
"compatibilityLevel": 1550,
"model": {
"culture": "en-US",
"annotations": [
{
"name": "__PBI_TimeIntelligenceEnabled",
"value": "0"
},
{
"name": "PBIDesktopVersion",
"value": "2.94.921.0 (21.06)"
},
{
"name": "TabularEditor_SerializeOptions",
"value": "{\"IgnoreInferredObjects\":true,\"IgnoreInferredProperties\":true,\"IgnoreTimestamps\":true,\"SplitMultilineStrings\":true,\"PrefixFilenames\":false,\"LocalTranslations\":false,\"LocalPerspectives\":false,\"LocalRelationships\":false,\"Levels\":[\"Data Sources\",\"Perspectives\",\"Relationships\",\"Roles\",\"Tables\",\"Tables/Calculation Items\",\"Tables/Columns\",\"Tables/Hierarchies\",\"Tables/Measures\",\"Tables/Partitions\",\"Translations\"]}"
}
]
}
}
11 changes: 11 additions & 0 deletions Dax Date Template Model/tables/Date/Date.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Date",
"lineageTag": "d8681722-8589-4c3a-9098-a7376f88ace0",
"dataCategory": "Time",
"annotations": [
{
"name": "PBI_Id",
"value": "cdc08361ff824afa953ac8cccd1ff880"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar DatePreviousMonth",
"dataType": "dateTime",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar DatePreviousMonth]",
"formatString": "m/d/yyyy",
"lineageTag": "a6fdded5-18fc-4768-aa25-812623209c9b",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "Automatic"
},
{
"name": "Format",
"value": "<Format Format=\"DateTimeGeneralPattern\"><DateTimes><DateTime LCID=\"1033\" Group=\"ShortDate\" FormatString=\"M/d/yyyy\" /></DateTimes></Format>"
},
{
"name": "DataTypeAtRefresh",
"value": "DateTime#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar DatePreviousQuarter",
"dataType": "dateTime",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar DatePreviousQuarter]",
"formatString": "m/d/yyyy",
"lineageTag": "885534b7-d9c8-4abe-b60b-af86302df524",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "Automatic"
},
{
"name": "Format",
"value": "<Format Format=\"DateTimeGeneralPattern\"><DateTimes><DateTime LCID=\"1033\" Group=\"ShortDate\" FormatString=\"M/d/yyyy\" /></DateTimes></Format>"
},
{
"name": "DataTypeAtRefresh",
"value": "DateTime#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar DatePreviousWeek",
"dataType": "dateTime",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar DatePreviousWeek]",
"formatString": "m/d/yyyy",
"lineageTag": "25fa4c64-d73b-4a2e-961d-67986648cd69",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "Automatic"
},
{
"name": "Format",
"value": "<Format Format=\"DateTimeGeneralPattern\"><DateTimes><DateTime LCID=\"1033\" Group=\"ShortDate\" FormatString=\"M/d/yyyy\" /></DateTimes></Format>"
},
{
"name": "DataTypeAtRefresh",
"value": "DateTime#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar DatePreviousYear",
"dataType": "dateTime",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar DatePreviousYear]",
"formatString": "m/d/yyyy",
"lineageTag": "14c9e993-66d1-4ffa-8dfc-dea4b4307877",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "Automatic"
},
{
"name": "Format",
"value": "<Format Format=\"DateTimeGeneralPattern\"><DateTimes><DateTime LCID=\"1033\" Group=\"ShortDate\" FormatString=\"M/d/yyyy\" /></DateTimes></Format>"
},
{
"name": "DataTypeAtRefresh",
"value": "DateTime#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar DayOfMonthNumber",
"dataType": "int64",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar DayOfMonthNumber]",
"formatString": "0",
"lineageTag": "641c2f36-4a3f-46ec-8d56-4eaab65c46c6",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "User"
},
{
"name": "Format",
"value": "<Format Format=\"NumberWhole\" Accuracy=\"0\" />"
},
{
"name": "DataTypeAtRefresh",
"value": "Int64#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar DayOfQuarterNumber",
"dataType": "int64",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar DayOfQuarterNumber]",
"formatString": "0",
"lineageTag": "9e5009ee-ed9a-47fd-8115-439dd05bc4cd",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "User"
},
{
"name": "Format",
"value": "<Format Format=\"NumberWhole\" Accuracy=\"0\" />"
},
{
"name": "DataTypeAtRefresh",
"value": "Int64#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar DayOfYearNumber",
"dataType": "int64",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar DayOfYearNumber]",
"formatString": "0",
"lineageTag": "915c2351-8e5b-48bb-8178-486957753e15",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "User"
},
{
"name": "Format",
"value": "<Format Format=\"NumberWhole\" Accuracy=\"0\" />"
},
{
"name": "DataTypeAtRefresh",
"value": "Int64#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar EndOfMonth",
"dataType": "dateTime",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar EndOfMonth]",
"formatString": "m/d/yyyy",
"lineageTag": "ea290f5b-0243-4bb2-a647-68daf5e66909",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "Automatic"
},
{
"name": "Format",
"value": "<Format Format=\"DateTimeGeneralPattern\"><DateTimes><DateTime LCID=\"1033\" Group=\"ShortDate\" FormatString=\"M/d/yyyy\" /></DateTimes></Format>"
},
{
"name": "DataTypeAtRefresh",
"value": "DateTime#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar EndOfQuarter",
"dataType": "dateTime",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar EndOfQuarter]",
"formatString": "m/d/yyyy",
"lineageTag": "38747b58-5b6f-4f68-8395-86ff2958e65f",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "Automatic"
},
{
"name": "Format",
"value": "<Format Format=\"DateTimeGeneralPattern\"><DateTimes><DateTime LCID=\"1033\" Group=\"ShortDate\" FormatString=\"M/d/yyyy\" /></DateTimes></Format>"
},
{
"name": "DataTypeAtRefresh",
"value": "DateTime#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar EndOfYear",
"dataType": "dateTime",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar EndOfYear]",
"formatString": "m/d/yyyy",
"lineageTag": "3226ddd6-91e1-428f-b9d2-d2bdf6702dde",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "Automatic"
},
{
"name": "Format",
"value": "<Format Format=\"DateTimeGeneralPattern\"><DateTimes><DateTime LCID=\"1033\" Group=\"ShortDate\" FormatString=\"M/d/yyyy\" /></DateTimes></Format>"
},
{
"name": "DataTypeAtRefresh",
"value": "DateTime#####not a type"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"type": "calculatedTableColumn",
"name": "Calendar Month Year",
"dataType": "string",
"isNameInferred": true,
"isDataTypeInferred": true,
"isHidden": true,
"sourceColumn": "[Calendar Month Year]",
"sortByColumn": "Calendar YearMonthNumber",
"lineageTag": "b757be51-68ff-4425-83bd-590a07314693",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "Automatic"
},
{
"name": "Format",
"value": "<Format Format=\"Text\" />"
},
{
"name": "DataTypeAtRefresh",
"value": "String#####not a type"
}
]
}
25 changes: 25 additions & 0 deletions Dax Date Template Model/tables/Date/columns/Calendar Month.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"type": "calculatedTableColumn",
"name": "Calendar Month",
"dataType": "string",
"isNameInferred": true,
"isDataTypeInferred": true,
"sourceColumn": "[Calendar Month]",
"sortByColumn": "Calendar MonthNumber",
"lineageTag": "86d0152c-ef42-46d7-80a9-0908751fca58",
"summarizeBy": "none",
"annotations": [
{
"name": "SummarizationSetBy",
"value": "Automatic"
},
{
"name": "Format",
"value": "<Format Format=\"Text\" />"
},
{
"name": "DataTypeAtRefresh",
"value": "String#####not a type"
}
]
}
Loading