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
Maricel
Frequent Visitor

Is it posibble to create a personalized column sellecting values from another 2 columns?

Hello,

 

I have 2 diferents columns  in a table, indicating the amount of minimiun stock: one has the data

from the ERP (1st column) and the other column has the minium stock calculated using a DAX formula (2nd column).

 

Some of my products do not have indicated the amount of minium stock allowedi n de ERP , and there is when I want to use the value generated with DAX.

Is it posible to create a personalized column that takes the value in de ERP column (1st column) (if there is any number) and add the value in a new column (the personlized one, 3rd column) and, if the value in the ERP is empty, then takes de value in the DAX column (2nd column) and add this value to the 3rd column?

 

An example:

1. ERP stock Min2. DAX Stock Min3. Personalized 
504550
 8989
 150150
6510065

 

Help please!

1 ACCEPTED SOLUTION
ERD
Community Champion
Community Champion

@Maricel ,

you need a calculated column, correct? If so, your approach:

IF( Table[column1] = BLANK(), Table[column2], Table[column1] )

If you work with measures:

Measure = IF(MAX(Table[Column1]) = BLANK(), [Measure 2], MAX(Table[Column1]))

 

If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Check out my latest demo report in the data story gallery.

Stand with Ukraine!


Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/

Thank you!

View solution in original post

1 REPLY 1
ERD
Community Champion
Community Champion

@Maricel ,

you need a calculated column, correct? If so, your approach:

IF( Table[column1] = BLANK(), Table[column2], Table[column1] )

If you work with measures:

Measure = IF(MAX(Table[Column1]) = BLANK(), [Measure 2], MAX(Table[Column1]))

 

If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your Kudos.

Check out my latest demo report in the data story gallery.

Stand with Ukraine!


Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/

Thank you!

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