cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
x2kibail Frequent Visitor
Frequent Visitor

Conditional Column: Can't use Conditional Column Builder

I'm a beginner when it comes to query building, so all help is appreciated.

 

I need to create a column(3) that looks at column(1) and if it contains a value (a date), then it will look at the next column(2) and see if it contains a value (a date), if column(2) does not contain a value then I want column(3) to say "Unresolved", if there is a value in column(2), I want it to say "Resolved" ... if column(1) is null then I want column(3) to leave the column null or blank.

 

if column 1 is blank/null, NEW column should be blank/null

if column 1 is NOT blank and column 2 is NOT blank, NEW column = "Resolved"

if column 1 is NOT blank and column 2 IS BLANK, NEW column = "Unresolved"

1 ACCEPTED SOLUTION

Accepted Solutions
v-jiascu-msft Super Contributor
Super Contributor

Re: Conditional Column: Can't use Conditional Column Builder

Hi @x2kibail,

 

Try this one. Please also refer to the snapshot below.

Column =
IF (
    ISBLANK ( [Column1] ),
    BLANK (),
    IF (
        NOT ISBLANK ( [Column1] ) && ISBLANK ( [Column2] ),
        "Unresolved",
        IF (
            NOT ISBLANK ( [Column1] ) && NOT ISBLANK ( [Column2] ),
            "Resolved",
            "Unknown"
        )
    )
)

Conditional-Column

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-jiascu-msft Super Contributor
Super Contributor

Re: Conditional Column: Can't use Conditional Column Builder

Hi @x2kibail,

 

Try this one. Please also refer to the snapshot below.

Column =
IF (
    ISBLANK ( [Column1] ),
    BLANK (),
    IF (
        NOT ISBLANK ( [Column1] ) && ISBLANK ( [Column2] ),
        "Unresolved",
        IF (
            NOT ISBLANK ( [Column1] ) && NOT ISBLANK ( [Column2] ),
            "Resolved",
            "Unknown"
        )
    )
)

Conditional-Column

 

Best Regards,
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
x2kibail Frequent Visitor
Frequent Visitor

Re: Conditional Column: Can't use Conditional Column Builder

I think that did it! Thanks

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 41 members 991 guests
Please welcome our newest community members: