Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Kaney1
New Member

Multiple IF statements with multiple date columns

I am trying to create a single column to flag contract review status.  I want the query to first check the "Final Review Date" for a date and display as "Final Review Completed" if a date is entered.  If there is no date populated in the "Final Review Date" column, I want the query to check the "Initial Review Date" column for a date and display as "Initial Review Completed" if there is a date entered.  If neither date column displays a date, I want it to display "Not Reviewed".   I am not sure how to write all of these conditions in a single column.

 

Any help is greatly appreciated.

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

Hi @Kaney1 ,

Review =
IF (
    ISBLANK ( Dates[Final Review Date] ),
    IF (
        ISBLANK ( Dates[Initial Review Date] ),
        "Not Reviewed",
        "Initial Review Completed"
    ),
    "Final Review Completed"
)


reviewc.PNG

 


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Nathaniel_C
Community Champion
Community Champion

Hi @Kaney1 ,

Review =
IF (
    ISBLANK ( Dates[Final Review Date] ),
    IF (
        ISBLANK ( Dates[Initial Review Date] ),
        "Not Reviewed",
        "Initial Review Completed"
    ),
    "Final Review Completed"
)


reviewc.PNG

 


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @Kaney1 ,

Or you can do this in Power Query which is less drain on memory. Go to Power Query, Add Column tab, Custom Column.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
custom column.PNG

 

custom column2.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.