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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
kient
New Member

Replace null value in merged cells

Hi,

 

My excel file has merged cells. When loads in query, only the first cell has value, others are blanks. How can i use power query to fill the same value for blank cells?

 

Blank value.jpg

 

Thanks,

 

1 ACCEPTED SOLUTION

The problem is solved, 

@amitchandak, many thanks for your great support

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@kient ,

In Edit query, you have a replace option

https://www.edureka.co/community/40467/replace-null-values-custom-values-power-power-query-editor

https://bengribaudo.com/blog/2018/06/26/4470/power-query-m-primer-part6-types-intro-text

 

In dax you can use isblank to check and coalesce to handle null


Column = coalesce('Table' [A], "NA" )

Or
Column = if ( isblank( 'Table' [A]), "NA" , 'Table' [Province])

 

The problem is solved, 

@amitchandak, many thanks for your great support

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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