Skip to content

Commit

Permalink
Merge pull request #12 from mthierba/tmdl/preview-11
Browse files Browse the repository at this point in the history
TMDL Preview-11 (19.77.0)
  • Loading branch information
mthierba authored Jun 17, 2024
2 parents d6a5fac + 6cf4e17 commit 3006337
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
7 changes: 4 additions & 3 deletions BIM-to-TMDL.linq
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Query Kind="Statements">
<NuGetReference Version="19.76.0">Microsoft.AnalysisServices.NetCore.retail.amd64</NuGetReference>
<NuGetReference Version="19.77.0">Microsoft.AnalysisServices.NetCore.retail.amd64</NuGetReference>
<Namespace>AMO = Microsoft.AnalysisServices</Namespace>
<Namespace>Microsoft.AnalysisServices.Tabular.Serialization</Namespace>
<Namespace>TOM = Microsoft.AnalysisServices.Tabular</Namespace>
<Namespace>Microsoft.AnalysisServices.Tabular.Extensions</Namespace>
<Namespace>Microsoft.AnalysisServices.Tabular.Serialization</Namespace>
<Namespace>Microsoft.AnalysisServices.Tabular.Tmdl</Namespace>
<Namespace>TOM = Microsoft.AnalysisServices.Tabular</Namespace>
</Query>

typeof(Microsoft.AnalysisServices.Tabular.TmdlSerializer).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion.Dump();
Expand All @@ -17,6 +17,7 @@ MetadataSerializationOptions options = new MetadataSerializationOptionsBuilder(M
.WithChildrenMetadata()
.WithoutRestrictedInformation()
.WithExpressionTrimStyle(TmdlExpressionTrimStyle.TrimTrailingWhitespaces | TmdlExpressionTrimStyle.TrimLeadingCommonWhitespaces)
.WithMetadataOrderHints()
.WithFormattingOptions(new MetadataFormattingOptionsBuilder(MetadataSerializationStyle.Tmdl)
.WithEncoding(Encoding.UTF8)
.WithNewLineStyle(NewLineStyle.WindowsStyle)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ TMDL is currently in Public Preview.

| TOM Version | TMDL Release | Max CompatLevel | Date | TE / pbi-tools | Notes |
| ----------- | ------------ | --------------- | ----------- | -------------- | ----- |
| 19.76.0 | Preview-10 | 1606 | 2-Feb-2024 | TBD | Minor API Change: `MetadataFormattingOptions.IndentationSize` _(was: 'IndentationLevelLength')_ |
| 19.77.0 | Preview-11 | 1606 | 15-Mar-2024 | [2.24.0](https://github.com/TabularEditor/TabularEditor/releases/tag/2.24.0) / NA |
| 19.76.0 | Preview-10 | 1606 | 2-Feb-2024 | | Minor API Change: `MetadataFormattingOptions.IndentationSize` _(was: 'IndentationLevelLength')_ |
| 19.74.2 | Preview-9 | 1606 | 4-Jan-2024 | [2.22.0](https://github.com/TabularEditor/TabularEditor/releases/tag/2.22.0) / [1.0.0-rc.8](https://github.com/pbi-tools/pbi-tools/releases/tag/1.0.0-rc.8) |
| 19.72.0 | Preview-8 | 1605 | 8-Dec-2023 | | BREAKING: Dropped separate TMDL NuGet packages (merged into main TOM DLL); Serialization Options |
| 19.69.6.2 | Preview-7 | 1605 | 6-Nov-2023 | 2.21.1 / 1.0.0-rc.7 |
Expand Down
1 change: 0 additions & 1 deletion TMDL/database.tmdl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
database Database
id: b7d357fe-af44-4083-9e4d-2cb216640a3a
compatibilityLevel: 1604
compatibilityMode: powerBI

4 changes: 4 additions & 0 deletions TMDL/model.tmdl
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ ref table State
ref culture en-US
ref culture de-DE

ref perspective 'Perspective 1'

ref role 'Role 1'

0 comments on commit 3006337

Please sign in to comment.