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! Request now
Hi everyone!
I'd like to combine three columns together. When 'Park Name' is blank, I want it to add data from either community center & pool or community garden. When Park Name is blank then use community center & pool. And the next column to have the already conditioned column, to then include community garden. When I add the conditional column, it's not combining the community center & pool or community garden column, it's only showing data from the park name column. I'm not sure what I'm doing wrong. Any help is greatly appreciated! Thank you!
I'd like to combine these three columns into one, so I have all of the locations in one column.
= Table.AddColumn(#"Renamed Columns", "Combined Locations", each if [Park Name] = """""" then [#"Community Center & Pool"] else [Park Name])
= Table.AddColumn(#"Added Conditional Column", "All Combined", each if [Combined Locations] = """""" then [Community Garden] else [Park Name])
When I've added that the only thing I'm coming back with are the park names in the columns, it's not adding the community centers or the community gardens into the new column. Thank you!
Solved! Go to Solution.
Hey,
In your code you have [Park Name] = """""" for a value, so it looks for """" in the string.
Try:
= Table.AddColumn(#"Renamed Columns", "Combined Locations", each if [Park Name] = "" then [#"Community Center & Pool"] else [Park Name])
Hey,
In your code you have [Park Name] = """""" for a value, so it looks for """" in the string.
Try:
= Table.AddColumn(#"Renamed Columns", "Combined Locations", each if [Park Name] = "" then [#"Community Center & Pool"] else [Park Name])
That's what it was! Thank you!!
Thanks for your reply. It's still not pulling the names into the new column using null. Is there something else that needs to be added?
Any chance you can post that sample data as text?
@olliehernandez Try using null instead of ""
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.