Skip to content

Add Dax.Metadata.Calendar, bump model version to 1.9.0 - #212

Merged
albertospelta merged 5 commits into
masterfrom
alberto/feat-calendars
Aug 28, 2025
Merged

Add Dax.Metadata.Calendar, bump model version to 1.9.0#212
albertospelta merged 5 commits into
masterfrom
alberto/feat-calendars

Conversation

@albertospelta

Copy link
Copy Markdown
Member

This pull request introduces support for Calendar feature, enabling tables to have associated calendar metadata and supporting advanced time-based grouping and associations. The implementation includes new domain classes, JSON serialization/deserialization logic, and integration into the model extraction process.

New Calendar feature and model integration:

  • Added new Calendar domain model (Calendar, CalendarColumnGroup, TimeRelatedColumnGroup, TimeUnitColumnAssociation) to represent calendar metadata, including time-based column groups and associations. (src/Dax.Metadata/Calendar.cs, src/Dax.Metadata/CalendarColumnGroup.cs, [1] [2]
  • Introduced TimeUnit enum to support various time units (year, quarter, month, etc.) for calendar associations. (src/Dax.Metadata/TimeUnit.cs, src/Dax.Metadata/TimeUnit.csR1-R31)

Serialization and deserialization improvements:

Model and extractor integration:

  • Updated the Table class to support multiple calendars, including serialization hooks to maintain references. (src/Dax.Metadata/Table.cs, [1] [2] [3]
  • Enhanced the TOM extractor to extract calendar metadata from TOM tables, including column group and time unit associations. (src/Dax.Model.Extractor/TomExtractor.cs, [1] [2]

Versioning:

@albertospelta
albertospelta marked this pull request as ready for review August 27, 2025 15:18
@albertospelta
albertospelta merged commit 4519870 into master Aug 28, 2025
1 check passed
@albertospelta
albertospelta deleted the alberto/feat-calendars branch August 28, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants