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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bdehning
Post Prodigy
Post Prodigy

Custom Address Column

I am using the following Custom Column Formula to create a column of locations with address, city, state and zip code. 

 

= [Injury Location Address1]&", "&[Injury Location City]&", "&[Injury Location State]&" "&[Injury Location Zip Code]

 

It almost works but I if one of the 4 location columns is null, it considers the whole address null for the custom column.  

 

What can I do to the above formula or in a different way allow the address to show inmy custom column if at least one of the four has proper data.  

 

1 ACCEPTED SOLUTION
bdehning
Post Prodigy
Post Prodigy

I went ahead and Merged all 4 columns and that worked as expected as compared to my Custom Column.   

View solution in original post

4 REPLIES 4
bdehning
Post Prodigy
Post Prodigy

I went ahead and Merged all 4 columns and that worked as expected as compared to my Custom Column.   

bdehning
Post Prodigy
Post Prodigy

I should have said I am not getting the partial addresses to show if there is a null value in any of the 4 column fields for a single addess.  

 

Could the null values be the issue and I need to have the null show as blank or somethiing else so that I see what the column can merge?

tamerj1
Community Champion
Community Champion

@bdehning 

Sorry I'm not to pickup the idea.

tamerj1
Community Champion
Community Champion

Hi @bdehning 

it shouldn't. There must be something else. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.