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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
richpow
Regular Visitor

Conditional Coulmn

Hi 

 

I've added a new conditional column for ticket status.   It is pulling status from other columns, 

So if Complaint is Yes it should display Pending Acknowledgement, then if LOA is Sent it should change to Pending Final Response etc etc. 

 

However, if the first condition is met, it's entering that and not updating. 

So for example, Complaint is yes so its displaying Pending Acknowledgement however LOA Status has been updated to Sent but it's not updating the colum to Pending Final Response.  

 

The order should be:

 

If Complaint Yes - Pending Acknowledgment... but if 

LOA status Sent - Pending Final Response... but if

FR Status Sent - Pending Portal Update... but if

Overall Status Complated - Closed 

 

If none of those conditions met - display as Pending Initial Review

 

It's stuck on the first one and updating everything as Pending Acknowledgement and not checking for the others.  any suggestions?

 

review.PNG

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

Try reversing the order of your conditions.

View solution in original post

3 REPLIES 3
AlexisOlson
Super User
Super User

Try reversing the order of your conditions.

ValtteriN
Super User
Super User

Hi,

It seems this question could belong in Power Query section if you want to do it with a conditional column?
If you are you doign it with DAX here is one way to do this:

Dax:

Path = SWITCH(TRUE(),
'Disposition number'[Task ID]="T1"&&'Disposition number'[Project ID]="A"&&'Disposition number'[Parent Task ID]="","T1",
'Disposition number'[Task ID]="T2"&&'Disposition number'[Project ID]="A"&&'Disposition number'[Parent Task ID]="T1","T2","Conditions not met")
Example data:
ValtteriN_1-1640168351906.png

 



Logic explained:
So here I created a similar situation where if certain conditions are met my DAX returns set values (T1 and T2) similarly to your "pending statuses". If these conditions are not met the value returned is

"Conditions not met"

I hope you can use this logic to solve your issue and if you do consider accepting this post as a solution and giving a thumbs up!




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

Proud to be a Super User!




Thank you for your reply, Forgive me, I find it hard to follow that. I will review it and see if I can follow the logic.  🙂

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.