Forum Discussion
Anonymous
5 years agoNot applicable
Min and max comparing to 2 columns
Hi Team, I have 4 date columns I need to display min and max. Min Date : I want to look if "actula start date" has date pick the min or if it is blank then look the value from "Planned Start Date"....
- 5 years ago
Hey Anonymous ,
you can do that with a measure like that:
Min Date = IF( MIN( 'Table'[Actual Start Date]) <> BLANK(), MIN( 'Table'[Actual Start Date] ), MIN( 'Table'[Planned Start Date] ) )Similar then for the MAX.
If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic
vanessafvg
Community Champion
5 years agoyou could do something like this
mindate =
IF (
ISBLANK ( [actual start date] ),
min([planned Start Date]),
min([actual start date])
)
you can do similar for the max date