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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
HelpmeRhonda
New Member

IF & DATEDIFF - 3 Status Help with my function Please

I have a status Column with 3 texts: Completed, In Progress, Not Started. 

I would like to pull for both "In Progress" and "Not Started" or pull for all but "Completed".  
 
This works but what would I need to add to do what I need?
 
Days Open = if(
([TASK_STATUS]="In Progress"),
DATEDIFF(TEST[TASK_FINISH],TODAY(),DAY)& "",
""
)
 
 
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

[TASK_STATUS]<>"Completed"

 

or

 

[TASK_STATUS] IN {"In Progress","Not Started"}

View solution in original post

2 REPLIES 2
HelpmeRhonda
New Member

Thank you so much for you help! 

lbendlin
Super User
Super User

[TASK_STATUS]<>"Completed"

 

or

 

[TASK_STATUS] IN {"In Progress","Not Started"}

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.