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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors