Forum Discussion
DAX ? How to extract a value from another table based the value of multiple columns in that table?
- Anonymous4 years ago
Hi 3lj ,
If you want a calculated column, please try.
Start Date = VAR _table = RELATEDTABLE ( 'Projects' ) VAR _mindate = CALCULATE ( MIN ( 'Tasks'[Stage Complete] ), _table ) RETURN _mindateEnd Date = VAR _table = RELATEDTABLE ( 'Projects' ) VAR _maxdate = CALCULATE ( MAX ( 'Tasks'[Stage Complete] ), _table ) RETURN _maxdateBest Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi 3lj ,
If you want a calculated column, please try.
Start Date =
VAR _table =
RELATEDTABLE ( 'Projects' )
VAR _mindate =
CALCULATE ( MIN ( 'Tasks'[Stage Complete] ), _table )
RETURN
_mindateEnd Date =
VAR _table =
RELATEDTABLE ( 'Projects' )
VAR _maxdate =
CALCULATE ( MAX ( 'Tasks'[Stage Complete] ), _table )
RETURN
_maxdate
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data