Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 46 | |
| 42 | |
| 34 | |
| 31 | |
| 21 |
| User | Count |
|---|---|
| 134 | |
| 124 | |
| 98 | |
| 80 | |
| 65 |