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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
Solution Sage
Solution Sage

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
Community Champion
Community Champion

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.