The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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"})