From 841caf8d4c348af194d3cc89e30285cfe791e76c Mon Sep 17 00:00:00 2001 From: Alberto Spelta Date: Thu, 12 Oct 2023 09:28:27 +0200 Subject: [PATCH] Fix SaveAffectedRelationships FromColumn --- src/Dax.Template/Tables/TableTemplateBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dax.Template/Tables/TableTemplateBase.cs b/src/Dax.Template/Tables/TableTemplateBase.cs index e2ee90a..62a99f7 100644 --- a/src/Dax.Template/Tables/TableTemplateBase.cs +++ b/src/Dax.Template/Tables/TableTemplateBase.cs @@ -197,7 +197,7 @@ where r is SingleColumnRelationship select r) where relationship.FromTable.Name == tabularTable.Name && IsRelationshipToSaveAndRestore(relationship) - select (relationship, relationship.FromColumn.Name, relationship.ToColumn.IsKey); + select (relationship, relationship.FromColumn.Name, relationship.FromColumn.IsKey); } }