Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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
Solved! Go to Solution.
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]
)
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]
)
Thanks 🙂
This worked perfectly.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 62 | |
| 62 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 120 | |
| 105 | |
| 38 | |
| 29 | |
| 28 |