Forum Discussion
charleshale
Continued Contributor
3 years agoData Lineage Failing to Change with Virtual Table and TREATAS
Can anyone see why the following fails to change the data lineage from dimdate[date] to bookings[agreement end date]? Book AvailToRenew=
VAR _MyTable =
ADDCOLUMNS (
SUMMARIZE('Boo...
amitchandak
Super User
3 years agocharleshale , In this case date table should not be joined with any date of your table
example
CALCULATE(
sum('Bookings'[Contract Value]),
TREATAS(VALUES('Bookings'[agreement end date])
, DimDate[Date])
)
In case of multiple relationship
CALCULATE(
sum('Bookings'[Contract Value]),
UseRelationship([agreement end date], DimDate[Date])
)
Not sure on role of id in this case, As it is sum