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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
nic2023
Frequent Visitor

Power Query: condition column with multiple conditions but in order

Would like to get some advice on: 

How to set up a new condition colcumn ("Tag") to meet the following 4 conditions in order - step 1 to 4: 

nic2023_0-1710470092858.png

Step1 : Filter "Project ID" beging with "WR", anything not begin with WR tag as "n/a"
Step2: Filter "Cost Centre" = 22000 then Tag = Work Request
Step 3: After filter out Cost Cenre 22000, then filter "Region" = US, then Tag = RUN
Step 4: After filter out US, then filter "Region" =Non-US, then Tag = Change

 

Thank you so much guys! 

1 ACCEPTED SOLUTION

Thanks! 

I've figured out it. Managed to set up those conditions in Custom Columns by using "else if" - worked out perfectly. 🙂 

Thank you all the same! 

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

That's a great summary.  You can implement that verbatim.  What have you tried and where are you stuck?

Thanks! 

I've figured out it. Managed to set up those conditions in Custom Columns by using "else if" - worked out perfectly. 🙂 

Thank you all the same! 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.