From e648f1f67fcd50b56eacf15bdf4460477101d6de Mon Sep 17 00:00:00 2001 From: DavidmSalm <67660532+Davidms@users.noreply.github.com> Date: Thu, 15 Jul 2021 18:09:19 -0700 Subject: [PATCH] Export from Tabular Editor 3 --- Dax Date Template Model/cultures/en-US.json | 11 + Dax Date Template Model/database.json | 21 + Dax Date Template Model/tables/Date/Date.json | 11 + .../columns/Calendar DatePreviousMonth.json | 26 + .../columns/Calendar DatePreviousQuarter.json | 26 + .../columns/Calendar DatePreviousWeek.json | 26 + .../columns/Calendar DatePreviousYear.json | 26 + .../columns/Calendar DayOfMonthNumber.json | 26 + .../columns/Calendar DayOfQuarterNumber.json | 26 + .../columns/Calendar DayOfYearNumber.json | 26 + .../Date/columns/Calendar EndOfMonth.json | 26 + .../Date/columns/Calendar EndOfQuarter.json | 26 + .../Date/columns/Calendar EndOfYear.json | 26 + .../Date/columns/Calendar Month Year.json | 26 + .../tables/Date/columns/Calendar Month.json | 25 + .../Date/columns/Calendar MonthDays.json | 26 + .../Date/columns/Calendar MonthNumber.json | 26 + .../Date/columns/Calendar Quarter Year.json | 26 + .../tables/Date/columns/Calendar Quarter.json | 25 + .../Date/columns/Calendar QuarterDays.json | 26 + .../Date/columns/Calendar QuarterNumber.json | 25 + .../columns/Calendar RelativeMonthPos.json | 25 + .../columns/Calendar RelativeQuarterPos.json | 25 + .../columns/Calendar RelativeWeekPos.json | 25 + .../columns/Calendar RelativeYearPos.json | 25 + .../Date/columns/Calendar StartOfMonth.json | 26 + .../Date/columns/Calendar StartOfQuarter.json | 26 + .../Date/columns/Calendar StartOfYear.json | 26 + .../Date/columns/Calendar Week Year.json | 26 + .../tables/Date/columns/Calendar Week.json | 25 + .../Date/columns/Calendar WeekNumber.json | 26 + .../Date/columns/Calendar WeekYearOrder.json | 26 + .../tables/Date/columns/Calendar Year.json | 25 + .../Date/columns/Calendar YearDays.json | 26 + .../columns/Calendar YearMonthNumber.json | 26 + .../Date/columns/Calendar YearNumber.json | 26 + .../columns/Calendar YearQuarterNumber.json | 25 + .../Date/columns/Calendar YearWeekNumber.json | 26 + .../tables/Date/columns/Date.json | 26 + .../tables/Date/columns/DateKey.json | 26 + .../tables/Date/columns/Day Type.json | 24 + .../tables/Date/columns/Day of Month.json | 25 + .../Date/columns/FW DatePreviousMonth.json | 26 + .../Date/columns/FW DatePreviousQuarter.json | 26 + .../Date/columns/FW DatePreviousWeek.json | 26 + .../Date/columns/FW DatePreviousYear.json | 26 + .../Date/columns/FW DayOfMonthNumber.json | 26 + .../Date/columns/FW DayOfQuarterNumber.json | 26 + .../Date/columns/FW DayOfYearNumber.json | 26 + .../tables/Date/columns/FW EndOfMonth.json | 26 + .../tables/Date/columns/FW EndOfQuarter.json | 26 + .../tables/Date/columns/FW EndOfWeek.json | 26 + .../tables/Date/columns/FW EndOfYear.json | 26 + .../tables/Date/columns/FW Month Year.json | 26 + .../tables/Date/columns/FW Month.json | 25 + .../tables/Date/columns/FW MonthDays.json | 26 + .../tables/Date/columns/FW MonthNumber.json | 25 + .../tables/Date/columns/FW Period.json | 25 + .../tables/Date/columns/FW PeriodNumber.json | 25 + .../tables/Date/columns/FW Quarter Year.json | 26 + .../tables/Date/columns/FW Quarter.json | 25 + .../tables/Date/columns/FW QuarterDays.json | 26 + .../tables/Date/columns/FW QuarterNumber.json | 25 + .../Date/columns/FW RelativeMonthPos.json | 25 + .../Date/columns/FW RelativeQuarterPos.json | 25 + .../Date/columns/FW RelativeWeekPos.json | 25 + .../Date/columns/FW RelativeYearPos.json | 25 + .../tables/Date/columns/FW StartOfMonth.json | 26 + .../Date/columns/FW StartOfQuarter.json | 26 + .../tables/Date/columns/FW StartOfWeek.json | 26 + .../tables/Date/columns/FW StartOfYear.json | 26 + .../tables/Date/columns/FW Week Year.json | 26 + .../tables/Date/columns/FW Week.json | 25 + .../tables/Date/columns/FW WeekNumber.json | 26 + .../tables/Date/columns/FW Year.json | 25 + .../tables/Date/columns/FW YearDays.json | 26 + .../Date/columns/FW YearMonthNumber.json | 25 + .../tables/Date/columns/FW YearNumber.json | 26 + .../Date/columns/FW YearQuarterNumber.json | 25 + .../Date/columns/FW YearWeekNumber.json | 26 + .../columns/Fiscal DatePreviousMonth.json | 26 + .../columns/Fiscal DatePreviousQuarter.json | 26 + .../Date/columns/Fiscal DatePreviousWeek.json | 26 + .../Date/columns/Fiscal DatePreviousYear.json | 26 + .../Date/columns/Fiscal DayOfMonthNumber.json | 26 + .../columns/Fiscal DayOfQuarterNumber.json | 26 + .../Date/columns/Fiscal DayOfYearNumber.json | 26 + .../Date/columns/Fiscal EndOfMonth.json | 26 + .../Date/columns/Fiscal EndOfQuarter.json | 26 + .../tables/Date/columns/Fiscal EndOfYear.json | 26 + .../Date/columns/Fiscal Month Year.json | 26 + .../tables/Date/columns/Fiscal Month.json | 25 + .../tables/Date/columns/Fiscal MonthDays.json | 26 + .../Date/columns/Fiscal MonthNumber.json | 26 + .../Date/columns/Fiscal Quarter Year.json | 26 + .../tables/Date/columns/Fiscal Quarter.json | 25 + .../Date/columns/Fiscal QuarterDays.json | 26 + .../Date/columns/Fiscal QuarterNumber.json | 25 + .../Date/columns/Fiscal RelativeMonthPos.json | 25 + .../columns/Fiscal RelativeQuarterPos.json | 25 + .../Date/columns/Fiscal RelativeWeekPos.json | 25 + .../Date/columns/Fiscal RelativeYearPos.json | 25 + .../Date/columns/Fiscal StartOfMonth.json | 26 + .../Date/columns/Fiscal StartOfQuarter.json | 26 + .../Date/columns/Fiscal StartOfYear.json | 26 + .../tables/Date/columns/Fiscal Week Year.json | 26 + .../tables/Date/columns/Fiscal Week.json | 25 + .../Date/columns/Fiscal WeekNumber.json | 26 + .../Date/columns/Fiscal WeekYearOrder.json | 26 + .../tables/Date/columns/Fiscal Year.json | 25 + .../tables/Date/columns/Fiscal YearDays.json | 26 + .../Date/columns/Fiscal YearMonthNumber.json | 26 + .../Date/columns/Fiscal YearNumber.json | 26 + .../columns/Fiscal YearQuarterNumber.json | 25 + .../Date/columns/Fiscal YearWeekNumber.json | 26 + .../tables/Date/columns/Holiday Name.json | 24 + .../tables/Date/columns/IsWorkingDay.json | 26 + .../Date/columns/Sequential365DayNumber.json | 26 + .../tables/Date/columns/Week Day.json | 25 + .../tables/Date/columns/WeekDayNumber.json | 26 + .../Date/hierarchies/Calendar Months.json | 18 + .../Date/hierarchies/Calendar Quarters.json | 24 + .../Date/hierarchies/Calendar Weeks.json | 18 + .../tables/Date/hierarchies/FW Months.json | 18 + .../tables/Date/hierarchies/FW Periods.json | 24 + .../tables/Date/hierarchies/FW Quarters.json | 24 + .../tables/Date/hierarchies/FW Weeks.json | 18 + .../Date/hierarchies/Fiscal Months.json | 18 + .../Date/hierarchies/Fiscal Quarters.json | 24 + .../tables/Date/hierarchies/Fiscal Weeks.json | 18 + .../tables/Date/measures/Period.json | 17 + ...-e5e43593-f014-4047-9082-dc37b82a4652.json | 1532 +++++++++++++++++ 132 files changed, 4798 insertions(+) create mode 100644 Dax Date Template Model/cultures/en-US.json create mode 100644 Dax Date Template Model/database.json create mode 100644 Dax Date Template Model/tables/Date/Date.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar DatePreviousMonth.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar DatePreviousQuarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar DatePreviousWeek.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar DatePreviousYear.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar DayOfMonthNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar DayOfQuarterNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar DayOfYearNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar EndOfMonth.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar EndOfQuarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar EndOfYear.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar Month Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar Month.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar MonthDays.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar MonthNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar Quarter Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar Quarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar QuarterDays.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar QuarterNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar RelativeMonthPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar RelativeQuarterPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar RelativeWeekPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar RelativeYearPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar StartOfMonth.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar StartOfQuarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar StartOfYear.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar Week Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar Week.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar WeekNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar WeekYearOrder.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar YearDays.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar YearMonthNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar YearNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar YearQuarterNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Calendar YearWeekNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Date.json create mode 100644 Dax Date Template Model/tables/Date/columns/DateKey.json create mode 100644 Dax Date Template Model/tables/Date/columns/Day Type.json create mode 100644 Dax Date Template Model/tables/Date/columns/Day of Month.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW DatePreviousMonth.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW DatePreviousQuarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW DatePreviousWeek.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW DatePreviousYear.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW DayOfMonthNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW DayOfQuarterNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW DayOfYearNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW EndOfMonth.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW EndOfQuarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW EndOfWeek.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW EndOfYear.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW Month Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW Month.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW MonthDays.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW MonthNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW Period.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW PeriodNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW Quarter Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW Quarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW QuarterDays.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW QuarterNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW RelativeMonthPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW RelativeQuarterPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW RelativeWeekPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW RelativeYearPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW StartOfMonth.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW StartOfQuarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW StartOfWeek.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW StartOfYear.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW Week Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW Week.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW WeekNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW YearDays.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW YearMonthNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW YearNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW YearQuarterNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/FW YearWeekNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousMonth.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousQuarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousWeek.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousYear.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal DayOfMonthNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal DayOfQuarterNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal DayOfYearNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal EndOfMonth.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal EndOfQuarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal EndOfYear.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal Month Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal Month.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal MonthDays.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal MonthNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal Quarter Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal Quarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal QuarterDays.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal QuarterNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal RelativeMonthPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal RelativeQuarterPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal RelativeWeekPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal RelativeYearPos.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal StartOfMonth.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal StartOfQuarter.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal StartOfYear.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal Week Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal Week.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal WeekNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal WeekYearOrder.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal Year.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal YearDays.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal YearMonthNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal YearNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal YearQuarterNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Fiscal YearWeekNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Holiday Name.json create mode 100644 Dax Date Template Model/tables/Date/columns/IsWorkingDay.json create mode 100644 Dax Date Template Model/tables/Date/columns/Sequential365DayNumber.json create mode 100644 Dax Date Template Model/tables/Date/columns/Week Day.json create mode 100644 Dax Date Template Model/tables/Date/columns/WeekDayNumber.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/Calendar Months.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/Calendar Quarters.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/Calendar Weeks.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/FW Months.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/FW Periods.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/FW Quarters.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/FW Weeks.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/Fiscal Months.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/Fiscal Quarters.json create mode 100644 Dax Date Template Model/tables/Date/hierarchies/Fiscal Weeks.json create mode 100644 Dax Date Template Model/tables/Date/measures/Period.json create mode 100644 Dax Date Template Model/tables/Date/partitions/Date-e5e43593-f014-4047-9082-dc37b82a4652.json diff --git a/Dax Date Template Model/cultures/en-US.json b/Dax Date Template Model/cultures/en-US.json new file mode 100644 index 0000000..81df9f6 --- /dev/null +++ b/Dax Date Template Model/cultures/en-US.json @@ -0,0 +1,11 @@ +{ + "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/Dax Date Template Model/database.json b/Dax Date Template Model/database.json new file mode 100644 index 0000000..2b39b15 --- /dev/null +++ b/Dax Date Template Model/database.json @@ -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\"]}" + } + ] + } +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/Date.json b/Dax Date Template Model/tables/Date/Date.json new file mode 100644 index 0000000..caf6c91 --- /dev/null +++ b/Dax Date Template Model/tables/Date/Date.json @@ -0,0 +1,11 @@ +{ + "name": "Date", + "lineageTag": "d8681722-8589-4c3a-9098-a7376f88ace0", + "dataCategory": "Time", + "annotations": [ + { + "name": "PBI_Id", + "value": "cdc08361ff824afa953ac8cccd1ff880" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousMonth.json b/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousMonth.json new file mode 100644 index 0000000..67a7cb1 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousMonth.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousQuarter.json b/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousQuarter.json new file mode 100644 index 0000000..23786fc --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousQuarter.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousWeek.json b/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousWeek.json new file mode 100644 index 0000000..1998166 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousWeek.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousYear.json b/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousYear.json new file mode 100644 index 0000000..129354c --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar DatePreviousYear.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar DayOfMonthNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar DayOfMonthNumber.json new file mode 100644 index 0000000..a269178 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar DayOfMonthNumber.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar DayOfQuarterNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar DayOfQuarterNumber.json new file mode 100644 index 0000000..6a9dd87 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar DayOfQuarterNumber.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar DayOfYearNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar DayOfYearNumber.json new file mode 100644 index 0000000..2f404dc --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar DayOfYearNumber.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar EndOfMonth.json b/Dax Date Template Model/tables/Date/columns/Calendar EndOfMonth.json new file mode 100644 index 0000000..4ae8230 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar EndOfMonth.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar EndOfQuarter.json b/Dax Date Template Model/tables/Date/columns/Calendar EndOfQuarter.json new file mode 100644 index 0000000..52c16f0 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar EndOfQuarter.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar EndOfYear.json b/Dax Date Template Model/tables/Date/columns/Calendar EndOfYear.json new file mode 100644 index 0000000..20de159 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar EndOfYear.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar Month Year.json b/Dax Date Template Model/tables/Date/columns/Calendar Month Year.json new file mode 100644 index 0000000..0a489ef --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar Month Year.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar Month.json b/Dax Date Template Model/tables/Date/columns/Calendar Month.json new file mode 100644 index 0000000..f1cdf9e --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar Month.json @@ -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": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar MonthDays.json b/Dax Date Template Model/tables/Date/columns/Calendar MonthDays.json new file mode 100644 index 0000000..1d3ad89 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar MonthDays.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar MonthDays", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar MonthDays]", + "formatString": "0", + "lineageTag": "dcfebd5f-4569-4073-a0dd-2a46a9ebaf35", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar MonthNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar MonthNumber.json new file mode 100644 index 0000000..90c751c --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar MonthNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar MonthNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar MonthNumber]", + "formatString": "0", + "lineageTag": "c3d39923-679b-4de4-8a08-75ce4f35a327", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar Quarter Year.json b/Dax Date Template Model/tables/Date/columns/Calendar Quarter Year.json new file mode 100644 index 0000000..d451ebb --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar Quarter Year.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar Quarter Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar Quarter Year]", + "sortByColumn": "Calendar YearQuarterNumber", + "lineageTag": "7b04e21e-79d2-48a0-a23a-44add989be46", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar Quarter.json b/Dax Date Template Model/tables/Date/columns/Calendar Quarter.json new file mode 100644 index 0000000..65d2191 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar Quarter.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar Quarter", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Calendar Quarter]", + "sortByColumn": "Calendar QuarterNumber", + "lineageTag": "9e1737ea-b0f1-416a-b8fc-3c4d685de638", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar QuarterDays.json b/Dax Date Template Model/tables/Date/columns/Calendar QuarterDays.json new file mode 100644 index 0000000..6421606 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar QuarterDays.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar QuarterDays", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar QuarterDays]", + "formatString": "0", + "lineageTag": "9f895fdb-1998-4d24-b076-bb01d98d7ce9", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar QuarterNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar QuarterNumber.json new file mode 100644 index 0000000..565cd47 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar QuarterNumber.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar QuarterNumber", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar QuarterNumber]", + "lineageTag": "ed6d4ad7-21aa-4038-bbd5-41d59337c3eb", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar RelativeMonthPos.json b/Dax Date Template Model/tables/Date/columns/Calendar RelativeMonthPos.json new file mode 100644 index 0000000..6f74fee --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar RelativeMonthPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar RelativeMonthPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar RelativeMonthPos]", + "lineageTag": "3daa0e37-c295-4300-8396-851039c85ee0", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar RelativeQuarterPos.json b/Dax Date Template Model/tables/Date/columns/Calendar RelativeQuarterPos.json new file mode 100644 index 0000000..3aff4aa --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar RelativeQuarterPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar RelativeQuarterPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar RelativeQuarterPos]", + "lineageTag": "7239d359-33fe-4838-858e-ed34db9cb2b9", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar RelativeWeekPos.json b/Dax Date Template Model/tables/Date/columns/Calendar RelativeWeekPos.json new file mode 100644 index 0000000..234d12c --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar RelativeWeekPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar RelativeWeekPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar RelativeWeekPos]", + "lineageTag": "ff07ac30-fb7e-4995-a3fb-98d16d24e186", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar RelativeYearPos.json b/Dax Date Template Model/tables/Date/columns/Calendar RelativeYearPos.json new file mode 100644 index 0000000..06d6f71 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar RelativeYearPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar RelativeYearPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar RelativeYearPos]", + "lineageTag": "eccf2c7f-e090-4ffe-a676-360551922a1c", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar StartOfMonth.json b/Dax Date Template Model/tables/Date/columns/Calendar StartOfMonth.json new file mode 100644 index 0000000..398ef16 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar StartOfMonth.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar StartOfMonth", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar StartOfMonth]", + "formatString": "m/d/yyyy", + "lineageTag": "635331ec-a0a5-4e61-b1ef-e94d1ba13449", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar StartOfQuarter.json b/Dax Date Template Model/tables/Date/columns/Calendar StartOfQuarter.json new file mode 100644 index 0000000..bb112c9 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar StartOfQuarter.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar StartOfQuarter", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar StartOfQuarter]", + "formatString": "m/d/yyyy", + "lineageTag": "8f9e9ec8-bba8-405b-b553-e9180b0dd798", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar StartOfYear.json b/Dax Date Template Model/tables/Date/columns/Calendar StartOfYear.json new file mode 100644 index 0000000..f303f1f --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar StartOfYear.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar StartOfYear", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar StartOfYear]", + "formatString": "m/d/yyyy", + "lineageTag": "923dbc73-2ef1-4ef6-9531-9d981fbb58f8", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar Week Year.json b/Dax Date Template Model/tables/Date/columns/Calendar Week Year.json new file mode 100644 index 0000000..cd5e3b2 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar Week Year.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar Week Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar Week Year]", + "sortByColumn": "Calendar YearWeekNumber", + "lineageTag": "5a6cd710-0007-4d85-bbd5-ce1005ae79fe", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar Week.json b/Dax Date Template Model/tables/Date/columns/Calendar Week.json new file mode 100644 index 0000000..36195a1 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar Week.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar Week", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Calendar Week]", + "sortByColumn": "Calendar WeekNumber", + "lineageTag": "8a00d8c0-6c3e-4431-b927-df106ffbdb86", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar WeekNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar WeekNumber.json new file mode 100644 index 0000000..676c919 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar WeekNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar WeekNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar WeekNumber]", + "formatString": "0", + "lineageTag": "d70b628d-bba1-49e5-9132-012247e5b5d6", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar WeekYearOrder.json b/Dax Date Template Model/tables/Date/columns/Calendar WeekYearOrder.json new file mode 100644 index 0000000..7066c2d --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar WeekYearOrder.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar WeekYearOrder", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar WeekYearOrder]", + "formatString": "0", + "lineageTag": "fee09435-e184-4d62-b7b9-99818d88b2f5", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar Year.json b/Dax Date Template Model/tables/Date/columns/Calendar Year.json new file mode 100644 index 0000000..206f65e --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar Year.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Calendar Year]", + "sortByColumn": "Calendar YearNumber", + "lineageTag": "473a468a-19fd-4fc2-87e8-3c1791cdbaf4", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar YearDays.json b/Dax Date Template Model/tables/Date/columns/Calendar YearDays.json new file mode 100644 index 0000000..181c0e0 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar YearDays.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar YearDays", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar YearDays]", + "formatString": "0", + "lineageTag": "45f20f3f-688f-4663-a14b-938f840e10e9", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar YearMonthNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar YearMonthNumber.json new file mode 100644 index 0000000..bd008fd --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar YearMonthNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar YearMonthNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar YearMonthNumber]", + "formatString": "0", + "lineageTag": "ce4dc6cd-e1b2-4485-919f-d4746e992d9c", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar YearNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar YearNumber.json new file mode 100644 index 0000000..89d682e --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar YearNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar YearNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar YearNumber]", + "formatString": "0", + "lineageTag": "c1a57f08-15d8-4e11-a833-13f7487656fa", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar YearQuarterNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar YearQuarterNumber.json new file mode 100644 index 0000000..794d93e --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar YearQuarterNumber.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar YearQuarterNumber", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar YearQuarterNumber]", + "lineageTag": "146da295-22dc-44c7-9531-37e0525655b4", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Calendar YearWeekNumber.json b/Dax Date Template Model/tables/Date/columns/Calendar YearWeekNumber.json new file mode 100644 index 0000000..b180165 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Calendar YearWeekNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Calendar YearWeekNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Calendar YearWeekNumber]", + "formatString": "0", + "lineageTag": "35f35733-d56c-4e6c-9b29-eac4a72e62a8", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Date.json b/Dax Date Template Model/tables/Date/columns/Date.json new file mode 100644 index 0000000..a1b5538 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Date.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Date", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isKey": true, + "sourceColumn": "[Date]", + "formatString": "m/d/yyyy", + "lineageTag": "cbd2c058-6c10-4b2a-83a9-6cb337b0e06f", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/DateKey.json b/Dax Date Template Model/tables/Date/columns/DateKey.json new file mode 100644 index 0000000..ca17040 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/DateKey.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "DateKey", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[DateKey]", + "formatString": "0", + "lineageTag": "cbc54afd-61a4-49c1-bd90-893ffc855cd1", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Day Type.json b/Dax Date Template Model/tables/Date/columns/Day Type.json new file mode 100644 index 0000000..7757330 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Day Type.json @@ -0,0 +1,24 @@ +{ + "type": "calculatedTableColumn", + "name": "Day Type", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Day Type]", + "lineageTag": "6d0a20a6-8ac2-47ac-9a24-385fa88e599d", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Day of Month.json b/Dax Date Template Model/tables/Date/columns/Day of Month.json new file mode 100644 index 0000000..6efa373 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Day of Month.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Day of Month", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Day of Month]", + "formatString": "0", + "lineageTag": "d62e44df-3d8d-4039-b7ef-a191c8ca58b2", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW DatePreviousMonth.json b/Dax Date Template Model/tables/Date/columns/FW DatePreviousMonth.json new file mode 100644 index 0000000..eb1fde1 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW DatePreviousMonth.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW DatePreviousMonth", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW DatePreviousMonth]", + "formatString": "m/d/yyyy", + "lineageTag": "58b45ac1-6dd7-432d-97cc-0f29afda66e9", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW DatePreviousQuarter.json b/Dax Date Template Model/tables/Date/columns/FW DatePreviousQuarter.json new file mode 100644 index 0000000..f5ff670 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW DatePreviousQuarter.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW DatePreviousQuarter", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW DatePreviousQuarter]", + "formatString": "m/d/yyyy", + "lineageTag": "fdf8eaed-7204-447f-a705-a89e2a510cb8", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW DatePreviousWeek.json b/Dax Date Template Model/tables/Date/columns/FW DatePreviousWeek.json new file mode 100644 index 0000000..8936e75 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW DatePreviousWeek.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW DatePreviousWeek", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW DatePreviousWeek]", + "formatString": "m/d/yyyy", + "lineageTag": "2c60a888-563d-4c52-bb42-410b47b48263", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW DatePreviousYear.json b/Dax Date Template Model/tables/Date/columns/FW DatePreviousYear.json new file mode 100644 index 0000000..0b4e950 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW DatePreviousYear.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW DatePreviousYear", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW DatePreviousYear]", + "formatString": "m/d/yyyy", + "lineageTag": "200b7eee-9640-4e46-a007-a032a0d164db", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW DayOfMonthNumber.json b/Dax Date Template Model/tables/Date/columns/FW DayOfMonthNumber.json new file mode 100644 index 0000000..b1a2864 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW DayOfMonthNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW DayOfMonthNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW DayOfMonthNumber]", + "formatString": "0", + "lineageTag": "3b614d4f-f2f1-4543-ae95-f23adaae3a87", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW DayOfQuarterNumber.json b/Dax Date Template Model/tables/Date/columns/FW DayOfQuarterNumber.json new file mode 100644 index 0000000..b8d6cdd --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW DayOfQuarterNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW DayOfQuarterNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW DayOfQuarterNumber]", + "formatString": "0", + "lineageTag": "f4737dd7-ed42-4e0d-8f1c-7c9e23fd926f", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW DayOfYearNumber.json b/Dax Date Template Model/tables/Date/columns/FW DayOfYearNumber.json new file mode 100644 index 0000000..c4c98c1 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW DayOfYearNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW DayOfYearNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW DayOfYearNumber]", + "formatString": "0", + "lineageTag": "d22a1702-21a6-40cb-a48a-50fdd3452aa6", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW EndOfMonth.json b/Dax Date Template Model/tables/Date/columns/FW EndOfMonth.json new file mode 100644 index 0000000..941e099 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW EndOfMonth.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW EndOfMonth", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW EndOfMonth]", + "formatString": "m/d/yyyy", + "lineageTag": "5a04c788-926e-474e-ad8c-a9287d1e71ab", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW EndOfQuarter.json b/Dax Date Template Model/tables/Date/columns/FW EndOfQuarter.json new file mode 100644 index 0000000..464652b --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW EndOfQuarter.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW EndOfQuarter", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW EndOfQuarter]", + "formatString": "m/d/yyyy", + "lineageTag": "e23651cb-8ee1-4be9-b96a-d205021a8022", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW EndOfWeek.json b/Dax Date Template Model/tables/Date/columns/FW EndOfWeek.json new file mode 100644 index 0000000..1d03221 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW EndOfWeek.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW EndOfWeek", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW EndOfWeek]", + "formatString": "m/d/yyyy", + "lineageTag": "7649a788-09e4-4ecc-9c69-0afcb9551860", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW EndOfYear.json b/Dax Date Template Model/tables/Date/columns/FW EndOfYear.json new file mode 100644 index 0000000..a181cc9 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW EndOfYear.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW EndOfYear", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW EndOfYear]", + "formatString": "m/d/yyyy", + "lineageTag": "9d106c8c-d0ab-40a6-87ee-21f57c52321d", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW Month Year.json b/Dax Date Template Model/tables/Date/columns/FW Month Year.json new file mode 100644 index 0000000..75a6467 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW Month Year.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW Month Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW Month Year]", + "sortByColumn": "FW YearMonthNumber", + "lineageTag": "09194310-09c3-4c1c-8bd0-f3d810cc2781", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW Month.json b/Dax Date Template Model/tables/Date/columns/FW Month.json new file mode 100644 index 0000000..34abe38 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW Month.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW Month", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[FW Month]", + "sortByColumn": "FW MonthNumber", + "lineageTag": "2f60c1ea-1f6f-4eba-a315-80b557a50579", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW MonthDays.json b/Dax Date Template Model/tables/Date/columns/FW MonthDays.json new file mode 100644 index 0000000..40b8182 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW MonthDays.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW MonthDays", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW MonthDays]", + "formatString": "0", + "lineageTag": "df463aeb-0bea-4c54-9512-557f508643d2", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW MonthNumber.json b/Dax Date Template Model/tables/Date/columns/FW MonthNumber.json new file mode 100644 index 0000000..7c48669 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW MonthNumber.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW MonthNumber", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW MonthNumber]", + "lineageTag": "ceeaeda1-04b2-4392-becc-d0058976c300", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW Period.json b/Dax Date Template Model/tables/Date/columns/FW Period.json new file mode 100644 index 0000000..a6579b8 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW Period.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW Period", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[FW Period]", + "sortByColumn": "FW PeriodNumber", + "lineageTag": "5bba47e7-40cb-4312-82a2-63bfc21339b7", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW PeriodNumber.json b/Dax Date Template Model/tables/Date/columns/FW PeriodNumber.json new file mode 100644 index 0000000..6580524 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW PeriodNumber.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW PeriodNumber", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW PeriodNumber]", + "lineageTag": "e652d8a1-13da-4d02-8207-01df6df3116d", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW Quarter Year.json b/Dax Date Template Model/tables/Date/columns/FW Quarter Year.json new file mode 100644 index 0000000..bcc445c --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW Quarter Year.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW Quarter Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW Quarter Year]", + "sortByColumn": "FW YearQuarterNumber", + "lineageTag": "56b4820c-b650-4221-b90d-b6ed8fb95424", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW Quarter.json b/Dax Date Template Model/tables/Date/columns/FW Quarter.json new file mode 100644 index 0000000..f7ec031 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW Quarter.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW Quarter", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[FW Quarter]", + "sortByColumn": "FW QuarterNumber", + "lineageTag": "efacca47-d741-4e81-b6ab-9b4f56df5fba", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW QuarterDays.json b/Dax Date Template Model/tables/Date/columns/FW QuarterDays.json new file mode 100644 index 0000000..b62af3c --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW QuarterDays.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW QuarterDays", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW QuarterDays]", + "formatString": "0", + "lineageTag": "4f86e2f2-1e8d-47c3-876c-71e1a85fd658", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW QuarterNumber.json b/Dax Date Template Model/tables/Date/columns/FW QuarterNumber.json new file mode 100644 index 0000000..8805f7a --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW QuarterNumber.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW QuarterNumber", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW QuarterNumber]", + "lineageTag": "cc848bbc-d6ef-428b-b89f-26930442ce89", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW RelativeMonthPos.json b/Dax Date Template Model/tables/Date/columns/FW RelativeMonthPos.json new file mode 100644 index 0000000..080ac7e --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW RelativeMonthPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW RelativeMonthPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW RelativeMonthPos]", + "lineageTag": "24217fbf-2d51-47ba-9804-744b242f6a3a", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW RelativeQuarterPos.json b/Dax Date Template Model/tables/Date/columns/FW RelativeQuarterPos.json new file mode 100644 index 0000000..6f8d690 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW RelativeQuarterPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW RelativeQuarterPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW RelativeQuarterPos]", + "lineageTag": "ef5831d7-69ac-4458-86db-e15a6ba8cd9e", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW RelativeWeekPos.json b/Dax Date Template Model/tables/Date/columns/FW RelativeWeekPos.json new file mode 100644 index 0000000..89bb9ab --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW RelativeWeekPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW RelativeWeekPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW RelativeWeekPos]", + "lineageTag": "06fd2f99-5750-4813-95a0-b1a727bafb38", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW RelativeYearPos.json b/Dax Date Template Model/tables/Date/columns/FW RelativeYearPos.json new file mode 100644 index 0000000..f3bf754 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW RelativeYearPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW RelativeYearPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW RelativeYearPos]", + "lineageTag": "69cc20c5-0c7a-4588-b2f1-36ee530f561f", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW StartOfMonth.json b/Dax Date Template Model/tables/Date/columns/FW StartOfMonth.json new file mode 100644 index 0000000..e1eb726 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW StartOfMonth.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW StartOfMonth", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW StartOfMonth]", + "formatString": "m/d/yyyy", + "lineageTag": "dac9b504-fc0f-4eef-a6d8-ad83eaa03084", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW StartOfQuarter.json b/Dax Date Template Model/tables/Date/columns/FW StartOfQuarter.json new file mode 100644 index 0000000..207958f --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW StartOfQuarter.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW StartOfQuarter", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW StartOfQuarter]", + "formatString": "m/d/yyyy", + "lineageTag": "fd254e42-9930-4bb6-9bd8-0e68b451896c", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW StartOfWeek.json b/Dax Date Template Model/tables/Date/columns/FW StartOfWeek.json new file mode 100644 index 0000000..f044ab8 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW StartOfWeek.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW StartOfWeek", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW StartOfWeek]", + "formatString": "m/d/yyyy", + "lineageTag": "58e82731-a98b-4499-89d5-c74a6369a062", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW StartOfYear.json b/Dax Date Template Model/tables/Date/columns/FW StartOfYear.json new file mode 100644 index 0000000..874568b --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW StartOfYear.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW StartOfYear", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW StartOfYear]", + "formatString": "m/d/yyyy", + "lineageTag": "3e8955f1-03df-4a78-8832-a284f0ea1cec", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW Week Year.json b/Dax Date Template Model/tables/Date/columns/FW Week Year.json new file mode 100644 index 0000000..8bcb5a1 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW Week Year.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW Week Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW Week Year]", + "sortByColumn": "FW YearWeekNumber", + "lineageTag": "95e5b121-f525-460b-ac78-5e6435c63953", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW Week.json b/Dax Date Template Model/tables/Date/columns/FW Week.json new file mode 100644 index 0000000..56f3eeb --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW Week.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW Week", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[FW Week]", + "sortByColumn": "FW WeekNumber", + "lineageTag": "397c1199-a8d5-45e9-aa77-30824841d4c2", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW WeekNumber.json b/Dax Date Template Model/tables/Date/columns/FW WeekNumber.json new file mode 100644 index 0000000..d1b05ba --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW WeekNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW WeekNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW WeekNumber]", + "formatString": "0", + "lineageTag": "ad13aa79-6b0f-4640-9a53-fc856d4de49d", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW Year.json b/Dax Date Template Model/tables/Date/columns/FW Year.json new file mode 100644 index 0000000..8abd2b9 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW Year.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[FW Year]", + "sortByColumn": "FW YearNumber", + "lineageTag": "4678323e-21d6-4854-8bc4-d99de3b0c9d4", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW YearDays.json b/Dax Date Template Model/tables/Date/columns/FW YearDays.json new file mode 100644 index 0000000..3e15d1c --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW YearDays.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW YearDays", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW YearDays]", + "formatString": "0", + "lineageTag": "b624149d-b575-4531-a67c-1fe484f81645", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW YearMonthNumber.json b/Dax Date Template Model/tables/Date/columns/FW YearMonthNumber.json new file mode 100644 index 0000000..b737992 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW YearMonthNumber.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW YearMonthNumber", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW YearMonthNumber]", + "lineageTag": "d34992a8-045f-4b27-b3a1-9e05ecce9104", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW YearNumber.json b/Dax Date Template Model/tables/Date/columns/FW YearNumber.json new file mode 100644 index 0000000..ac3ee26 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW YearNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW YearNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW YearNumber]", + "formatString": "0", + "lineageTag": "f25c957b-87f5-464f-a541-a7a7aaf9776d", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW YearQuarterNumber.json b/Dax Date Template Model/tables/Date/columns/FW YearQuarterNumber.json new file mode 100644 index 0000000..a81d7e3 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW YearQuarterNumber.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "FW YearQuarterNumber", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW YearQuarterNumber]", + "lineageTag": "925b6611-f504-4cac-9d8d-122f9c0945a1", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/FW YearWeekNumber.json b/Dax Date Template Model/tables/Date/columns/FW YearWeekNumber.json new file mode 100644 index 0000000..ae0aeb9 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/FW YearWeekNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "FW YearWeekNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[FW YearWeekNumber]", + "formatString": "0", + "lineageTag": "6a18cfa8-84d0-4472-8b98-db9e6e316086", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousMonth.json b/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousMonth.json new file mode 100644 index 0000000..a5b3ba1 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousMonth.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal DatePreviousMonth", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal DatePreviousMonth]", + "formatString": "m/d/yyyy", + "lineageTag": "b8c9a8d1-493f-49c3-b97c-c8938f95a9dc", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousQuarter.json b/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousQuarter.json new file mode 100644 index 0000000..e71f928 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousQuarter.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal DatePreviousQuarter", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal DatePreviousQuarter]", + "formatString": "m/d/yyyy", + "lineageTag": "a680108f-22c3-4cb8-89c1-31586e896d04", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousWeek.json b/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousWeek.json new file mode 100644 index 0000000..450a946 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousWeek.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal DatePreviousWeek", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal DatePreviousWeek]", + "formatString": "m/d/yyyy", + "lineageTag": "7af3f849-b988-4650-9392-4f39e75781de", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousYear.json b/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousYear.json new file mode 100644 index 0000000..5706f4c --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal DatePreviousYear.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal DatePreviousYear", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal DatePreviousYear]", + "formatString": "m/d/yyyy", + "lineageTag": "1b5226c9-7d58-4e9f-bfd9-00a781fc813e", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal DayOfMonthNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal DayOfMonthNumber.json new file mode 100644 index 0000000..f87bf3f --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal DayOfMonthNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal DayOfMonthNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal DayOfMonthNumber]", + "formatString": "0", + "lineageTag": "215e6ba6-2f15-47b3-98ec-065219234f44", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal DayOfQuarterNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal DayOfQuarterNumber.json new file mode 100644 index 0000000..ef0658a --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal DayOfQuarterNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal DayOfQuarterNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal DayOfQuarterNumber]", + "formatString": "0", + "lineageTag": "34607b1b-3fa0-4b89-97e1-51824c43b60c", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal DayOfYearNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal DayOfYearNumber.json new file mode 100644 index 0000000..1d70886 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal DayOfYearNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal DayOfYearNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal DayOfYearNumber]", + "formatString": "0", + "lineageTag": "0175da40-da49-430f-a466-06c73c96265d", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal EndOfMonth.json b/Dax Date Template Model/tables/Date/columns/Fiscal EndOfMonth.json new file mode 100644 index 0000000..2799454 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal EndOfMonth.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal EndOfMonth", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal EndOfMonth]", + "formatString": "m/d/yyyy", + "lineageTag": "52d15109-a39c-4c42-a4b4-734b7115618f", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal EndOfQuarter.json b/Dax Date Template Model/tables/Date/columns/Fiscal EndOfQuarter.json new file mode 100644 index 0000000..38d4b3f --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal EndOfQuarter.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal EndOfQuarter", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal EndOfQuarter]", + "formatString": "m/d/yyyy", + "lineageTag": "1def2477-dfcc-4706-9256-99f0eefc2a9e", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal EndOfYear.json b/Dax Date Template Model/tables/Date/columns/Fiscal EndOfYear.json new file mode 100644 index 0000000..67c4872 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal EndOfYear.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal EndOfYear", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal EndOfYear]", + "formatString": "m/d/yyyy", + "lineageTag": "fa907f51-a870-4804-b5d9-61ab287ca59b", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal Month Year.json b/Dax Date Template Model/tables/Date/columns/Fiscal Month Year.json new file mode 100644 index 0000000..589a984 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal Month Year.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal Month Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal Month Year]", + "sortByColumn": "Fiscal YearMonthNumber", + "lineageTag": "93fb1cff-4a11-4f2c-9d98-00fc8ca22ea3", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal Month.json b/Dax Date Template Model/tables/Date/columns/Fiscal Month.json new file mode 100644 index 0000000..9b99fe4 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal Month.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal Month", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Fiscal Month]", + "sortByColumn": "Fiscal MonthNumber", + "lineageTag": "c8ac55e9-ce8a-4dc5-a454-8cef7261f18e", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal MonthDays.json b/Dax Date Template Model/tables/Date/columns/Fiscal MonthDays.json new file mode 100644 index 0000000..4505ea7 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal MonthDays.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal MonthDays", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal MonthDays]", + "formatString": "0", + "lineageTag": "71a6190e-2a95-49f2-b740-d39d00ec1f9b", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal MonthNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal MonthNumber.json new file mode 100644 index 0000000..f381334 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal MonthNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal MonthNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal MonthNumber]", + "formatString": "0", + "lineageTag": "3f557d30-941d-4fea-a5fa-220d2187bc94", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal Quarter Year.json b/Dax Date Template Model/tables/Date/columns/Fiscal Quarter Year.json new file mode 100644 index 0000000..d26d23a --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal Quarter Year.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal Quarter Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal Quarter Year]", + "sortByColumn": "Fiscal YearQuarterNumber", + "lineageTag": "e6b3f9e4-f92b-48b2-a8d2-d000e78f0bfa", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal Quarter.json b/Dax Date Template Model/tables/Date/columns/Fiscal Quarter.json new file mode 100644 index 0000000..144c241 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal Quarter.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal Quarter", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Fiscal Quarter]", + "sortByColumn": "Fiscal QuarterNumber", + "lineageTag": "631597b3-38ce-4058-a0a7-17fd0c1782c5", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal QuarterDays.json b/Dax Date Template Model/tables/Date/columns/Fiscal QuarterDays.json new file mode 100644 index 0000000..6aa8dc5 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal QuarterDays.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal QuarterDays", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal QuarterDays]", + "formatString": "0", + "lineageTag": "fdb7f779-9174-494b-aa76-538fb0d71062", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal QuarterNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal QuarterNumber.json new file mode 100644 index 0000000..028b1a6 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal QuarterNumber.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal QuarterNumber", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal QuarterNumber]", + "lineageTag": "2a240c4d-9e66-4776-b7f8-7fdb4e669108", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal RelativeMonthPos.json b/Dax Date Template Model/tables/Date/columns/Fiscal RelativeMonthPos.json new file mode 100644 index 0000000..f2ff5fc --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal RelativeMonthPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal RelativeMonthPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal RelativeMonthPos]", + "lineageTag": "df3db872-e0d4-4ed3-985e-0bd541e93820", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal RelativeQuarterPos.json b/Dax Date Template Model/tables/Date/columns/Fiscal RelativeQuarterPos.json new file mode 100644 index 0000000..c894679 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal RelativeQuarterPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal RelativeQuarterPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal RelativeQuarterPos]", + "lineageTag": "88006ad8-5969-4a27-bf6a-aeaaf0797f12", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal RelativeWeekPos.json b/Dax Date Template Model/tables/Date/columns/Fiscal RelativeWeekPos.json new file mode 100644 index 0000000..5249d8e --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal RelativeWeekPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal RelativeWeekPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal RelativeWeekPos]", + "lineageTag": "817ba951-9b3b-415a-8522-8dddf6bf4996", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal RelativeYearPos.json b/Dax Date Template Model/tables/Date/columns/Fiscal RelativeYearPos.json new file mode 100644 index 0000000..3086ce4 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal RelativeYearPos.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal RelativeYearPos", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal RelativeYearPos]", + "lineageTag": "e6560553-96f2-4159-b151-73bc14b822f5", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal StartOfMonth.json b/Dax Date Template Model/tables/Date/columns/Fiscal StartOfMonth.json new file mode 100644 index 0000000..ba128e8 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal StartOfMonth.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal StartOfMonth", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal StartOfMonth]", + "formatString": "m/d/yyyy", + "lineageTag": "a59dd6c3-034d-4437-ad5b-b18b925e7142", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal StartOfQuarter.json b/Dax Date Template Model/tables/Date/columns/Fiscal StartOfQuarter.json new file mode 100644 index 0000000..b406fe3 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal StartOfQuarter.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal StartOfQuarter", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal StartOfQuarter]", + "formatString": "m/d/yyyy", + "lineageTag": "490118f2-ed2e-4327-a94c-7453822bdff2", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal StartOfYear.json b/Dax Date Template Model/tables/Date/columns/Fiscal StartOfYear.json new file mode 100644 index 0000000..4019e40 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal StartOfYear.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal StartOfYear", + "dataType": "dateTime", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal StartOfYear]", + "formatString": "m/d/yyyy", + "lineageTag": "e83f5e7c-8238-49df-a725-a30685757691", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "DateTime#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal Week Year.json b/Dax Date Template Model/tables/Date/columns/Fiscal Week Year.json new file mode 100644 index 0000000..b28da3d --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal Week Year.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal Week Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal Week Year]", + "sortByColumn": "Fiscal WeekYearOrder", + "lineageTag": "ccfbba39-eb7c-485c-a841-315746d1cae4", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal Week.json b/Dax Date Template Model/tables/Date/columns/Fiscal Week.json new file mode 100644 index 0000000..636b5da --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal Week.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal Week", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Fiscal Week]", + "sortByColumn": "Fiscal WeekNumber", + "lineageTag": "6e34a82d-c44e-4f11-b58c-6cc3ab1c4c2c", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal WeekNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal WeekNumber.json new file mode 100644 index 0000000..1ef5e6a --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal WeekNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal WeekNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal WeekNumber]", + "formatString": "0", + "lineageTag": "4b473cea-6de6-4730-b7bb-5dc5fae56c0b", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal WeekYearOrder.json b/Dax Date Template Model/tables/Date/columns/Fiscal WeekYearOrder.json new file mode 100644 index 0000000..e9ce698 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal WeekYearOrder.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal WeekYearOrder", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal WeekYearOrder]", + "formatString": "0", + "lineageTag": "decfbb1c-4c60-421a-b526-bf3ab41efa3f", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal Year.json b/Dax Date Template Model/tables/Date/columns/Fiscal Year.json new file mode 100644 index 0000000..1598ef4 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal Year.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal Year", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Fiscal Year]", + "sortByColumn": "Fiscal YearNumber", + "lineageTag": "3dd65839-24dc-4b2e-977d-7f848fcb7357", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal YearDays.json b/Dax Date Template Model/tables/Date/columns/Fiscal YearDays.json new file mode 100644 index 0000000..5b4f0a5 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal YearDays.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal YearDays", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal YearDays]", + "formatString": "0", + "lineageTag": "73f3f80a-5e04-4446-ab1f-e89ca3758623", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal YearMonthNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal YearMonthNumber.json new file mode 100644 index 0000000..f7d6326 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal YearMonthNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal YearMonthNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal YearMonthNumber]", + "formatString": "0", + "lineageTag": "7676cc8c-fd31-490a-a022-532f5c16c3a1", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal YearNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal YearNumber.json new file mode 100644 index 0000000..5349de4 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal YearNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal YearNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal YearNumber]", + "formatString": "0", + "lineageTag": "7565450a-95ee-4601-a764-26eff8351537", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal YearQuarterNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal YearQuarterNumber.json new file mode 100644 index 0000000..b0e83ef --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal YearQuarterNumber.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal YearQuarterNumber", + "dataType": "double", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal YearQuarterNumber]", + "lineageTag": "3ae7f51b-0f16-4df5-acee-9406683a0d58", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Double#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Fiscal YearWeekNumber.json b/Dax Date Template Model/tables/Date/columns/Fiscal YearWeekNumber.json new file mode 100644 index 0000000..73bdd51 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Fiscal YearWeekNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Fiscal YearWeekNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Fiscal YearWeekNumber]", + "formatString": "0", + "lineageTag": "276f2fc1-b8cd-4b43-b2b8-939db7a465c9", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Holiday Name.json b/Dax Date Template Model/tables/Date/columns/Holiday Name.json new file mode 100644 index 0000000..13ed74a --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Holiday Name.json @@ -0,0 +1,24 @@ +{ + "type": "calculatedTableColumn", + "name": "Holiday Name", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Holiday Name]", + "lineageTag": "83231b28-237c-4e9b-84db-5328d34a6180", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/IsWorkingDay.json b/Dax Date Template Model/tables/Date/columns/IsWorkingDay.json new file mode 100644 index 0000000..cf7dd37 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/IsWorkingDay.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "IsWorkingDay", + "dataType": "boolean", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[IsWorkingDay]", + "formatString": "\"TRUE\";\"TRUE\";\"FALSE\"", + "lineageTag": "9dc11242-a7ea-4edd-ab07-2b1e810a93e8", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Boolean#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Sequential365DayNumber.json b/Dax Date Template Model/tables/Date/columns/Sequential365DayNumber.json new file mode 100644 index 0000000..cb23499 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Sequential365DayNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "Sequential365DayNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[Sequential365DayNumber]", + "formatString": "0", + "lineageTag": "2d57871b-c1c0-4dff-b677-5f6facc77ae7", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/Week Day.json b/Dax Date Template Model/tables/Date/columns/Week Day.json new file mode 100644 index 0000000..2616d5b --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/Week Day.json @@ -0,0 +1,25 @@ +{ + "type": "calculatedTableColumn", + "name": "Week Day", + "dataType": "string", + "isNameInferred": true, + "isDataTypeInferred": true, + "sourceColumn": "[Week Day]", + "sortByColumn": "WeekDayNumber", + "lineageTag": "b7142767-3b27-4e77-9e0b-c13091467130", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "Automatic" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "String#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/columns/WeekDayNumber.json b/Dax Date Template Model/tables/Date/columns/WeekDayNumber.json new file mode 100644 index 0000000..d7b49d3 --- /dev/null +++ b/Dax Date Template Model/tables/Date/columns/WeekDayNumber.json @@ -0,0 +1,26 @@ +{ + "type": "calculatedTableColumn", + "name": "WeekDayNumber", + "dataType": "int64", + "isNameInferred": true, + "isDataTypeInferred": true, + "isHidden": true, + "sourceColumn": "[WeekDayNumber]", + "formatString": "0", + "lineageTag": "1fbc43e4-5f4c-4d71-8790-6fd99a72d2a6", + "summarizeBy": "none", + "annotations": [ + { + "name": "SummarizationSetBy", + "value": "User" + }, + { + "name": "Format", + "value": "" + }, + { + "name": "DataTypeAtRefresh", + "value": "Int64#####not a type" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/Calendar Months.json b/Dax Date Template Model/tables/Date/hierarchies/Calendar Months.json new file mode 100644 index 0000000..8b6eb15 --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/Calendar Months.json @@ -0,0 +1,18 @@ +{ + "name": "Calendar Months", + "lineageTag": "ed0a8d92-cd1b-4432-b2a8-b36389ebffaa", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "Calendar Year", + "lineageTag": "c8dbd3c2-0049-4339-94b3-5cdbd177f24e" + }, + { + "name": "Month", + "ordinal": 1, + "column": "Calendar Month Year", + "lineageTag": "2b631b3c-0c5c-494d-a0c3-29086bdef002" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/Calendar Quarters.json b/Dax Date Template Model/tables/Date/hierarchies/Calendar Quarters.json new file mode 100644 index 0000000..bbd52ac --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/Calendar Quarters.json @@ -0,0 +1,24 @@ +{ + "name": "Calendar Quarters", + "lineageTag": "0518b37e-d586-409c-bc07-f7126008a46b", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "Calendar Year", + "lineageTag": "4c07ff82-1d41-432d-aa3a-c9c7b76d6861" + }, + { + "name": "Quarter", + "ordinal": 1, + "column": "Calendar Quarter Year", + "lineageTag": "d5973cdc-173f-4eff-b312-c4270844be6b" + }, + { + "name": "Month", + "ordinal": 2, + "column": "Calendar Month Year", + "lineageTag": "a676a07d-772d-4fce-8158-4e91e582c129" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/Calendar Weeks.json b/Dax Date Template Model/tables/Date/hierarchies/Calendar Weeks.json new file mode 100644 index 0000000..69e1e0e --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/Calendar Weeks.json @@ -0,0 +1,18 @@ +{ + "name": "Calendar Weeks", + "lineageTag": "f7a6a5ad-986d-4b8e-b059-ce0a44a4d705", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "Calendar Year", + "lineageTag": "0f3b3c61-030c-4ce4-ae5f-e8257c650912" + }, + { + "name": "Week", + "ordinal": 1, + "column": "Calendar Week Year", + "lineageTag": "ff198c21-c134-4572-8816-62171e7ca711" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/FW Months.json b/Dax Date Template Model/tables/Date/hierarchies/FW Months.json new file mode 100644 index 0000000..a109a45 --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/FW Months.json @@ -0,0 +1,18 @@ +{ + "name": "FW Months", + "lineageTag": "8104a2d2-72a8-4172-8bd1-bdb4bf32cd5c", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "FW Year", + "lineageTag": "382058b0-4525-49e2-8759-d4c4638c568e" + }, + { + "name": "Month", + "ordinal": 1, + "column": "FW Month", + "lineageTag": "659b6002-003c-4446-afcd-0766183249fb" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/FW Periods.json b/Dax Date Template Model/tables/Date/hierarchies/FW Periods.json new file mode 100644 index 0000000..e6034ce --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/FW Periods.json @@ -0,0 +1,24 @@ +{ + "name": "FW Periods", + "lineageTag": "d79904a7-dff3-4915-9d9b-3cdd7064a43e", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "FW Year", + "lineageTag": "8b6d9292-f422-4230-84d4-14b51fc3e589" + }, + { + "name": "Period", + "ordinal": 1, + "column": "FW Period", + "lineageTag": "82cf16d4-080d-48fe-88f9-56b30aa111b3" + }, + { + "name": "Week", + "ordinal": 2, + "column": "FW EndOfWeek", + "lineageTag": "58535de5-a586-49ae-9489-a9aa6b6a4fa1" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/FW Quarters.json b/Dax Date Template Model/tables/Date/hierarchies/FW Quarters.json new file mode 100644 index 0000000..8d4c7bb --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/FW Quarters.json @@ -0,0 +1,24 @@ +{ + "name": "FW Quarters", + "lineageTag": "ff1096b1-e030-45d8-8a0d-e1b19feb2e0e", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "FW Year", + "lineageTag": "5f231959-0180-4b81-8912-283c4afde2a7" + }, + { + "name": "Quarter", + "ordinal": 1, + "column": "FW Quarter", + "lineageTag": "07b81e6d-fa42-4d73-a5e7-c2471b6768d1" + }, + { + "name": "Month", + "ordinal": 2, + "column": "FW Month", + "lineageTag": "26cb4fe3-dea0-490d-9a39-be967996ef0b" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/FW Weeks.json b/Dax Date Template Model/tables/Date/hierarchies/FW Weeks.json new file mode 100644 index 0000000..56c23ee --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/FW Weeks.json @@ -0,0 +1,18 @@ +{ + "name": "FW Weeks", + "lineageTag": "6f63dea5-2fb1-4c9d-974f-52277b45c653", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "FW Year", + "lineageTag": "68a4cde5-fab0-4d63-80aa-f4331e4bc1e5" + }, + { + "name": "Week", + "ordinal": 1, + "column": "FW EndOfWeek", + "lineageTag": "2adff255-1fd8-43e8-bd90-68c8934c7800" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/Fiscal Months.json b/Dax Date Template Model/tables/Date/hierarchies/Fiscal Months.json new file mode 100644 index 0000000..72acc55 --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/Fiscal Months.json @@ -0,0 +1,18 @@ +{ + "name": "Fiscal Months", + "lineageTag": "35b9bae7-cb8a-42d6-9e2c-3009b0bdc30a", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "Fiscal Year", + "lineageTag": "bf52d660-4d5c-4f34-ba24-07e3cea9e45d" + }, + { + "name": "Month", + "ordinal": 1, + "column": "Fiscal Month", + "lineageTag": "94171e00-546c-4326-95a9-aed3bae7fc3c" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/Fiscal Quarters.json b/Dax Date Template Model/tables/Date/hierarchies/Fiscal Quarters.json new file mode 100644 index 0000000..4db600c --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/Fiscal Quarters.json @@ -0,0 +1,24 @@ +{ + "name": "Fiscal Quarters", + "lineageTag": "8c847d79-cd02-46da-b3ec-5c89aa104b91", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "Fiscal Year", + "lineageTag": "865dbca0-aee9-4310-8e8b-9e8c5fff4296" + }, + { + "name": "Quarter", + "ordinal": 1, + "column": "Fiscal Quarter", + "lineageTag": "43e0c658-151e-47af-a4de-3573da469fb0" + }, + { + "name": "Month", + "ordinal": 2, + "column": "Fiscal Month", + "lineageTag": "7869ea4d-d4cd-4e61-9749-b5d252cf29f2" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/hierarchies/Fiscal Weeks.json b/Dax Date Template Model/tables/Date/hierarchies/Fiscal Weeks.json new file mode 100644 index 0000000..1bf8dee --- /dev/null +++ b/Dax Date Template Model/tables/Date/hierarchies/Fiscal Weeks.json @@ -0,0 +1,18 @@ +{ + "name": "Fiscal Weeks", + "lineageTag": "c37e41ca-4b10-4f53-8717-a1c1a79aaecd", + "levels": [ + { + "name": "Year", + "ordinal": 0, + "column": "Fiscal Year", + "lineageTag": "9064ee94-99a8-45be-9245-e1b493f08b1b" + }, + { + "name": "Week", + "ordinal": 1, + "column": "Fiscal Week Year", + "lineageTag": "eb629680-9e57-4a3f-aeaa-87a0cc182b2f" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/measures/Period.json b/Dax Date Template Model/tables/Date/measures/Period.json new file mode 100644 index 0000000..2b88838 --- /dev/null +++ b/Dax Date Template Model/tables/Date/measures/Period.json @@ -0,0 +1,17 @@ +{ + "name": "Period", + "expression": [ + "", + "VAR FirstDay = MIN ( 'Date'[Date] )", + "VAR LastDay = MAX ( 'Date'[Date] )", + "RETURN ", + " FORMAT ( FirstDay, \"dd MMM yy\" ) & \" - \" & FORMAT ( LastDay, \"dd MMM yy\" ) " + ], + "lineageTag": "ff578860-8aaf-4a4a-9675-7963a5775a03", + "annotations": [ + { + "name": "Format", + "value": "" + } + ] +} \ No newline at end of file diff --git a/Dax Date Template Model/tables/Date/partitions/Date-e5e43593-f014-4047-9082-dc37b82a4652.json b/Dax Date Template Model/tables/Date/partitions/Date-e5e43593-f014-4047-9082-dc37b82a4652.json new file mode 100644 index 0000000..0898055 --- /dev/null +++ b/Dax Date Template Model/tables/Date/partitions/Date-e5e43593-f014-4047-9082-dc37b82a4652.json @@ -0,0 +1,1532 @@ +{ + "name": "Date-e5e43593-f014-4047-9082-dc37b82a4652", + "mode": "import", + "source": { + "type": "calculated", + "expression": [ + "", + "------------------------------------------------------------", + "--", + "-- Configuration", + "--", + "------------------------------------------------------------", + "VAR TodayReference =", + " TODAY () -- Change this if you need to use another date as a reference \"current\" day", + "VAR FirstYear = 2019", + "VAR LastYear = ", + " YEAR ( TodayReference )", + "VAR FiscalCalendarFirstMonth = 1 -- For Fiscal 52-53 weeks (start depends on rules) and Gregorian (starts on the first of the month) ", + "VAR FirstDayOfWeek = 0 -- Use: 0 - Sunday, 1 - Monday, 2 - Tuesday, ... 5 - Friday, 6 - Saturday", + "VAR TypeStartFiscalYear = 1 -- Fiscal year as Calendar Year of : 0 - First day of fiscal year, 1 - Last day of fiscal year", + "VAR IsoCountryHolidays = \"US\" -- Use only supported ISO countries or \"\" for no holidays", + "VAR WeeklyType = \"Last\" -- Use: \"Nearest\" or \"Last\" ", + "VAR QuarterWeekType = \"445\" -- Supports only \"445\", \"454\", and \"544\"", + "VAR CalendarRange = \"Calendar\" -- Supports \"Calendar\", \"FiscalGregorian\", \"FiscalWeekly\"", + "-- Last: for last weekday of the month at fiscal year end", + "-- Nearest: for last weekday nearest the end of month ", + "-- Reference for Last/Nearest definition: https://en.wikipedia.org/wiki/4%E2%80%934%E2%80%935_calendar)", + "--", + "-- For ISO calendar use ", + "-- FiscalCalendarFirstMonth = 1 (ISO always starts in January)", + "-- FirstDayOfWeek = 1 (ISO always starts on Monday)", + "-- WeeklyType = \"Nearest\" (ISO use the nearest week type algorithm)", + "-- For US with last Saturday of the month at fiscal year end", + "-- FirstDayOfWeek = 0 (US weeks start on Sunday)", + "-- WeeklyType = \"Last\"", + "-- For US with last Saturday nearest the end of month", + "-- FirstDayOfWeek = 0 (US weeks start on Sunday)", + "-- WeeklyType = \"Nearest\"", + "--", + "------------------------------", + "VAR CalendarGregorianPrefix = \"\" -- Prefix used in columns of standard Gregorian calendar", + "VAR FiscalGregorianPrefix = \"F\" -- Prefix used in columns of fiscal Gregorian calendar", + "VAR FiscalWeeklyPrefix = \"FW \" -- Prefix used in columns of fiscal weekly calendar", + "VAR WorkingDayType = \"Working day\" -- Description for working days", + "VAR NonWorkingDayType = \"Non-working day\" -- Description for non-working days", + "------------------------------", + "VAR WeeklyCalendarType = \"Weekly\" -- Supports \"Weekly\", \"Custom\"", + "-- Set the working days - 0 = Sunday, 1 = Monday, ... 6 = Saturday", + "VAR WorkingDays =", + " DATATABLE ( \"WorkingDayNumber\", INTEGER, { { 1 }, { 2 }, { 3 }, { 4 }, { 5 } } ) --", + "", + "-- Use CustomFiscalPeriods in case you need arbitrary definition of weekly fiscal years ", + "-- Set \"UseCustomFiscalPeriods\" to TRUE in order to use CustomFiscalPeriods ", + "VAR UseCustomFiscalPeriods = FALSE", + "-- Set \"IgnoreWeeklyFiscalPeriods\" to TRUE in order to ignore the WeeklyFiscalPeriods", + "-- You should set IgnoreWeeklyFiscalPeriods to TRUE only when UseCustomFiscalPeriods is TRUE, too", + "VAR IgnoreWeeklyFiscalPeriods = FALSE", + "-- Include here your own definition of custom fiscal periods", + "VAR CustomFiscalPeriods =", + " FILTER ( ", + " DATATABLE (", + " \"Fiscal YearNumber\", INTEGER,", + " \"FirstDayOfYear\", DATETIME,", + " \"LastDayOfYear\", DATETIME,", + " {", + " \t\t\t-- IMPORTANT!!! The first day of each year must be a weekday corresponding to the definition of FirstDayOfWeek", + " \t\t\t-- If you want to use this table, remember to set the UseCustomFiscalPeriods variable to TRUE", + " \t\t\t-- If the IgnoreWeeklyFiscalPeriods is TRUE, there are no warnings in case the FirstDayOfWeek ", + " \t\t\t-- does not match the first day of the year ", + " { 2016, \"2015-06-28\", \"2016-07-02\" },", + " { 2017, \"2016-07-03\", \"2017-07-01\" },", + " { 2018, \"2017-07-02\", \"2018-06-30\" },", + " { 2019, \"2018-07-01\", \"2019-06-29\" }", + " }", + " ),", + " UseCustomFiscalPeriods", + " )", + "", + "------------------------------------------------------------", + "-- ", + "-- End of General Configuration", + "--", + "------------------------------------------------------------", + "-- ", + "-- The following variables define specific parameters ", + "-- for calendars - you should modify them only to ", + "-- change configuration of specific countries, translate ", + "-- names of holidays, or to add configuration for other ", + "-- countries", + "--", + "------------------------------------------------------------", + "VAR InLieuOf_prefix = \"(in lieu of \" -- prefix of substitute holidays", + "VAR InLieuOf_suffix = \")\" -- prefix of substitute holidays", + "VAR HolidayParameters =", + " DATATABLE (", + " \"ISO Country\", STRING,", + " -- ISO country code (to enable filter based on country)", + " \"MonthNumber\", INTEGER,", + " -- Number of month - use 99 for relative dates using Easter as a reference", + " \"DayNumber\", INTEGER,", + " -- Absolute day (ignore WeekDayNumber, otherwise use 0)", + " \"WeekDayNumber\", INTEGER,", + " -- 0 = Sunday, 1 = Monday, ... , 7 = Saturday", + " \"OffsetWeek\", INTEGER,", + " -- 1 = first, 2 = second, ... -1 = last, -2 = second-last, ...", + " \"OffsetDays\", INTEGER,", + " -- days to add after offsetWeek and WeekDayNumber have been applied", + " \"HolidayName\", STRING,", + " -- Holiday name ", + " \"SubstituteHoliday\", INTEGER,", + " -- 0 = no substituteHoliday, 1 = substitute holiday with next working day, 2 = substitute holiday with next working day ", + " -- (use 2 before 1 only, e.g. Christmas = 2, Boxing Day = 1)", + " \"ConflictPriority\", INTEGER,", + " -- Priority in case of two or more holidays in the same date - lower number --> higher priority", + " -- For example: marking Easter relative days with 150 and other holidays with 100 means that other holidays take ", + " -- precedence over Easter-related days; use 50 for Easter related holidays to invert such a priority", + " {", + " --", + " -- US = United States", + " { \"US\", 1, 1, 0, 0, 0, \"New Year's Day\", 0, 100 },", + " { \"US\", 1, 0, 1, 3, 0, \"Martin Luther King, Jr.\", 0, 100 },", + " { \"US\", 2, 0, 1, 3, 0, \"Presidents' Day\", 0, 100 },", + " // aka Washington's Birthday", + " { \"US\", 5, 0, 1, -1, 0, \"Memorial Day\", 0, 100 },", + " { \"US\", 7, 4, 0, 0, 0, \"Independence Day\", 0, 100 },", + " { \"US\", 9, 0, 1, 1, 0, \"Labor Day\", 0, 100 },", + " { \"US\", 10, 0, 1, 2, 0, \"Columbus Day\", 0, 100 },", + " { \"US\", 11, 11, 0, 0, 0, \"Veterans Day\", 0, 100 },", + " { \"US\", 11, 0, 4, 4, 0, \"Thanksgiving Day\", 0, 100 },", + " { \"US\", 11, 0, 4, 4, 1, \"Black Friday\", 0, 100 },", + " { \"US\", 12, 25, 0, 0, 0, \"Christmas Day\", 0, 100 },", + " --", + " -- CA = Canada (include only nationwide and Thanksgiving)", + " { \"CA\", 1, 1, 0, 0, 0, \"New Year's Day\", 0, 100 },", + " { \"CA\", 99, -2, 0, 0, 0, \"Good Friday\", 0, 50 },", + " { \"CA\", 7, 1, 0, 0, 0, \"Canada Day\", 0, 100 },", + " { \"CA\", 9, 0, 1, 1, 0, \"Labour Day\", 0, 100 },", + " { \"CA\", 10, 0, 1, 2, 0, \"Thanksgiving\", 0, 100 },", + " { \"CA\", 12, 25, 0, 0, 0, \"Christmas Day\", 0, 100 },", + " --", + " -- UK = England (different configuration in Scotland and Northern Ireland)", + " { \"UK\", 1, 1, 0, 0, 0, \"New Year's Day\", 1, 100 },", + " { \"UK\", 99, -2, 0, 0, 0, \"Good Friday\", 0, 50 },", + " { \"UK\", 99, 1, 0, 0, 0, \"Easter Monday\", 0, 50 },", + " { \"UK\", 5, 0, 1, 1, 0, \"May Day Bank Holiday\", 0, 100 },", + " { \"UK\", 5, 0, 1, -1, 0, \"Spring Bank Holiday\", 0, 100 },", + " { \"UK\", 8, 0, 1, -1, 0, \"Late Summer Bank Holiday\", 0, 100 },", + " { \"UK\", 12, 25, 0, 0, 0, \"Christmas Day\", 2, 100 },", + " { \"UK\", 12, 26, 0, 0, 0, \"Boxing Day\", 1, 100 },", + " --", + " -- AU = Australia", + " { \"AU\", 1, 1, 0, 0, 0, \"New Year's Day\", 1, 100 },", + " { \"AU\", 1, 26, 0, 0, 0, \"Australia Day\", 1, 100},", + " { \"AU\", 99, -2, 0, 0, 0, \"Good Friday\", 0, 50 },", + " { \"AU\", 99, 1, 0, 0, 0, \"Easter Monday\", 0, 50 },", + " { \"AU\", 4, 25, 0, 0, 0, \"Anzac Day\", 1, 100 },", + " { \"AU\", 12, 25, 0, 0, 0, \"Christmas Day\", 2, 100 },", + " { \"AU\", 12, 26, 0, 0, 0, \"Boxing Day\", 1, 100 },", + " --", + " -- DE = Germany", + " { \"DE\", 1, 1, 0, 0, 0, \"New Year's Day\", 0, 100 },", + " { \"DE\", 99, -2, 0, 0, 0, \"Good Friday\", 0, 50 },", + " { \"DE\", 99, 1, 0, 0, 0, \"Easter Monday\", 0, 50 },", + " { \"DE\", 5, 1, 0, 0, 0, \"Labour Day\", 0, 100 },", + " { \"DE\", 99, 39, 0, 0, 0, \"Ascension Day\", 0, 50 },", + " { \"DE\", 99, 50, 0, 0, 0, \"Whit Monday\", 0, 50 },", + " { \"DE\", 10, 3, 0, 0, 0, \"German Unity Day\", 0, 100 },", + " { \"DE\", 12, 25, 0, 0, 0, \"Christmas Day\", 0, 100 },", + " { \"DE\", 12, 26, 0, 0, 0, \"St. Stephen's Day\", 0, 100 },", + " --", + " -- FR = France", + " { \"FR\", 1, 1, 0, 0, 0, \"New Year's Day\", 0, 100 },", + " { \"FR\", 99, 1, 0, 0, 0, \"Easter Monday\", 0, 50 },", + " { \"FR\", 5, 1, 0, 0, 0, \"Labour Day\", 0, 100 },", + " { \"FR\", 5, 8, 0, 0, 0, \"Victor in Europe Day\", 0, 100 },", + " { \"FR\", 99, 39, 0, 0, 0, \"Ascension Day\", 0, 50 },", + " { \"FR\", 99, 50, 0, 0, 0, \"Whit Monday\", 0, 50 },", + " { \"FR\", 7, 14, 0, 0, 0, \"Bastille Day\", 0, 100 },", + " { \"FR\", 8, 15, 0, 0, 0, \"Assumption Day\", 0, 100 },", + " { \"FR\", 11, 1, 0, 0, 0, \"All Saints' Day\", 0, 100 },", + " { \"FR\", 11, 11, 0, 0, 0, \"Armistice Day\", 0, 100 },", + " { \"FR\", 12, 25, 0, 0, 0, \"Christmas Day\", 0, 100 },", + " --", + " -- IT = Italy", + " { \"IT\", 1, 1, 0, 0, 0, \"New Year's Day\", 0, 100 },", + " { \"IT\", 1, 6, 0, 0, 0, \"Epiphany\", 0, 100 },", + " { \"IT\", 99, 1, 0, 0, 0, \"Easter Monday\", 0, 100 },", + " { \"IT\", 4, 25, 0, 0, 0, \"Liberation Day\", 0, 100 },", + " { \"IT\", 5, 1, 0, 0, 0, \"Labour Day\", 0, 100 },", + " { \"IT\", 6, 2, 0, 0, 0, \"Republic Day\", 0, 100 },", + " { \"IT\", 8, 15, 0, 0, 0, \"Assumption Day\", 0, 100 },", + " { \"IT\", 11, 1, 0, 0, 0, \"All Saints' Day\", 0, 100 },", + " { \"IT\", 12, 8, 0, 0, 0, \"Immaculate Conception\", 0, 100 },", + " { \"IT\", 12, 25, 0, 0, 0, \"Christmas Day\", 0, 100 },", + " { \"IT\", 12, 26, 0, 0, 0, \"St. Stephen's Day\", 0, 100 },", + " --", + " -- ES = Spain", + " { \"ES\", 1, 1, 0, 0,0, \"New Year's Day\", 0, 100 },", + " { \"ES\", 1, 6, 0, 0, 0, \"Epiphany\", 0, 100 },", + " { \"ES\", 99, -3, 0, 0, 0, \"Maundy Thursday\", 0, 50 },", + " // Except Catalonia", + " { \"ES\", 99, -2, 0, 0, 0, \"Good Friday\", 0, 50 },", + " { \"ES\", 99, 1, 0, 0, 0, \"Easter Monday\", 0, 50 },", + " // Belearic Islands, Basque Country, Catalonia, La Rioja, Navarra and Valenciana only", + " { \"ES\", 5, 1, 0, 0, 0, \"Labour Day\", 0, 100 },", + " { \"ES\", 8, 15, 0, 0, 0, \"Assumption Day\", 0, 100 },", + " { \"ES\", 10, 12, 0, 0, 0, \"Fiesta Navional de España\", 0, 100 },", + " { \"ES\", 11, 1, 0, 0, 0, \"All Saints' Day\", 0, 100 },", + " { \"ES\", 12, 6, 0, 0, 0, \"Constitution Day\", 0, 100 },", + " { \"ES\", 12, 8, 0, 0, 0, \"Immaculate Conception\", 0, 100 },", + " { \"ES\", 12, 25, 0, 0, 0, \"Christmas Day\", 0, 100 },", + " --", + " -- NL = The Netherlands", + " { \"NL\", 1, 1, 0, 0, 0, \"New Year's Day\", 0, 100 },", + " { \"NL\", 99, 1, 0, 0, 0, \"Easter Monday\", 0, 50 },", + " { \"NL\", 99, 39, 0, 0, 0, \"Ascension Day\", 0, 50 },", + " { \"NL\", 99, 50, 0, 0, 0, \"Whit Monday\", 0, 50 },", + " { \"NL\", 4, 27, 0, 0, 0, \"King's Day\", 0, 100 },", + " // King's day shifted to Saturday if on a Sunday - not handled in this calendar", + " { \"NL\", 5, 5, 0, 0, 0, \"Liberation Day\", 0, 100 },", + " { \"NL\", 12, 25, 0, 0, 0, \"Christmas Day\", 0, 100 },", + " { \"NL\", 12, 26, 0, 0, 0, \"St. Stephen's Day\", 0, 100 },", + " --", + " -- SE = Sweden", + " { \"SE\", 1, 1, 0, 0, 0, \"New Year's Day\", 0, 100 },", + " { \"SE\", 1, 6, 0, 0, 0, \"Epiphany\", 0, 100 },", + " { \"SE\", 99, -2, 0, 0, 0, \"Good Friday\", 0, 50 },", + " { \"SE\", 99, 1, 0, 0, 0, \"Easter Monday\", 0, 50 },", + " { \"SE\", 99, 39, 0, 0, 0, \"Ascension Day\", 0, 50 },", + " { \"SE\", 5, 1, 0, 0, 0, \"Labour Day\", 0, 100 },", + " { \"SE\", 6, 6, 0, 0, 0, \"National Day\", 0, 100 },", + " { \"SE\", 12, 25, 0, 0, 0, \"Christmas Day\", 0, 100 },", + " { \"SE\", 12, 26, 0, 0, 0, \"Boxing Day\", 0, 100 },", + " -- De facto Holidays in Sweden - not official public holidays", + " { \"SE\", 12, 24, 0, 0, 0, \"Christmas Eve\", 0, 50 },", + " { \"SE\", 12, 31, 0, 0, 0, \"New Year's Eve\", 0, 50 },", + " { \"SE\", 98, -1, 0, 0, 0, \"Midsummer Eve\", 0, 50 },", + " -- Midsummer Day is a Saturday", + " -- { \"SE\", 98, 0, 0, 0, \"Midsummer Day\", 0, 50 },", + " ------------------------------------------------------------ ", + " --", + " -- BE = Belgium", + " { \"BE\", 1, 1, 0, 0, 0, \"New Year's Day\", 0, 100 },", + " { \"BE\", 99, 1, 0, 0, 0, \"Easter Monday\", 0, 50 },", + " { \"BE\", 99, 39, 0, 0, 0, \"Ascension Day\", 0, 50 },", + " { \"BE\", 99, 50, 0, 0, 0, \"Whit Monday\", 0, 50 },", + " { \"BE\", 5, 1, 0, 0, 0, \"Labour Day\", 0, 100 },", + " { \"BE\", 7, 21, 0, 0, 0, \"Belgian National DayDay\", 0, 100 },", + " { \"BE\", 8, 15, 0, 0, 0, \"Assumption Day\", 0, 100 },", + " { \"BE\", 11, 1, 0, 0, 0, \"All Saints' Day\", 0, 100 },", + " { \"BE\", 11, 11, 0, 0, 0, \"Armistice Day\", 0, 100 },", + " { \"BE\", 12, 25, 0, 0,0, \"Christmas Day\", 0, 100 },", + "\t\t\t--", + " -- PT = Portugal", + " { \"PT\", 1, 1, 0, 0, 0, \"New Year's Day\", 0, 100 },", + " { \"PT\", 99, -2, 0, 0, 0, \"Good Friday\", 0, 50 },", + " { \"PT\", 99, 60, 0, 0, 0, \"Corpus Christi\", 0, 50 },", + " { \"PT\", 4, 25, 0, 0, 0, \"Freedom Day\", 0, 100 },", + " { \"PT\", 5, 1, 0, 0, 0, \"Labour Day\", 0, 100 },", + " { \"PT\", 6, 10, 0, 0, 0, \"Portugal Day\", 0, 100 },", + " { \"PT\", 8, 15, 0, 0, 0, \"Assumption Day\", 0, 100 },", + " { \"PT\", 10, 5, 0, 0, 0, \"Republic Day\", 0, 100 },", + " { \"PT\", 11, 1, 0, 0, 0, \"All Saints' Day\", 0, 100 },", + " { \"PT\", 12, 1, 0, 0, 0, \"Restoration of Independence\", 0, 100 },", + " { \"PT\", 12, 8, 0, 0, 0, \"Immaculate Conception\", 0, 100 },", + " { \"PT\", 12, 25, 0, 0, 0, \"Christmas Day\", 0, 100 }", + "", + " }", + " )", + "VAR HolidayDates_ConfigGeneration =", + " FILTER (", + " HolidayParameters,", + " IF (", + " CONTAINS ( HolidayParameters, [ISO Country], IsoCountryHolidays )", + " || IsoCountryHolidays = \"\",", + " [ISO Country] = IsoCountryHolidays,", + " ERROR ( \"IsoCountryHolidays set to an unsupported contry code\" )", + " )", + " )", + "VAR HolidayDates_GeneratedRawWithDuplicates =", + " GENERATE (", + " GENERATE (", + " GENERATESERIES ( FirstYear - 1, LastYear + 1, 1 ),", + " HolidayDates_ConfigGeneration", + " ),", + " VAR HolidayYear = [Value]", + " VAR EasterDate =", + " -- Code adapted from original VB version from https://www.assa.org.au/edm ", + " VAR EasterYear = HolidayYear", + " VAR FirstDig =", + " INT ( EasterYear / 100 )", + " VAR Remain19 =", + " MOD ( EasterYear, 19 ) //", + " -- Calculate PFM date", + " VAR temp1 =", + " MOD (", + " INT ( ( FirstDig - 15 ) / 2 )", + " + 202", + " - 11 * Remain19", + " + SWITCH (", + " TRUE,", + " FirstDig IN { 21, 24, 25, 27, 28, 29, 30, 31, 32, 34, 35, 38 }, -1,", + " FirstDig IN { 33, 36, 37, 39, 40 }, -2,", + " 0", + " ),", + " 30", + " )", + " VAR tA =", + " temp1 + 21", + " + IF ( temp1 = 29 || ( temp1 = 28 && Remain19 > 10 ), -1 ) // ", + " -- Find the next Sunday", + " VAR tB =", + " MOD ( tA - 19, 7 )", + " VAR tCpre =", + " MOD ( 40 - FirstDig, 4 )", + " VAR tC =", + " tCpre", + " + IF ( tCpre = 3, 1 )", + " + IF ( tCpre > 1, 1 )", + " VAR temp2 =", + " MOD ( EasterYear, 100 )", + " VAR tD =", + " MOD ( temp2 + INT ( temp2 / 4 ), 7 )", + " VAR tE =", + " MOD ( 20 - tB - tC - tD, 7 )", + " + 1", + " VAR d = tA + tE //", + " -- Return the date", + " VAR EasterDay =", + " IF ( d > 31, d - 31, d )", + " VAR EasterMonth =", + " IF ( d > 31, 4, 3 )", + " RETURN", + " DATE ( EasterYear, EasterMonth, EasterDay ) //", + " -- End of code adapted from original VB version from https://www.assa.org.au/edm ", + " VAR SwedishMidSummer =", + " -- Compute the Midsummer day in Swedish - it is the Saturday between 20 and 26 June", + " -- This calculation is valid only for years after 1953 ", + " -- https://sv.wikipedia.org/wiki/Midsommar_i_Sverige", + " VAR __June20 = ", + " DATE ( HolidayYear, 6, 20 )", + " RETURN", + " DATE ( HolidayYear, 6, 20 + (7 - WEEKDAY ( __June20, 1 ) ) )", + " -- End of SwedishMidSummer calculation", + " VAR HolidayDate =", + " SWITCH (", + " TRUE,", + " [DayNumber] <> 0", + " && [WeekDayNumber] <> 0, ERROR ( \"Wrong configuration in HolidayParameters\" ),", + " [DayNumber] <> 0", + " && [MonthNumber] <= 12, DATE ( HolidayYear, [MonthNumber], [DayNumber] ),", + " [MonthNumber] = 99, -- Easter offset", + " EasterDate + [DayNumber],", + " [MonthNumber] = 98, -- Swedish Midsummer Day", + " SwedishMidSummer + [DayNumber],", + " [WeekDayNumber] <> 0,", + " VAR ReferenceDate =", + " DATE ( HolidayYear, 1", + " + MOD ( [MonthNumber] - 1 + IF ( [OffsetWeek] < 0, 1 ), 12 ), 1 )", + " - IF ( [OffsetWeek] < 0, 1 )", + " VAR ReferenceWeekDayNumber =", + " WEEKDAY ( ReferenceDate, 1 ) - 1", + " VAR Offset =", + " [WeekDayNumber] - ReferenceWeekDayNumber", + " + 7 * [OffsetWeek]", + " + IF (", + " [OffsetWeek] > 0,", + " IF ( [WeekDayNumber] >= ReferenceWeekDayNumber, - 7 ),", + " IF ( ReferenceWeekDayNumber >= [WeekDayNumber], 7 )", + " )", + " RETURN", + " ReferenceDate + Offset + [OffsetDays],", + " ERROR ( \"Wrong configuration in HolidayParameters\" )", + " )", + " VAR HolidayDay =", + " WEEKDAY ( HolidayDate, 1 ) - 1", + " VAR SubstituteHolidayOffset =", + " IF (", + " [SubstituteHoliday] > 0", + " && NOT CONTAINS ( WorkingDays, [WorkingDayNumber], HolidayDay ),", + " VAR NextWorkingDay =", + " MINX (", + " FILTER ( WorkingDays, [WorkingDayNumber] > HolidayDay ),", + " [WorkingDayNumber]", + " )", + " VAR SubstituteDay =", + " IF (", + " ISBLANK ( NextWorkingDay ),", + " MINX ( WorkingDays, [WorkingDayNumber] ) + 7,", + " NextWorkingDay", + " )", + " RETURN", + " SubstituteDay - HolidayDay", + " + ( [SubstituteHoliday] - 1 )", + " )", + " RETURN", + " ROW (", + " -- Use DATE function to get a DATE column as a result ", + " \"HolidayDate\", DATE ( YEAR ( HolidayDate ), MONTH ( HolidayDate ), DAY ( HolidayDate ) ),", + " \"SubstituteHolidayOffset\", SubstituteHolidayOffset", + " )", + " ) //", + "VAR HolidayDates_RawDatesUnique = ", + " DISTINCT ( ", + " SELECTCOLUMNS ( ", + " HolidayDates_GeneratedRawWithDuplicates,", + " \"HolidayDateUnique\", [HolidayDate]", + " )", + " )", + "VAR HolidayDates_GeneratedRaw = ", + " GENERATE (", + " HolidayDates_RawDatesUnique,", + " VAR FilterDate = [HolidayDateUnique]", + " RETURN ", + " TOPN (", + " 1,", + " FILTER ( ", + " HolidayDates_GeneratedRawWithDuplicates,", + " [HolidayDate] = FilterDate", + " ),", + " [ConflictPriority],", + " ASC,", + " [HolidayName], ", + " ASC", + " )", + " ) ", + "VAR HolidayDates_GeneratedSubstitutesOffset =", + " SELECTCOLUMNS (", + " FILTER ( HolidayDates_GeneratedRawWithDuplicates, [SubstituteHoliday] > 0 ),", + " \"Value\", [Value],", + " \"ISO Country\", [ISO Country],", + " \"MonthNumber\", [MonthNumber],", + " \"DayNumber\", [DayNumber],", + " \"WeekDayNumber\", [WeekDayNumber],", + " \"OffsetWeek\", [OffsetWeek],", + " \"HolidayName\", [HolidayName],", + " \"SubstituteHoliday\", [SubstituteHoliday],", + " \"ConflictPriority\", [ConflictPriority],", + " \"HolidayDate\", [HolidayDate],", + " \"SubstituteHolidayOffset\", ", + " VAR CurrentHolidayDate = [HolidayDate]", + " VAR CurrentHolidayName = [HolidayName]", + " VAR OriginalSubstituteDate = [HolidayDate] + [SubstituteHolidayOffset]", + " VAR OtherHolidays = ", + " FILTER ( ", + " HolidayDates_GeneratedRawWithDuplicates, ", + " [HolidayDate] <> CurrentHolidayDate", + " || [HolidayName] <> CurrentHolidayName", + " )", + " VAR ConflictDay0 = ", + " CONTAINS ( ", + " OtherHolidays,", + " [HolidayDate], OriginalSubstituteDate", + " )", + " VAR ConflictDay1 = ", + " ConflictDay0 ", + " && CONTAINS ( ", + " OtherHolidays,", + " [HolidayDate], OriginalSubstituteDate + 1", + " )", + " VAR ConflictDay2 = ", + " ConflictDay1 ", + " && CONTAINS ( ", + " OtherHolidays,", + " [HolidayDate], OriginalSubstituteDate + 2", + " )", + " VAR SubstituteOffsetStep1 = [SubstituteHolidayOffset] + ConflictDay0 + ConflictDay1 + ConflictDay2", + " VAR HolidayDateStep1 = CurrentHolidayDate + SubstituteOffsetStep1", + " VAR HolidayDayStep1 =", + " WEEKDAY ( HolidayDateStep1, 1 ) - 1", + " VAR SubstituteHolidayOffsetNonWorkingDays =", + " IF (", + " NOT CONTAINS ( WorkingDays, [WorkingDayNumber], HolidayDayStep1 ),", + " VAR NextWorkingDayStep2 =", + " MINX (", + " FILTER ( WorkingDays, [WorkingDayNumber] > HolidayDayStep1 ),", + " [WorkingDayNumber]", + " )", + " VAR SubstituteDay =", + " IF (", + " ISBLANK ( NextWorkingDayStep2 ),", + " MINX ( WorkingDays, [WorkingDayNumber] ) + 7,", + " NextWorkingDayStep2", + " )", + " RETURN SubstituteDay - HolidayDateStep1", + " )", + " VAR SubstituteOffsetStep2 = SubstituteOffsetStep1 + SubstituteHolidayOffsetNonWorkingDays", + " VAR SubstituteDateStep2 = OriginalSubstituteDate + SubstituteOffsetStep2", + " VAR ConflictDayStep2_0 = ", + " CONTAINS ( ", + " OtherHolidays,", + " [HolidayDate], SubstituteDateStep2", + " )", + " VAR ConflictDayStep2_1 = ", + " ConflictDayStep2_0", + " && CONTAINS ( ", + " OtherHolidays,", + " [HolidayDate], SubstituteDateStep2 + 1", + " )", + " VAR ConflictDayStep2_2 = ", + " ConflictDayStep2_1 ", + " && CONTAINS ( ", + " OtherHolidays,", + " [HolidayDate], SubstituteDateStep2 + 2", + " )", + " VAR FinalSubstituteHolidayOffset = ", + " SubstituteOffsetStep2 + ConflictDayStep2_0 + ConflictDayStep2_1 + ConflictDayStep2_2", + " RETURN", + " FinalSubstituteHolidayOffset", + " )", + "VAR HolidayDates_GeneratedSubstitutesExpanded =", + " ADDCOLUMNS (", + " HolidayDates_GeneratedSubstitutesOffset,", + " \"ReplacementHolidayDate\", [HolidayDate] + [SubstituteHolidayOffset]", + " )", + "VAR HolidayDates_GeneratedSubstitutesUnique =", + " DISTINCT ( ", + " SELECTCOLUMNS ( ", + " HolidayDates_GeneratedSubstitutesExpanded,", + " \"UniuqeReplacementHolidayDate\", [ReplacementHolidayDate]", + " )", + " )", + "VAR HolidayDates_GeneratedSubstitutes =", + " GENERATE (", + " HolidayDates_GeneratedSubstitutesUnique,", + " TOPN (", + " 1,", + " FILTER ( ", + " HolidayDates_GeneratedSubstitutesExpanded,", + " [UniuqeReplacementHolidayDate] = [ReplacementHolidayDate]", + " ),", + " [ConflictPriority],", + " ASC,", + " [HolidayName], ", + " ASC", + " )", + " ) ", + "VAR HolidayDates_Generated =", + " UNION (", + " SELECTCOLUMNS (", + " HolidayDates_GeneratedRaw,", + " \"HolidayDate\", [HolidayDate],", + " \"HolidayName\", [HolidayName]", + " ),", + " SELECTCOLUMNS (", + " FILTER ( HolidayDates_GeneratedSubstitutes, [SubstituteHolidayOffset] <> 0 ), ", + " \"HolidayDate\", [HolidayDate] + [SubstituteHolidayOffset],", + " \"HolidayName\", InLieuOf_prefix & [HolidayName]", + " & InLieuOf_suffix", + " )", + " )", + "-- Alternative way to express holidays: create a table with the list of the dates", + "-- The following table should be used instead of HolidayDates_Generated in the following ", + "-- HolidayDates variable if you want to use a fixed list of holidays", + "VAR HolidayDates_US_ExplicitDates =", + " DATATABLE (", + " \"HolidayDate\", DATETIME,", + " \"HolidayName\", STRING,", + " {", + " { \"2008-01-01\", \"New Year's Day\" },", + " { \"2008-12-25\", \"Christmas Day\" },", + " -------------------------", + " { \"2008-11-27\", \"Thanksgiving Day\" },", + " { \"2009-11-26\", \"Thanksgiving Day\" },", + " { \"2010-11-25\", \"Thanksgiving Day\" },", + " { \"2011-11-24\", \"Thanksgiving Day\" },", + " { \"2012-11-22\", \"Thanksgiving Day\" },", + " { \"2013-11-28\", \"Thanksgiving Day\" },", + " { \"2014-11-27\", \"Thanksgiving Day\" },", + " { \"2015-11-26\", \"Thanksgiving Day\" },", + " { \"2016-11-24\", \"Thanksgiving Day\" },", + " { \"2017-11-23\", \"Thanksgiving Day\" },", + " { \"2018-11-22\", \"Thanksgiving Day\" },", + " { \"2019-11-28\", \"Thanksgiving Day\" },", + " { \"2020-11-26\", \"Thanksgiving Day\" }", + " }", + " )", + "VAR HolidayDates =", + " SELECTCOLUMNS (", + " HolidayDates_Generated,", + " \"Date\", [HolidayDate],", + " \"Holiday Name\", [HolidayName]", + " ) //", + "------------------------------------------------------------", + "-- ", + "-- End of Configuration", + "--", + "------------------------------------------------------------", + "-- ", + "-- The following variables define ", + "-- the content of the calendar tables", + "--", + "------------------------------------------------------------", + "------------------------------------------------------------", + "VAR FirstDayCalendar =", + " DATE ( FirstYear - 1, 1, 1 )", + "VAR LastDayCalendar =", + " DATE ( LastYear + 1, 12, 31 )", + "VAR WeekDayCalculationType =", + " IF ( FirstDayOfWeek = 0, 7, FirstDayOfWeek )", + " + 10", + "VAR OffsetFiscalYear = ", + " IF ( FiscalCalendarFirstMonth > 1, 1, 0 )", + "VAR WeeklyFiscalPeriods =", + " GENERATE (", + " SELECTCOLUMNS (", + " GENERATESERIES ( FirstYear - OffsetFiscalYear, LastYear + OffsetFiscalYear, 1 ),", + " \"CalendarType\", \"Weekly\",", + " \"Fiscal YearNumber\", [Value]", + " ),", + " VAR StartFiscalYearNumber = [Fiscal YearNumber] - (OffsetFiscalYear * TypeStartFiscalYear)", + " VAR FirstDayCurrentYear =", + " DATE ( StartFiscalYearNumber, FiscalCalendarFirstMonth, 1 )", + " VAR FirstDayNextYear =", + " DATE ( StartFiscalYearNumber + 1, FiscalCalendarFirstMonth, 1 )", + " VAR DayOfWeekNumberCurrentYear =", + " WEEKDAY ( FirstDayCurrentYear, WeekDayCalculationType )", + " VAR OffsetStartCurrentFiscalYear =", + " SWITCH (", + " WeeklyType,", + " \"Last\", 1 - DayOfWeekNumberCurrentYear,", + " \"Nearest\", IF (", + " DayOfWeekNumberCurrentYear >= 5,", + " 8 - DayOfWeekNumberCurrentYear,", + " 1 - DayOfWeekNumberCurrentYear", + " ),", + " ERROR ( \"Unkonwn WeeklyType definition\" )", + " )", + " VAR DayOfWeekNumberNextYear =", + " WEEKDAY ( FirstDayNextYear, WeekDayCalculationType )", + " VAR OffsetStartNextFiscalYear =", + " SWITCH (", + " WeeklyType,", + " \"Last\", - DayOfWeekNumberNextYear,", + " \"Nearest\", IF (", + " DayOfWeekNumberNextYear >= 5,", + " 7 - DayOfWeekNumberNextYear,", + " - DayOfWeekNumberNextYear", + " ),", + " ERROR ( \"Unkonwn WeeklyType definition : \" )", + " )", + " VAR FirstDayOfFiscalYear = FirstDayCurrentYear + OffsetStartCurrentFiscalYear", + " VAR LastDayOfFiscalYear = FirstDayNextYear + OffsetStartNextFiscalYear", + " RETURN", + " ROW ( \"FirstDayOfYear\", FirstDayOfFiscalYear,", + " \"LastDayOfYear\", LastDayOfFiscalYear )", + " )", + "VAR CheckFirstDayOfWeek =", + " IF (", + " UseCustomFiscalPeriods && (NOT IgnoreWeeklyFiscalPeriods)", + " && WEEKDAY ( MINX ( CustomFiscalPeriods, [FirstDayOfYear] ), 1 )", + " <> ( FirstDayOfWeek + 1 ),", + " ERROR ( \"CustomFiscalPeriods table does not match FirstDayOfWeek setting\" ),", + " TRUE", + " )", + "VAR CustomFiscalPeriodsWithType =", + " GENERATE (", + " ROW ( \"CalendarType\", \"Custom\" ),", + " FILTER ( CustomFiscalPeriods, CheckFirstDayOfWeek )", + " )", + "VAR FiscalPeriods =", + " SELECTCOLUMNS (", + " FILTER (", + " UNION ( ", + " FILTER ( WeeklyFiscalPeriods, NOT IgnoreWeeklyFiscalPeriods ),", + " CustomFiscalPeriodsWithType ", + " ),", + " [CalendarType] = WeeklyCalendarType", + " ),", + " \"FW YearNumber\", [Fiscal YearNumber],", + " \"FW StartOfYear\", [FirstDayOfYear],", + " \"FW EndOfYear\", [LastDayOfYear]", + " )", + "VAR WeeksInP1 =", + " SWITCH (", + " QuarterWeekType,", + " \"445\", 4,", + " \"454\", 4,", + " \"544\", 5,", + " ERROR ( \"QuarterWeekType only supports 445, 454, and 544\" )", + " )", + "VAR WeeksInP2 =", + " SWITCH (", + " QuarterWeekType,", + " \"445\", 4,", + " \"454\", 5,", + " \"544\", 4,", + " ERROR ( \"QuarterWeekType only supports 445, 454, and 544\" )", + " )", + "VAR WeeksInP3 =", + " SWITCH (", + " QuarterWeekType,", + " \"445\", 5,", + " \"454\", 4,", + " \"544\", 4,", + " ERROR ( \"QuarterWeekType only supports 445, 454, and 544\" )", + " )", + "VAR FirstSundayReference =", + " DATE ( 1900, 12, 30 ) -- Do not change this ", + "VAR FirstWeekReference = FirstSundayReference + FirstDayOfWeek", + "VAR RawDays =", + " CALENDAR ( FirstDayCalendar, LastDayCalendar )", + "VAR CalendarGregorianPrefixSpace =", + " IF ( CalendarGregorianPrefix <> \"\", CalendarGregorianPrefix & \" \", \"\" )", + "VAR FiscalGregorianPrefixSpace =", + " IF ( FiscalGregorianPrefix <> \"\", FiscalGregorianPrefix & \" \", \"\" )", + "VAR FiscalWeeklyPrefixSpace =", + " IF ( FiscalWeeklyPrefix <> \"\", FiscalWeeklyPrefix & \" \", \"\" )", + "VAR CustomFiscalRawDays =", + " GENERATE ( FiscalPeriods, CALENDAR ( [FW StartOfYear], [FW EndOfYear] ) )", + "VAR CalendarStandardGregorianBase =", + " GENERATE (", + " NATURALLEFTOUTERJOIN ( RawDays, HolidayDates ),", + " VAR CalDate = [Date]", + " VAR CalYear =", + " YEAR ( [Date] )", + " VAR CalMonthNumber =", + " MONTH ( [Date] )", + " VAR CalQuarterNumber =", + " ROUNDUP ( CalMonthNumber / 3, 0 )", + " VAR CalDay =", + " DAY ( [Date] )", + " VAR CalWeekNumber =", + " WEEKNUM ( CalDate, WeekDayCalculationType )", + " VAR CalDayOfMonth =", + " DAY ( CalDate )", + " VAR WeekDayNumber =", + " WEEKDAY ( CalDate, WeekDayCalculationType )", + " VAR YearWeekNumber =", + " INT ( DIVIDE ( CalDate - FirstWeekReference, 7 ) )", + " VAR CalendarFirstDayOfYear =", + " DATE ( CalYear, 1, 1 )", + " VAR CalendarDayOfYear =", + " INT ( CalDate - CalendarFirstDayOfYear + 1 )", + " VAR IsWorkingDay =", + " CONTAINS ( WorkingDays, [WorkingDayNumber], WEEKDAY ( CalDate, 1 ) - 1 )", + " && ISBLANK ( [Holiday Name] )", + " VAR _CheckLeapYearBefore =", + " CalYear -", + " IF ( (CalMonthNumber = 2 && CalDayOfMonth < 29)", + " || CalMonthNumber < 2,", + " 1,", + " 0 )", + " VAR LeapYearsBefore1900 =", + " INT ( 1899 / 4 )", + " - INT ( 1899 / 100 )", + " + INT ( 1899 / 400 )", + " VAR LeapYearsBetween =", + " INT ( _CheckLeapYearBefore / 4 )", + " - INT ( _CheckLeapYearBefore / 100 )", + " + INT ( _CheckLeapYearBefore / 400 )", + " - LeapYearsBefore1900", + " VAR Sequential365DayNumber =", + " INT ( CalDate - LeapYearsBetween ) ", + " RETURN", + " ROW (", + " \"DateKey\", CalYear * 10000", + " + CalMonthNumber * 100", + " + CalDay,", + " \"Calendar YearNumber\", CalYear,", + " \"Calendar Year\", CalendarGregorianPrefixSpace & CalYear,", + " \"Calendar QuarterNumber\", CalQuarterNumber,", + " \"Calendar Quarter\", CalendarGregorianPrefix & \"Q\"", + " & CalQuarterNumber", + " & \" \",", + " \"Calendar YearQuarterNumber\", CalYear * 4", + " - 1", + " + CalQuarterNumber,", + " \"Calendar Quarter Year\", CalendarGregorianPrefix & \"Q\"", + " & CalQuarterNumber", + " & \" \"", + " & CalYear,", + " \"Calendar MonthNumber\", CalMonthNumber,", + " \"Calendar Month\", FORMAT ( CalDate, \"mmm\" ),", + " \"Calendar YearMonthNumber\", CalYear * 12", + " - 1", + " + CalMonthNumber,", + " \"Calendar Month Year\", FORMAT ( CalDate, \"mmm\" ) & \" \"", + " & CalYear,", + " \"Calendar WeekNumber\", CalWeekNumber,", + " \"Calendar Week\", CalendarGregorianPrefix & \"W\"", + " & FORMAT ( CalWeekNumber, \"00\" ),", + " \"Calendar YearWeekNumber\", YearWeekNumber,", + " \"Calendar Week Year\", CalendarGregorianPrefix & \"W\"", + " & FORMAT ( CalWeekNumber, \"00\" )", + " & \"-\"", + " & CalYear,", + " \"Calendar WeekYearOrder\", CalYear * 100", + " + CalWeekNumber,", + " \"Calendar DayOfYearNumber\", CalendarDayOfYear,", + " \"Day of Month\", CalDayOfMonth,", + " \"WeekDayNumber\", WeekDayNumber,", + " \"Week Day\", FORMAT ( CalDate, \"ddd\" ),", + " \"IsWorkingDay\", IsWorkingDay,", + " \"Day Type\", IF ( IsWorkingDay, WorkingDayType, NonWorkingDayType ),", + " \"Sequential365DayNumber\", Sequential365DayNumber", + " )", + " )", + "VAR CalendarStandardGregorian =", + " GENERATE (", + " CalendarStandardGregorianBase,", + " VAR CalDate = [Date]", + " VAR YearNumber = [Calendar YearNumber]", + " VAR MonthNumber = [Calendar MonthNumber]", + " VAR YearWeekNumber = [Calendar YearWeekNumber]", + " VAR YearMonthNumber = [Calendar YearMonthNumber]", + " VAR YearQuarterNumber = [Calendar YearQuarterNumber]", + " VAR CurrentWeekPos =", + " AVERAGEX (", + " FILTER ( CalendarStandardGregorianBase, [Date] = TodayReference ),", + " [Calendar YearWeekNumber]", + " )", + " VAR CurrentMonthPos =", + " AVERAGEX (", + " FILTER ( CalendarStandardGregorianBase, [Date] = TodayReference ),", + " [Calendar YearMonthNumber]", + " )", + " VAR CurrentQuarterPos =", + " AVERAGEX (", + " FILTER ( CalendarStandardGregorianBase, [Date] = TodayReference ),", + " [Calendar YearQuarterNumber]", + " )", + " VAR CurrentYearPos =", + " AVERAGEX (", + " FILTER ( CalendarStandardGregorianBase, [Date] = TodayReference ),", + " [Calendar YearNumber]", + " )", + " VAR RelativeWeekPos = CurrentWeekPos - YearWeekNumber", + " VAR RelativeMonthPos = CurrentMonthPos - YearMonthNumber", + " VAR RelativeQuarterPos = CurrentQuarterPos - YearQuarterNumber", + " VAR RelativeYearPos = CurrentYearPos - YearNumber", + " VAR CalStartOfMonth =", + " DATE ( YearNumber, MonthNumber, 1 )", + " VAR CalEndOfMonth =", + " EOMONTH ( CalDate, 0 )", + " VAR CalMonthDays = ", + " INT ( CalEndOfMonth - CalStartOfMonth + 1 ) ", + " VAR CalDayOfMonthNumber =", + " INT ( CalDate - CalStartOfMonth + 1 )", + " VAR CalStartOfQuarter =", + " MINX (", + " FILTER (", + " CalendarStandardGregorianBase,", + " [Calendar YearQuarterNumber] = YearQuarterNumber", + " ),", + " [Date]", + " )", + " VAR CalEndOfQuarter =", + " MAXX (", + " FILTER (", + " CalendarStandardGregorianBase,", + " [Calendar YearQuarterNumber] = YearQuarterNumber", + " ),", + " [Date]", + " )", + " VAR CalQuarterDays =", + " INT ( CalEndOfQuarter - CalStartOfQuarter + 1 ) ", + " VAR CalDayOfQuarterNumber =", + " INT ( CalDate - CalStartOfQuarter + 1 )", + " VAR CalYearDays =", + " INT ( DATE ( YearNumber, 12, 31 ) - DATE ( YearNumber, 1, 1 ) + 1 )", + " VAR CalDatePreviousWeek = CalDate - 7", + " VAR CalDatePreviousMonth = ", + " MAXX (", + " FILTER (", + " CalendarStandardGregorianBase,", + " [Calendar YearMonthNumber] = YearMonthNumber - 1", + " &&", + " ( [Day of Month] <= CalDayOfMonthNumber", + " || CalDayOfMonthNumber = CalMonthDays )", + " ),", + " [Date]", + " )", + " VAR CalDatePreviousQuarter = ", + " MAXX (", + " FILTER (", + " CalendarStandardGregorianBase,", + " [Calendar YearMonthNumber] = YearMonthNumber - 3", + " &&", + " ( [Day of Month] <= CalDayOfMonthNumber", + " || CalDayOfMonthNumber = CalMonthDays )", + " ),", + " [Date]", + " )", + " VAR CalDatePreviousYear = ", + " MAXX (", + " FILTER (", + " CalendarStandardGregorianBase,", + " [Calendar YearMonthNumber] = YearMonthNumber - 12", + " &&", + " ( [Day of Month] <= CalDayOfMonthNumber", + " || CalDayOfMonthNumber = CalMonthDays )", + " ),", + " [Date]", + " )", + " VAR CalStartOfYear =", + " DATE ( YearNumber, 1, 1 )", + " VAR CalEndOfYear =", + " DATE ( YearNumber, 12, 31 )", + " RETURN", + " ROW ( \"Calendar RelativeWeekPos\", RelativeWeekPos,", + " \"Calendar RelativeMonthPos\", RelativeMonthPos,", + " \"Calendar RelativeQuarterPos\", RelativeQuarterPos,", + " \"Calendar RelativeYearPos\", RelativeYearPos,", + " \"Calendar StartOfMonth\", CalStartOfMonth,", + " \"Calendar EndOfMonth\", CalEndOfMonth,", + " \"Calendar DayOfMonthNumber\", CalDayOfMonthNumber,", + " \"Calendar StartOfQuarter\", CalStartOfQuarter,", + " \"Calendar EndOfQuarter\", CalEndOfQuarter,", + " \"Calendar DayOfQuarterNumber\", CalDayOfQuarterNumber, ", + " \"Calendar StartOfYear\", CalStartOfYear,", + " \"Calendar EndOfYear\", CalEndOfYear,", + " \"Calendar DatePreviousWeek\", CalDatePreviousWeek,", + " \"Calendar DatePreviousMonth\", CalDatePreviousMonth,", + " \"Calendar DatePreviousQuarter\", CalDatePreviousQuarter,", + " \"Calendar DatePreviousYear\", CalDatePreviousYear,", + " \"Calendar MonthDays\", CalMonthDays,", + " \"Calendar QuarterDays\", CalQuarterDays,", + " \"Calendar YearDays\", CalYearDays", + " )", + " )", + "VAR FiscalStandardGregorianBase =", + " GENERATE (", + " NATURALLEFTOUTERJOIN ( RawDays, HolidayDates ),", + " VAR FiscalDate = [Date]", + " VAR CalYear =", + " YEAR ( FiscalDate )", + " VAR CalMonthNumber =", + " MONTH ( FiscalDate )", + " VAR CalDay =", + " DAY ( [Date] )", + " VAR WeekDayNumber =", + " WEEKDAY ( FiscalDate, WeekDayCalculationType )", + " VAR YearWeekNumber =", + " INT ( DIVIDE ( FiscalDate - FirstWeekReference, 7 ) )", + " VAR FiscalYear =", + " CalYear ", + " + IF ( FiscalCalendarFirstMonth > 1,", + " IF ( CalMonthNumber >= FiscalCalendarFirstMonth, ", + " TypeStartFiscalYear, -- TypeStartFiscalYear = 1", + " -1 * (TypeStartFiscalYear = 0) -- TypeStartFiscalYear = 0", + " )", + " )", + " VAR FiscalMonthNumber =", + " MOD ( CalMonthNumber - FiscalCalendarFirstMonth, 12 )", + " + 1", + " VAR FiscalFirstDayOfYear =", + " DATE ( FiscalYear - (OffsetFiscalYear * TypeStartFiscalYear), FiscalCalendarFirstMonth, 1 )", + " VAR FiscalDayOfYear =", + " INT ( FiscalDate - FiscalFirstDayOfYear + 1 )", + " VAR FiscalFirstYearWeekNumber =", + " INT ( DIVIDE ( FiscalFirstDayOfYear - FirstWeekReference, 7 ) )", + " VAR FiscalWeekNumber = YearWeekNumber - FiscalFirstYearWeekNumber", + " + 1", + " VAR FiscalQuarterNumber =", + " ROUNDUP ( FiscalMonthNumber / 3, 0 )", + " VAR IsWorkingDay =", + " CONTAINS ( WorkingDays, [WorkingDayNumber], WEEKDAY ( FiscalDate, 1 ) - 1 )", + " && ISBLANK ( [Holiday Name] )", + " RETURN", + " ROW (", + " \"DateKey\", CalYear * 10000", + " + CalMonthNumber * 100", + " + CalDay,", + " \"Fiscal Year\", FiscalGregorianPrefixSpace & FiscalYear,", + " \"Fiscal YearNumber\", FiscalYear,", + " \"Fiscal QuarterNumber\", FiscalQuarterNumber,", + " \"Fiscal Quarter\", FiscalGregorianPrefix & \"Q\"", + " & FiscalQuarterNumber", + " & \" \",", + " \"Fiscal YearQuarterNumber\", FiscalYear * 4", + " - 1", + " + FiscalQuarterNumber,", + " \"Fiscal Quarter Year\", FiscalGregorianPrefix & \"Q\"", + " & FiscalQuarterNumber", + " & \" \"", + " & FiscalYear,", + " \"Fiscal MonthNumber\", FiscalMonthNumber,", + " \"Fiscal Month\", FORMAT ( FiscalDate, \"mmm\" ),", + " \"Fiscal YearMonthNumber\", FiscalYear * 12", + " - 1", + " + FiscalMonthNumber,", + " \"Fiscal Month Year\", FORMAT ( FiscalDate, \"mmm\" ) & \" \"", + " & CalYear,", + " \"Fiscal WeekNumber\", FiscalWeekNumber,", + " \"Fiscal Week\", FiscalGregorianPrefix & \"W\"", + " & FORMAT ( FiscalWeekNumber, \"00\" ),", + " \"Fiscal YearWeekNumber\", YearWeekNumber,", + " \"Fiscal Week Year\", FiscalGregorianPrefix & \"W\"", + " & FORMAT ( FiscalWeekNumber, \"00\" )", + " & \"-\"", + " & FiscalYear,", + " \"Fiscal WeekYearOrder\", FiscalYear * 100", + " + FiscalWeekNumber,", + " \"Fiscal DayOfYearNumber\", FiscalDayOfYear,", + " \"Day of Month\", DAY ( FiscalDate ),", + " \"WeekDayNumber\", WeekDayNumber,", + " \"Week Day\", FORMAT ( FiscalDate, \"ddd\" ),", + " \"IsWorkingDay\", IsWorkingDay,", + " \"Day Type\", IF ( IsWorkingDay, WorkingDayType, NonWorkingDayType )", + " )", + " )", + "VAR FiscalStandardGregorian =", + " GENERATE (", + " FiscalStandardGregorianBase,", + " VAR FiscalDate = [Date]", + " VAR FiscalYearNumber = [Fiscal YearNumber]", + " VAR MonthNumber = [Fiscal MonthNumber]", + " VAR CalendarYearNumber =", + " YEAR ( FiscalDate )", + " VAR CalendarMonthNumber =", + " MONTH ( FiscalDate )", + " VAR YearWeekNumber = [Fiscal YearWeekNumber]", + " VAR YearMonthNumber = [Fiscal YearMonthNumber]", + " VAR YearQuarterNumber = [Fiscal YearQuarterNumber]", + " VAR CurrentWeekPos =", + " AVERAGEX (", + " FILTER ( FiscalStandardGregorianBase, [Date] = TodayReference ),", + " [Fiscal YearWeekNumber]", + " )", + " VAR CurrentMonthPos =", + " AVERAGEX (", + " FILTER ( FiscalStandardGregorianBase, [Date] = TodayReference ),", + " [Fiscal YearMonthNumber]", + " )", + " VAR CurrentQuarterPos =", + " AVERAGEX (", + " FILTER ( FiscalStandardGregorianBase, [Date] = TodayReference ),", + " [Fiscal YearQuarterNumber]", + " )", + " VAR CurrentYearPos =", + " AVERAGEX (", + " FILTER ( FiscalStandardGregorianBase, [Date] = TodayReference ),", + " [Fiscal YearNumber]", + " )", + " VAR RelativeWeekPos = CurrentWeekPos - YearWeekNumber", + " VAR RelativeMonthPos = CurrentMonthPos - YearMonthNumber", + " VAR RelativeQuarterPos = CurrentQuarterPos - YearQuarterNumber", + " VAR RelativeYearPos = CurrentYearPos - FiscalYearNumber", + " VAR FiscalStartOfMonth =", + " DATE ( CalendarYearNumber, CalendarMonthNumber, 1 )", + " VAR FiscalEndOfMonth =", + " EOMONTH ( FiscalDate, 0 )", + " VAR FiscalMonthDays = ", + " INT ( FiscalEndOfMonth - FiscalStartOfMonth + 1 ) ", + " VAR FiscalDayOfMonthNumber =", + " INT ( FiscalDate - FiscalStartOfMonth + 1 )", + " VAR FiscalStartOfQuarter =", + " MINX (", + " FILTER (", + " FiscalStandardGregorianBase,", + " [Fiscal YearQuarterNumber] = YearQuarterNumber", + " ),", + " [Date]", + " )", + " VAR FiscalEndOfQuarter =", + " MAXX (", + " FILTER (", + " FiscalStandardGregorianBase,", + " [Fiscal YearQuarterNumber] = YearQuarterNumber", + " ),", + " [Date]", + " )", + " VAR FiscalQuarterDays = ", + " INT ( FiscalEndOfQuarter - FiscalStartOfQuarter + 1 )", + " VAR FiscalFirstDayOfYear =", + " DATE ( FiscalYearNumber - OffsetFiscalYear, FiscalCalendarFirstMonth, 1 )", + " VAR FiscalLastDayOfYear =", + " DATE ( FiscalYearNumber + (1 * (OffsetFiscalYear = 0)), FiscalCalendarFirstMonth, 1 ) - 1", + " VAR FiscalYearDays = ", + " INT ( FiscalLastDayOfYear - FiscalFirstDayOfYear + 1 ) ", + " VAR FiscalDayOfQuarterNumber =", + " INT ( FiscalDate - FiscalStartOfQuarter + 1 )", + " VAR FiscalStartOfYear =", + " MINX (", + " FILTER (", + " FiscalStandardGregorianBase,", + " [Fiscal YearNumber] = FiscalYearNumber", + " ),", + " [Date]", + " )", + " VAR FiscalEndOfYear =", + " MAXX (", + " FILTER (", + " FiscalStandardGregorianBase,", + " [Fiscal YearNumber] = FiscalYearNumber", + " ),", + " [Date]", + " )", + " VAR FiscalDatePreviousWeek = FiscalDate - 7", + " VAR FiscalDatePreviousMonth = ", + " MAXX (", + " FILTER (", + " FiscalStandardGregorianBase,", + " [Fiscal YearMonthNumber] = YearMonthNumber - 1", + " &&", + " ( [Day of Month] <= FiscalDayOfMonthNumber", + " || FiscalDayOfMonthNumber = FiscalMonthDays )", + " ),", + " [Date]", + " )", + " VAR FiscalDatePreviousQuarter = ", + " MAXX (", + " FILTER (", + " FiscalStandardGregorianBase,", + " [Fiscal YearMonthNumber] = YearMonthNumber - 3", + " &&", + " ( [Day of Month] <= FiscalDayOfMonthNumber", + " || FiscalDayOfMonthNumber = FiscalMonthDays )", + " ),", + " [Date]", + " )", + " VAR FiscalDatePreviousYear = ", + " MAXX (", + " FILTER (", + " FiscalStandardGregorianBase,", + " [Fiscal YearMonthNumber] = YearMonthNumber - 12", + " &&", + " ( [Day of Month] <= FiscalDayOfMonthNumber", + " || FiscalDayOfMonthNumber = FiscalMonthDays )", + " ),", + " [Date]", + " )", + " RETURN", + " ROW ( \"Fiscal RelativeWeekPos\", RelativeWeekPos,", + " \"Fiscal RelativeMonthPos\", RelativeMonthPos,", + " \"Fiscal RelativeQuarterPos\", RelativeQuarterPos,", + " \"Fiscal RelativeYearPos\", RelativeYearPos,", + " \"Fiscal StartOfMonth\", FiscalStartOfMonth,", + " \"Fiscal EndOfMonth\", FiscalEndOfMonth,", + " \"Fiscal DayOfMonthNumber\", FiscalDayOfMonthNumber,", + " \"Fiscal StartOfQuarter\", FiscalStartOfQuarter,", + " \"Fiscal EndOfQuarter\", FiscalEndOfQuarter,", + " \"Fiscal DayOfQuarterNumber\", FiscalDayOfQuarterNumber,", + " \"Fiscal StartOfYear\", FiscalStartOfYear,", + " \"Fiscal EndOfYear\", FiscalEndOfYear,", + " \"Fiscal DatePreviousWeek\", FiscalDatePreviousWeek,", + " \"Fiscal DatePreviousMonth\", FiscalDatePreviousMonth,", + " \"Fiscal DatePreviousQuarter\", FiscalDatePreviousQuarter,", + " \"Fiscal DatePreviousYear\", FiscalDatePreviousYear,", + " \"Fiscal MonthDays\", FiscalMonthDays,", + " \"Fiscal QuarterDays\", FiscalQuarterDays,", + " \"Fiscal YearDays\", FiscalYearDays", + " )", + " )", + "VAR FiscalWeeksBase =", + " GENERATE (", + " NATURALLEFTOUTERJOIN ( CustomFiscalRawDays, HolidayDates ),", + " VAR CalDate = [Date]", + " VAR FwFirstDayOfYear = [FW StartOfYear]", + " VAR FwDayOfYear =", + " INT ( CalDate - FwFirstDayOfYear + 1 )", + " VAR CalYear =", + " YEAR ( [Date] )", + " VAR CalMonthNumber =", + " MONTH ( [Date] )", + " VAR CalDay =", + " DAY ( [Date] )", + " VAR FwDayOfYearNumber = CalDate - [FW StartOfYear]", + " + 1", + " VAR FwWeekNumber =", + " INT ( CEILING ( FwDayOfYearNumber / 7, 1 ) )", + " VAR FwPeriodNumber = ", + " IF ( FwWeekNumber > 52, 14, ROUNDUP ( FwWeekNumber / 4, 0 ) )", + " VAR FwYearNumber = [FW YearNumber]", + " VAR FwQuarterNumber =", + " IF ( FwWeekNumber > 52, 4, ROUNDUP ( FwWeekNumber / 13, 0 ) )", + " VAR FwWeekInQuarterNumber =", + " IF ( FwWeekNumber > 52, 14, FwWeekNumber - 13 * ( FwQuarterNumber - 1 ) )", + " VAR FwMonthNumber =", + " ( FwQuarterNumber - 1 )", + " * 3", + " + SWITCH (", + " TRUE,", + " FwWeekInQuarterNumber <= WeeksInP1, 1,", + " FwWeekInQuarterNumber", + " <= ( WeeksInP1 + WeeksInP2 ), 2,", + " 3", + " )", + " VAR WeekDayNumber =", + " WEEKDAY ( CalDate, WeekDayCalculationType )", + " VAR FirstDayOfWeek = [Date] - WeekDayNumber", + " + 1", + " VAR LastDayOfWeek = FirstDayOfWeek + 6", + " VAR IsWorkingDay =", + " CONTAINS ( WorkingDays, [WorkingDayNumber], WEEKDAY ( CalDate, 1 ) - 1 )", + " && ISBLANK ( [Holiday Name] )", + " RETURN", + " ROW (", + " \"DateKey\", CalYear * 10000", + " + CalMonthNumber * 100", + " + CalDay,", + " // \"FW YearNumber\", FwYearNumber, -- It is already in the first set of columns of the GENERATE function", + " \"FW Year\", FiscalWeeklyPrefixSpace & FwYearNumber,", + " \"FW QuarterNumber\", FwQuarterNumber,", + " \"FW Quarter\", FiscalWeeklyPrefix & \"Q\"", + " & FwQuarterNumber,", + " \"FW YearQuarterNumber\", FwYearNumber * 4", + " - 1", + " + FwQuarterNumber,", + " \"FW Quarter Year\", FiscalWeeklyPrefix & \"Q\"", + " & FwQuarterNumber", + " & \" \"", + " & FwYearNumber,", + " \"FW MonthNumber\", FwMonthNumber,", + " \"FW Month\", FiscalWeeklyPrefix & \"P\"", + " & FORMAT ( FwMonthNumber, \"00\" ),", + " \"FW YearMonthNumber\", FwYearNumber * 12", + " - 1", + " + FwMonthNumber,", + " \"FW Month Year\", FiscalWeeklyPrefix & \"P\"", + " & FORMAT ( FwMonthNumber, \"00\" )", + " & \" \"", + " & FwYearNumber,", + " \"FW WeekNumber\", FwWeekNumber,", + " \"FW Week\", FiscalWeeklyPrefix & \"W\"", + " & FORMAT ( FwWeekNumber, \"00\" ),", + " \"FW PeriodNumber\", FwPeriodNumber,", + " \"FW Period\", FiscalWeeklyPrefix & \"P\"", + " & FORMAT ( FwPeriodNumber, \"00\" ),", + " \"FW YearWeekNumber\", INT ( DIVIDE ( CalDate - FirstWeekReference, 7 ) )", + " + 1,", + " \"FW Week Year\", FiscalWeeklyPrefix & \"W\"", + " & FORMAT ( FwWeekNumber, \"00\" )", + " & \" \"", + " & FwYearNumber,", + " \"FW StartOfWeek\", FirstDayOfWeek,", + " \"FW EndOfWeek\", LastDayOfWeek,", + " \"WeekDayNumber\", WeekDayNumber,", + " \"Week Day\", FORMAT ( CalDate, \"ddd\" ),", + " \"FW DayOfYearNumber\", FwDayOfYear,", + " \"IsWorkingDay\", IsWorkingDay,", + " \"Day Type\", IF ( IsWorkingDay, WorkingDayType, NonWorkingDayType )", + " )", + " )", + "VAR FiscalWeeks_Pre = ", + " GENERATE (", + " FiscalWeeksBase,", + " VAR CalDate = [Date]", + " VAR FWYearNumber = [FW YearNumber]", + " VAR FwYearWeekNumber = [FW YearWeekNumber]", + " VAR FwYearMonthNumber = [FW YearMonthNumber]", + " VAR FwYearQuarterNumber = [FW YearQuarterNumber]", + " VAR CurrentWeekPos =", + " AVERAGEX (", + " FILTER ( FiscalWeeksBase, [Date] = TodayReference ),", + " [FW YearWeekNumber]", + " )", + " VAR CurrentMonthPos =", + " AVERAGEX (", + " FILTER ( FiscalWeeksBase, [Date] = TodayReference ),", + " [FW YearMonthNumber]", + " )", + " VAR CurrentQuarterPos =", + " AVERAGEX (", + " FILTER ( FiscalWeeksBase, [Date] = TodayReference ),", + " [FW YearQuarterNumber]", + " )", + " VAR CurrentYearPos =", + " AVERAGEX (", + " FILTER ( FiscalWeeksBase, [Date] = TodayReference ),", + " [FW YearNumber]", + " )", + " VAR RelativeWeekPos = CurrentWeekPos - FwYearWeekNumber", + " VAR RelativeMonthPos = CurrentMonthPos - FwYearMonthNumber", + " VAR RelativeQuarterPos = CurrentQuarterPos - FwYearQuarterNumber", + " VAR RelativeYearPos = CurrentYearPos - FwYearNumber", + " VAR FwStartOfMonth =", + " MINX (", + " FILTER ( FiscalWeeksBase, [FW YearMonthNumber] = FwYearMonthNumber ),", + " [Date]", + " )", + " VAR FwEndOfMonth =", + " MAXX (", + " FILTER ( FiscalWeeksBase, [FW YearMonthNumber] = FwYearMonthNumber ),", + " [Date]", + " )", + " VAR FwMonthDays = ", + " INT ( FwEndOfMonth - FwStartOfMonth + 1 ) ", + " VAR FwDayOfMonthNumber =", + " INT ( CalDate - FwStartOfMonth + 1 )", + " VAR FwStartOfQuarter =", + " MINX (", + " FILTER ( FiscalWeeksBase, [FW YearQuarterNumber] = FwYearQuarterNumber ),", + " [Date]", + " )", + " VAR FwEndOfQuarter =", + " MAXX (", + " FILTER ( FiscalWeeksBase, [FW YearQuarterNumber] = FwYearQuarterNumber ),", + " [Date]", + " )", + " VAR FwQuarterDays = ", + " INT ( FwEndOfQuarter - FwStartOfQuarter + 1 )", + " VAR FwDayOfQuarterNumber =", + " INT ( CalDate - FwStartOfQuarter + 1 )", + " VAR FwStartOfYear =", + " MINX (", + " FILTER ( FiscalWeeksBase, [FW YearNumber] = FwYearNumber ),", + " [Date]", + " )", + " VAR FwEndOfYear =", + " MAXX (", + " FILTER ( FiscalWeeksBase, [FW YearNumber] = FwYearNumber ),", + " [Date]", + " )", + " VAR FwYearDays = ", + " INT ( FwEndOfYear - FwStartOfYear + 1 )", + " RETURN", + " ROW ( \"FW RelativeWeekPos\", RelativeWeekPos,", + " \"FW RelativeMonthPos\", RelativeMonthPos,", + " \"FW RelativeQuarterPos\", RelativeQuarterPos,", + " \"FW RelativeYearPos\", RelativeYearPos,", + " \"FW StartOfMonth\", FwStartOfMonth,", + " \"FW EndOfMonth\", FwEndOfMonth,", + " \"FW DayOfMonthNumber\", FwDayOfMonthNumber,", + " \"FW StartOfQuarter\", FwStartOfQuarter,", + " \"FW EndOfQuarter\", FwEndOfQuarter,", + " \"FW DayOfQuarterNumber\", FwDayOfQuarterNumber,", + " \"FW MonthDays\", FwMonthDays,", + " \"FW QuarterDays\", FwQuarterDays,", + " \"FW YearDays\", FwYearDays ", + " )", + " )", + "VAR FiscalWeeks =", + " GENERATE (", + " FiscalWeeks_Pre,", + " VAR CalDate = [Date]", + " VAR FwYearMonthNumber = [FW YearMonthNumber]", + " VAR FwYearQuarterNumber = [FW YearQuarterNumber]", + " VAR FWYearNumber = [FW YearNumber]", + " VAR FwDayOfMonthNumber = [FW DayOfMonthNumber]", + " VAR FwDayOfQuarterNumber = [FW DayOfQuarterNumber]", + " VAR FwDayOfYearNumber = [FW DayOfYearNumber]", + " VAR FwMonthDays = [FW EndOfMonth] - [FW StartOfMonth] + 1 ", + " VAR FwQuarterDays = [FW EndOfQuarter] - [FW StartOfQuarter] + 1 ", + " VAR FwYearDays = [FW EndOfYear] - [FW StartOfYear] + 1 ", + " VAR FwDatePreviousWeek = CalDate - 7", + " VAR FwDatePreviousMonth = ", + " MAXX (", + " FILTER (", + " FiscalWeeks_Pre,", + " [Fw YearMonthNumber] = FwYearMonthNumber - 1", + " &&", + " ( [FW DayOfMonthNumber] <= FwDayOfMonthNumber", + " || FwDayOfMonthNumber = FwMonthDays )", + " ),", + " [Date]", + " )", + " VAR FwDatePreviousQuarter = ", + " MAXX (", + " FILTER (", + " FiscalWeeks_Pre,", + " [Fw YearQuarterNumber] = FwYearQuarterNumber - 1", + " &&", + " ( [FW DayOfQuarterNumber] <= FwDayOfQuarterNumber", + " || FwDayOfQuarterNumber = FwQuarterDays )", + " ),", + " [Date]", + " ) ", + " VAR FwDatePreviousYear = ", + " MAXX (", + " FILTER (", + " FiscalWeeks_Pre,", + " [Fw YearNumber] = FWYearNumber - 1", + " &&", + " ( [FW DayOfYearNumber] <= FwDayOfYearNumber", + " || FwDayOfYearNumber = FwYearDays )", + " ),", + " [Date]", + " )", + " RETURN", + " ROW ( ", + " \"FW DatePreviousWeek\", FwDatePreviousWeek,", + " \"FW DatePreviousMonth\", FwDatePreviousMonth,", + " \"FW DatePreviousQuarter\", FwDatePreviousQuarter,", + " \"FW DatePreviousYear\", FwDatePreviousYear ", + " )", + " )", + " ", + "VAR CompleteCalendarExpanded =", + " NATURALLEFTOUTERJOIN (", + " FiscalStandardGregorian,", + " NATURALLEFTOUTERJOIN ( CalendarStandardGregorian, FiscalWeeks )", + " )", + "VAR CompleteCalendar = ", + " FILTER (", + " CompleteCalendarExpanded,", + " ( [Calendar YearNumber] >= FirstYear && [Calendar YearNumber] <= LastYear && CalendarRange = \"Calendar\" )", + " ||", + " ( [Fiscal YearNumber] >= FirstYear && [Fiscal YearNumber] <= LastYear && CalendarRange = \"FiscalGregorian\" )", + " ||", + " ( [FW YearNumber] >= FirstYear && [FW YearNumber] <= LastYear && CalendarRange = \"FiscalWeekly\" )", + " )", + " ", + "VAR Result =", + " SELECTCOLUMNS (", + " CompleteCalendar,", + " ", + " -- Base date columns", + " \"Date\", [Date],", + " \"DateKey\", [DateKey],", + "", + " \"Day of Month\", [Day of Month],", + " \"WeekDayNumber\", [WeekDayNumber],", + "", + " \"Week Day\", [Week Day],", + " \"Sequential365DayNumber\", [Sequential365DayNumber],", + " ", + " -- Calendar = Solar Calendar (January-December)", + " \"Calendar YearNumber\", [Calendar YearNumber],", + " \"Calendar Year\", [Calendar Year],", + " \"Calendar QuarterNumber\", [Calendar QuarterNumber],", + " \"Calendar Quarter\", [Calendar Quarter],", + " \"Calendar YearQuarterNumber\", [Calendar YearQuarterNumber],", + " \"Calendar Quarter Year\", [Calendar Quarter Year],", + " \"Calendar MonthNumber\", [Calendar MonthNumber],", + " \"Calendar Month\", [Calendar Month],", + " \"Calendar YearMonthNumber\", [Calendar YearMonthNumber],", + " \"Calendar Month Year\", [Calendar Month Year],", + " \"Calendar WeekNumber\", [Calendar WeekNumber],", + " \"Calendar Week\", [Calendar Week],", + " \"Calendar YearWeekNumber\", [Calendar YearWeekNumber],", + " \"Calendar Week Year\", [Calendar Week Year],", + " \"Calendar WeekYearOrder\", [Calendar WeekYearOrder],", + " \"Calendar RelativeWeekPos\", [Calendar RelativeWeekPos],", + " \"Calendar RelativeMonthPos\", [Calendar RelativeMonthPos],", + " \"Calendar RelativeQuarterPos\", [Calendar RelativeQuarterPos],", + " \"Calendar RelativeYearPos\", [Calendar RelativeYearPos],", + " \"Calendar StartOfMonth\", [Calendar StartOfMonth],", + " \"Calendar EndOfMonth\", [Calendar EndOfMonth],", + " \"Calendar StartOfQuarter\", [Calendar StartOfQuarter],", + " \"Calendar EndOfQuarter\", [Calendar EndOfQuarter],", + " \"Calendar StartOfYear\", [Calendar StartOfYear],", + " \"Calendar EndOfYear\", [Calendar EndOfYear],", + " \"Calendar MonthDays\", [Calendar MonthDays],", + " \"Calendar QuarterDays\", [Calendar QuarterDays],", + " \"Calendar YearDays\", [Calendar YearDays],", + " \"Calendar DayOfMonthNumber\", [Calendar DayOfMonthNumber],", + " \"Calendar DayOfQuarterNumber\", [Calendar DayOfQuarterNumber],", + " \"Calendar DayOfYearNumber\", [Calendar DayOfYearNumber],", + " \"Calendar DatePreviousWeek\", [Calendar DatePreviousWeek],", + " \"Calendar DatePreviousMonth\", [Calendar DatePreviousMonth],", + " \"Calendar DatePreviousQuarter\", [Calendar DatePreviousQuarter],", + " \"Calendar DatePreviousYear\", [Calendar DatePreviousYear],", + "", + " -- Fiscal = Fiscal Monthly Calendar", + " \"Fiscal Year\", [Fiscal Year],", + " \"Fiscal YearNumber\", [Fiscal YearNumber],", + " \"Fiscal QuarterNumber\", [Fiscal QuarterNumber],", + " \"Fiscal Quarter\", [Fiscal Quarter],", + " \"Fiscal YearQuarterNumber\", [Fiscal YearQuarterNumber],", + " \"Fiscal Quarter Year\", [Fiscal Quarter Year],", + " \"Fiscal MonthNumber\", [Fiscal MonthNumber],", + " \"Fiscal Month\", [Fiscal Month],", + " \"Fiscal YearMonthNumber\", [Fiscal YearMonthNumber],", + " \"Fiscal Month Year\", [Fiscal Month Year],", + " \"Fiscal WeekNumber\", [Fiscal WeekNumber],", + " \"Fiscal Week\", [Fiscal Week],", + " \"Fiscal YearWeekNumber\", [Fiscal YearWeekNumber],", + " \"Fiscal Week Year\", [Fiscal Week Year],", + " \"Fiscal WeekYearOrder\", [Fiscal WeekYearOrder],", + " \"Fiscal RelativeWeekPos\", [Fiscal RelativeWeekPos],", + " \"Fiscal RelativeMonthPos\", [Fiscal RelativeMonthPos],", + " \"Fiscal RelativeQuarterPos\", [Fiscal RelativeQuarterPos],", + " \"Fiscal RelativeYearPos\", [Fiscal RelativeYearPos],", + " \"Fiscal StartOfMonth\", [Fiscal StartOfMonth],", + " \"Fiscal EndOfMonth\", [Fiscal EndOfMonth],", + " \"Fiscal StartOfQuarter\", [Fiscal StartOfQuarter],", + " \"Fiscal EndOfQuarter\", [Fiscal EndOfQuarter],", + " \"Fiscal StartOfYear\", [Fiscal StartOfYear],", + " \"Fiscal EndOfYear\", [Fiscal EndOfYear],", + " \"Fiscal MonthDays\", [Fiscal MonthDays],", + " \"Fiscal QuarterDays\", [Fiscal QuarterDays],", + " \"Fiscal YearDays\", [Fiscal YearDays],", + " \"Fiscal DayOfMonthNumber\", [Fiscal DayOfMonthNumber],", + " \"Fiscal DayOfQuarterNumber\", [Fiscal DayOfQuarterNumber],", + " \"Fiscal DayOfYearNumber\", [Fiscal DayOfYearNumber],", + " \"Fiscal DatePreviousWeek\", [Fiscal DatePreviousWeek],", + " \"Fiscal DatePreviousMonth\", [Fiscal DatePreviousMonth],", + " \"Fiscal DatePreviousQuarter\", [Fiscal DatePreviousQuarter],", + " \"Fiscal DatePreviousYear\", [Fiscal DatePreviousYear],", + "", + " -- FW = Fiscal Weekly calendar", + " \"FW YearNumber\", [FW YearNumber],", + " \"FW Year\", [FW Year],", + " \"FW QuarterNumber\", [FW QuarterNumber],", + " \"FW Quarter\", [FW Quarter],", + " \"FW YearQuarterNumber\", [FW YearQuarterNumber],", + " \"FW Quarter Year\", [FW Quarter Year],", + " \"FW MonthNumber\", [FW MonthNumber],", + " \"FW Month\", [FW Month],", + " \"FW YearMonthNumber\", [FW YearMonthNumber],", + " \"FW Month Year\", [FW Month Year],", + " \"FW WeekNumber\", [FW WeekNumber],", + " \"FW Week\", [FW Week],", + " \"FW PeriodNumber\", [FW PeriodNumber],", + " \"FW Period\", [FW Period],", + " \"FW YearWeekNumber\", [FW YearWeekNumber],", + " \"FW Week Year\", [FW Week Year],", + " \"FW StartOfWeek\", [FW StartOfWeek],", + " \"FW EndOfWeek\", [FW EndOfWeek],", + " \"FW RelativeWeekPos\", [FW RelativeWeekPos],", + " \"FW RelativeMonthPos\", [FW RelativeMonthPos],", + " \"FW RelativeQuarterPos\", [FW RelativeQuarterPos],", + " \"FW RelativeYearPos\", [FW RelativeYearPos],", + " \"FW StartOfMonth\", [FW StartOfMonth],", + " \"FW EndOfMonth\", [FW EndOfMonth],", + " \"FW StartOfQuarter\", [FW StartOfQuarter],", + " \"FW EndOfQuarter\", [FW EndOfQuarter],", + " \"FW StartOfYear\", [FW StartOfYear],", + " \"FW EndOfYear\", [FW EndOfYear],", + " \"FW MonthDays\", [FW MonthDays],", + " \"FW QuarterDays\", [FW QuarterDays],", + " \"FW YearDays\", [FW YearDays],", + " \"FW DayOfMonthNumber\", [FW DayOfMonthNumber],", + " \"FW DayOfQuarterNumber\", [FW DayOfQuarterNumber],", + " \"FW DayOfYearNumber\", [FW DayOfYearNumber],", + " \"FW DatePreviousWeek\", [FW DatePreviousWeek],", + " \"FW DatePreviousMonth\", [FW DatePreviousMonth],", + " \"FW DatePreviousQuarter\", [FW DatePreviousQuarter],", + " \"FW DatePreviousYear\", [FW DatePreviousYear],", + "", + " -- Holidays and working days", + " \"Holiday Name\", [Holiday Name],", + " \"IsWorkingDay\", [IsWorkingDay],", + " \"Day Type\", [Day Type] ", + " )", + "RETURN Result", + "" + ] + } +} \ No newline at end of file