Forum Discussion
MAX date based on another column
- Anonymous2 years ago
Hi learner03 ,
It could be a DAX measure that is causing the circular dependency.
I tried to create data to reproduce your problem, here are my test steps:
Test dataApply your calculate column
Here's my modification of this dax to achieve your goal
LastUpdateDate = CALCULATE( MAX('Table'[Date update]), FILTER( 'Table', 'Table'[A&B] = EARLIER('Table'[A&B]) && NOT(ISBLANK('Table'[Date update])) ) )Final output
You can refer to this link for more information on cyclic dependencies
Avoiding circular dependency errors in DAX - SQLBIBest regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi learner03 ,
It could be a DAX measure that is causing the circular dependency.
I tried to create data to reproduce your problem, here are my test steps:
Test data
Apply your calculate column
Here's my modification of this dax to achieve your goal
LastUpdateDate =
CALCULATE(
MAX('Table'[Date update]),
FILTER(
'Table',
'Table'[A&B] = EARLIER('Table'[A&B])
&& NOT(ISBLANK('Table'[Date update]))
)
)
Final output
You can refer to this link for more information on cyclic dependencies
Avoiding circular dependency errors in DAX - SQLBI
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly