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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
durlav1993
Frequent Visitor

power bi

HI team,

i have two column ,both value "Yes" and "No" i need to find out if both "yes" means completed, If both "Yes","No" means 'Partially", and if both "no" means Not completed, If both data Blank means "Not Updated"

 

How write the Dax funtion for avove condition?

 

 

 

 

 

3 REPLIES 3
durlav1993
Frequent Visitor

Thank you so much @Thejeswar 

 

@durlav1993 , If that solved your ask, Accept the Post as Solution, so that this thread will be closed and available for others.

Thejeswar
Super User
Super User

Hi @durlav1993 ,

You can create a Calculated Column using the below DAX to achieve this

CalcColumn = IF('Table'[Column1]= "" && 'Table'[Column2]="", "Not Updated", IF('Table'[Column1] = "Yes" && 'Table'[Column2] = "Yes", "Completed", IF('Table'[Column1] = "No" && 'Table'[Column2] = "No", "Not Completed", "Partially")))

Screenshot given below for reference

Thejeswar_0-1672642854671.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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