cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
YasminYas Regular Visitor
Regular Visitor

Column

I have 4 date columns along with ID Column
completed date

assigned date
approved date
Originated date
I want to calculate like 
IF(Completed date is blank() then Assigned date,Completed date)
If (Assigned date is blank() then approved date,Assigned date)
if (approved date is blank() then Originated date , approved date ) for each ID


How can i calculate in Dax 
Please help
TATA.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Column

@YasminYas 

 

try this column

 

Calc Column =
SWITCH (
    FALSE (),
    ISBLANK ( [Completed date] ), [Completed date],
    ISBLANK ( [Assigned date] ), [Assigned date],
    ISBLANK ( [Approved date] ), [Approved date],
    ISBLANK ( [Originated date] ), [Originated date]
)
2 REPLIES 2
Super User
Super User

Re: Column

@YasminYas 

 

try this column

 

Calc Column =
SWITCH (
    FALSE (),
    ISBLANK ( [Completed date] ), [Completed date],
    ISBLANK ( [Assigned date] ), [Assigned date],
    ISBLANK ( [Approved date] ), [Approved date],
    ISBLANK ( [Originated date] ), [Originated date]
)
YasminYas Regular Visitor
Regular Visitor

Re: Column

Thanks Smiley Happy
This worked perfectly.