How to Concatenate in Power BI

Published On: June 20, 2024
How to Concatenate in Power BI

Summarize with AI

To concatenate in Power BI, follow these easy steps: 

  1. Select the columns you want to combine.
  2. Go to the “Add Column” tab and choose “Custom Column.”
  3. Name your new column.
  4. Enter the formula using the CONCATENATE function and references to your chosen columns.
  5. Click “OK” to create your new column. 

Concatenation is a fundamental skill in Power BI development. It allows you to combine data from multiple columns into a single, more informative field. This can be useful for creating full names, product codes, or any other scenario where you need to combine information. 

How CONCATENATE Works 

The CONCATENATE function joins two text strings into one. You can use text, numbers, or even references to other columns within the function. 

Here’s the basic syntax: 

= CONCATENATE(<text1>, <text2>) 
  • <text1>: The first piece of data you want to combine. 
  • <text2>: The second piece of data you want to combine. 

 

Concatenating More Than Two Columns 

The DAX CONCATENATE function only accepts two arguments. But fear not! If you need to join more than two columns, you can use either nested CONCATENATE functions or the ampersand (&) operator. 

The ampersand is a simpler way to achieve concatenation. Here’s an example: 

= [Product abbreviation] & "-" & [Product number] 

This formula combines the Product abbreviation and Product number columns with a hyphen in between. 

 

Looking for other tips from our Power BI Development Experts? 

 

Hire Power BI Developer

For seamless Power BI development and to create interactive dashboards and reports that turn your data into actionable insights, hire a Power BI developer today. Get in touch with one of our Power BI Consultants today to discuss your needs.

ABOUT THE AUTHOR

Tushar Puri

Based in Southern California, Tushar has over 21 years of hands-on experience providing software solutions to organizations ranging from small enterprises to Fortune 500 companies.

Since beginning his entrepreneurial journey in 2008, he has strived to bring customer service and innovation to his clients.

Explore More Insights

Have a project in mind?

Set up a conversation with us, no strings attached, and tell us what you need.

    Explore More Insights