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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
perib
New Member

Show status based on date columns

Hello! I'm new to Power BI and I have no idea how to proceed. I have multiple columns with dates. I need to show a status column based on the latest date available. Here is an example:

 

TitleTasker expirationDate Received ReviewedSent for approvalDate ApprovedActuals due byStatus
Event #111/28/202212/1/202212/2/2022   Under review
Event #212/12/2022     Not received
Event #311/28/202212/1/202212/5/202212/10/2022  Awaiting approval
Event #411/29/202212/1/202212/5/202212/10/2022  Awaiting approval
Event #511/30/202212/1/202212/7/2022   Under review
Event #612/1/202212/5/2022    Under review
Event #712/2/2022      

 

Thank you in advance!

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

Please check attached pbix for more details.

https://dropmefiles.com/SPbuD

status_f =
IF (
    NOT ISBLANK ( 'tbl'[Actuals due by] ),
    "Actuals",
    IF (
        NOT ISBLANK ( 'tbl'[Date Approved] ),
        "Approved",
        IF (
            NOT ISBLANK ( 'tbl'[Sent for approval] ),
            "Awaiting approval",
            IF (
                NOT ISBLANK ( 'tbl'[ Reviewed] ),
                "Under review",
                IF ( NOT ISBLANK ( 'tbl'[Date Received] ), "Under review", "Not received" )
            )
        )
    )
)

View solution in original post

1 REPLY 1
Ahmedx
Super User
Super User

Please check attached pbix for more details.

https://dropmefiles.com/SPbuD

status_f =
IF (
    NOT ISBLANK ( 'tbl'[Actuals due by] ),
    "Actuals",
    IF (
        NOT ISBLANK ( 'tbl'[Date Approved] ),
        "Approved",
        IF (
            NOT ISBLANK ( 'tbl'[Sent for approval] ),
            "Awaiting approval",
            IF (
                NOT ISBLANK ( 'tbl'[ Reviewed] ),
                "Under review",
                IF ( NOT ISBLANK ( 'tbl'[Date Received] ), "Under review", "Not received" )
            )
        )
    )
)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.