March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a number of address columns that need combined. Company Name, Address1, Address2, City, State, Zip, Country etc.
How could I combine but in a format on how an address is typically writen
Like below:
Bob's Store
24 Winner Street, Apt A
Bozeman, MT 59718
USA
Not like below:
Bob's Store, 24 WInner Street, Apt A Bozeman, MT 59718, USA
Solved! Go to Solution.
Hi @Jorr13 ,
Here are the steps you can follow:
1. Create calculated column.
Column =
'Table'[Company Name] & UNICHAR(10) &
COMBINEVALUES(",",'Table'[Address1],'Table'[Address2]) & UNICHAR(10) &
COMBINEVALUES(",",COMBINEVALUES(",",'Table'[City],'Table'[State]),'Table'[Zip]& UNICHAR(10) &
'Table'[Country])
2. Result:
Please click here for the pbix file
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Jorr13 ,
Here are the steps you can follow:
1. Create calculated column.
Column =
'Table'[Company Name] & UNICHAR(10) &
COMBINEVALUES(",",'Table'[Address1],'Table'[Address2]) & UNICHAR(10) &
COMBINEVALUES(",",COMBINEVALUES(",",'Table'[City],'Table'[State]),'Table'[Zip]& UNICHAR(10) &
'Table'[Country])
2. Result:
Please click here for the pbix file
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@Jorr13 , Try to create a column and see if that can work
Add = [Company Name] & unichar(10) & [Address1] & "," & unichar(10) & [Address2] & "," & unichar(10) & "," & [City] & "," & unichar(10) & [State] & "," & unichar(10) & [Zip] & unichar(10) & [Country]
@Jorr13 , I have given DAX formula
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |