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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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