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
Chanleakna123
Post Prodigy
Post Prodigy

Condition Measure

HI Team , 

I need your big help on the condition measure. 

what i want is : 

1st : create another column  ,  if Complete Status = Complete and close status = Close , then it's "Complete & Close"

If Complete Status = Complete and Close Status = Blank , then it's "Complete No Close"

If Complete Status = Blank and Close Status = Blank , then it's " In Progress"

1.PNG

1 ACCEPTED SOLUTION
Baskar
Resident Rockstar
Resident Rockstar

@Chanleakna123

 

Try this 

 

New Column =
var com_status = Complete Status // Use your complete status column
var clo_status = close Status // Use your close status column

return switch ( true(),
com_status = "Complete" && clo_status = Close ,"Complete & Close",
com_status = "Complete" && Isblank(clo_status) ,"Complete No Close",
Isblank(com_status) && Isblank(clo_status),"In Progress",
"None"
)

View solution in original post

1 REPLY 1
Baskar
Resident Rockstar
Resident Rockstar

@Chanleakna123

 

Try this 

 

New Column =
var com_status = Complete Status // Use your complete status column
var clo_status = close Status // Use your close status column

return switch ( true(),
com_status = "Complete" && clo_status = Close ,"Complete & Close",
com_status = "Complete" && Isblank(clo_status) ,"Complete No Close",
Isblank(com_status) && Isblank(clo_status),"In Progress",
"None"
)

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.