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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Creating a column based to value of 2 others

Hi 

 

I need to add a coumn to my report, based on the value of 2 other columns but only have a value where the specific values are met, anything else should be null or blank. 

 

StatusOwnerNew Column
OpenJohn SmithIf Status = Open & Owner = John Smith then value = "In Remediation" else blank
ClosedJohn Smithif status = Closed & Owner = John Smith then value = "Remediaiton Closed" else blank

 

What I'm trying to acheive i've added to the "New Column" above, is there an easy way to acheive this?

1 ACCEPTED SOLUTION
Uzi2019
Super User
Super User

Hi @Anonymous 
Please create calculated column as below:
New column= IF('Table'[status]="Open" && 'Table'[Owner]="John Smith","In Remediation", IF(Table'[status]="Close" && 'Table'[Owner]="John Smith","Remediaiton Closed",Blank()))

 

Let me know your answer!

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

3 REPLIES 3
Data-estDog
Resolver II
Resolver II

Click on transform. Select table: 

Click add column tab. Click Custom column

DataestDog_2-1698846636604.png

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Uzi2019
Super User
Super User

Hi @Anonymous 
Please create calculated column as below:
New column= IF('Table'[status]="Open" && 'Table'[Owner]="John Smith","In Remediation", IF(Table'[status]="Close" && 'Table'[Owner]="John Smith","Remediaiton Closed",Blank()))

 

Let me know your answer!

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
Anonymous
Not applicable

Thank you! this worked perfectly

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors