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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
paw1
Helper I
Helper I

if logic Help

Hi,

I have below if logic inTableau. Please can you help me to convert same in Power BI.

 

high priority=if [Reached Active?]="Yes" and [Reached Priority?]="Yes" and [Reached High Priority?]="Yes" and [Completed/Portfolio?]="No" then
if [Status (adjust)]="On hold" or [Status (adjust)]="Onhold-Tracked" then "Yes" else
if [Status (adjust)]="Monitor" or [Status (adjust)]="Active" or [Status (adjust)]="Priority" then "Yes"
else "No" END
END
else "No" END

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @paw1 ,

Please have a try.

Create a column.

high priority =
IF (
    table[Reached Active?] = "Yes"
        && table[Reached Priority?] = "Yes"
        && table[Reached High Priority?] = "Yes"
        && table[Completed/Portfolio?] = "No",
    "No",
    IF (
        table[Status (adjust)] = "On hold"
            || table[Status (adjust)] = "Onhold-Tracked",
        "Yes",
        IF (
            table[Status (adjust)] = "Monitor"
                || table[Status (adjust)] = "Active"
                || table[Status (adjust)] = "Priority",
            "Yes",
            "No"
        )
    )
)

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

1 REPLY 1
Anonymous
Not applicable

Hi @paw1 ,

Please have a try.

Create a column.

high priority =
IF (
    table[Reached Active?] = "Yes"
        && table[Reached Priority?] = "Yes"
        && table[Reached High Priority?] = "Yes"
        && table[Completed/Portfolio?] = "No",
    "No",
    IF (
        table[Status (adjust)] = "On hold"
            || table[Status (adjust)] = "Onhold-Tracked",
        "Yes",
        IF (
            table[Status (adjust)] = "Monitor"
                || table[Status (adjust)] = "Active"
                || table[Status (adjust)] = "Priority",
            "Yes",
            "No"
        )
    )
)

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Rongtie

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

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.