Forum Discussion
How to find SourceLineageTag withim project file?
- 10 months ago
Hi jaryszek,
You’re right that ChangedProperty = Name is used to track renamed objects so Power BI recognizes the column or table as the same entity after schema changes. When updating the expressionSource, there’s no need to add another ChangedProperty entry. The expression or query is managed by its own source or expression property in the TMDL file, so using ChangedProperty = Name for renamed elements is enough.
If you’re working with a Direct Lake or composite model, ensure the sourceLineageTag accurately references the updated table or field in your Lakehouse or Warehouse. This helps Power BI bind the renamed fields correctly and prevents them from being reset or dropped after a schema refresh. Only the Name property needs the change-tracking flag; other updates like expression changes are automatically managed during model sync.
Thank you.
Ok thanks,
I want to add few things:
1. Linear Tag for each table you can check under TMDL script, if this is pointing to old table schema it will not work, you need to have exact tag for specific schema and table you want to switch with: like Mart.FctTable2
2. You need to change also this kind of annotation:
from automatic generated string to just False.
3. You need to add ChangedProperty = Name within specific table and you can change EntityName and Schema:
Voila! you can refresh model.
My question to you v-sgandrathi , if i want to change expressionSource this ChangedProperty = Name will be enough or i should use another property?
Best,
Jacek
Hi jaryszek,
You’re right that ChangedProperty = Name is used to track renamed objects so Power BI recognizes the column or table as the same entity after schema changes. When updating the expressionSource, there’s no need to add another ChangedProperty entry. The expression or query is managed by its own source or expression property in the TMDL file, so using ChangedProperty = Name for renamed elements is enough.
If you’re working with a Direct Lake or composite model, ensure the sourceLineageTag accurately references the updated table or field in your Lakehouse or Warehouse. This helps Power BI bind the renamed fields correctly and prevents them from being reset or dropped after a schema refresh. Only the Name property needs the change-tracking flag; other updates like expression changes are automatically managed during model sync.
Thank you.