Forum Discussion
newbie7
5 years agoFrequent Visitor
Data shaping issue
hello experts, Need some help what i have been trying to resolve forwhole day, but could not. column1 Date1 Date2 Customer1 03/12/2010 06/09/2013 Custermer1 06/...
- 5 years ago
Here's some DAX for a calculated column
Table[NewDate2] =
VAR _CurrentDate1 = 'Table'[Date1]RETURNCALCULATE(MIN('Table'[Date2]),ALLEXCEPT('Table', 'Table'[Column1]),'Table'[Date2] > _CurrentDate1)
PaulOlding
Solution Sage
5 years agoHere's some DAX for a calculated column
Table[NewDate2] =
VAR _CurrentDate1 = 'Table'[Date1]
RETURN
CALCULATE(
MIN('Table'[Date2]),
ALLEXCEPT('Table', 'Table'[Column1]),
'Table'[Date2] > _CurrentDate1
)
newbie7
5 years agoFrequent Visitor
dax is working, i just added >= as there were a few same dates. Thanks much