Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Im looking to identify the earliest date between the two colomns in the same row.
Example data
Input | Output | ||
First Start | Second Start | Date | |
15/03/2021 | 15/09/2022 | 15/03/2021 | |
17/03/2021 | 1/03/2021 | 1/03/2021 |
Solved! Go to Solution.
Hi @Anonymous ,
Please have a try.
Create a column.
Column =
VAR first_date = 'Table'[First Start]
VAR second_date = 'Table'[Second Start]
RETURN
IF ( first_date > second_date, second_date, first_date )
Or a measure.
Measure =
VAR start_1 =
MAX ( 'Table'[First Start] )
VAR second_2 =
MAX ( 'Table'[Second Start] )
RETURN
IF ( start_1 > second_2, second_2, start_1 )
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please have a try.
Create a column.
Column =
VAR first_date = 'Table'[First Start]
VAR second_date = 'Table'[Second Start]
RETURN
IF ( first_date > second_date, second_date, first_date )
Or a measure.
Measure =
VAR start_1 =
MAX ( 'Table'[First Start] )
VAR second_2 =
MAX ( 'Table'[Second Start] )
RETURN
IF ( start_1 > second_2, second_2, start_1 )
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Please check the below picture and the attached pbix file.
it is for creating a new table.
Thanks that worked and thanks for showing me the min fucntion. I just tweaked it not to create a new table
MIN ( Input[First Start], Input[Second Start] ) )
User | Count |
---|---|
12 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
19 | |
14 | |
10 | |
7 |