Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hello,
I was wondering how to replace non null values in a column with the column title, what would be the best code to do this?
Thanks!
Kind regards
Valeria
Solved! Go to Solution.
=Table.TransformColumns(PreviousStepName,{"ColumnName",each if _=null then _ else "ColumnName"})
thank you!
=Table.TransformColumns(PreviousStepName,{"ColumnName",each if _=null then _ else "ColumnName"})
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
