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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
selvarajd1
Microsoft Employee
Microsoft Employee

Replace BLANK with value from other row based on condition

I would like to create a Custom Column formula that copies Product value( Azure Data Manager for Agriculture) within same Product column blank values . If PRODUCT is BLANK, then I want to find non-blank value for the same record Id 

Here's a graphical representation that I am looking for.

 

selvarajd1_0-1694467750408.png

 

4 REPLIES 4
SamInogic
Super User
Super User

Hi @selvarajd1 ,

You can also try to create a custom column with below DAX expression,

Custom Column =
if(isblank( [Recordld] ) ,MAXX(FILTER('Sample', [Recordld] = EARLIER([Recordld]) && ISBLANK([Recordld])), [Recordld] ), [Recordld] )

Thanks!

 

Inogic Professional Services Division

Power Platform and Microsoft Dynamics 365 CRM Development – All under one roof!

Drop an email at crm@inogic.com

Services:  http://www.inogic.com/services/

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

Inogic Professional Services: Power Platform/Dynamics 365 CRM
An expert technical extension for your techno-functional business needs
Service: https://www.inogic.com/services/
Tips and Tricks: https://www.inogic.com/blog/

Thank you, will check and revert with update..

ValtteriN
Super User
Super User

Hi,

Here is one way to do this:

data:

ValtteriN_0-1694498332921.png


Dax:

Column =
var _id = 'Table (4)'[id]
var _nb = CALCULATE(MAX('Table (4)'[product]),ALL('Table (4)'),'Table (4)'[id]=_id) return
IF('Table (4)'[product]="",_nb,'Table (4)'[product])

End result:
ValtteriN_1-1694498659698.png

 

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thank you, will check and revert..

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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