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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
gusdahu
Helper IV
Helper IV

Concatenation Question

Hellow Power BI community,

 

I currently have a direct link from PeopleSoft to my Power BI. How can I concatenate two columns using the measurement functionality?

 

Regards,

Gus Dahu

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

@gusdahu

To get the measure as requested, you may use SELECTEDVALUE Function:

Measure :=
CONCATENATE (
SELECTEDVALUE ( 'Table'[Column1] ),
SELECTEDVALUE ( 'Table'[Column2] )
)


Regards,
Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

9 REPLIES 9
v-cherch-msft
Microsoft Employee
Microsoft Employee

@gusdahu

To get the measure as requested, you may use SELECTEDVALUE Function:

Measure :=
CONCATENATE (
SELECTEDVALUE ( 'Table'[Column1] ),
SELECTEDVALUE ( 'Table'[Column2] )
)


Regards,
Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Shantanu00007
Helper I
Helper I

Create a new column -> newcolumn = [column1]&[column2]

Shantanu0007,

 

I aprpeciate your quick response to my question. Unfortunately your solution did not work. Do you have any other alternatives?

 

Regards,

Gus Dahu

Forgive the possible patronising question, but did you substitute [column1] and [column2] for the actual names of your own columns in the supplied suggestion:

 

newcolumn = [column1]&[column2]

If you did, perhaps you could supply a screenshot of what happens when you try it? I'm wondering if it could be that one of the columns needs to be a different data type to make the concatenation work.

Hi Gazzer,

 

I did input the actual names into the measurement formula. The measurement was created, however when I attempt to add the measurement as a column in the table, I receive a rejection from the visual itself telling me that the information cannot be displayed.

 

Regards,

Gus Dahu

Could you please give a snapshot of the requirement and desired output ?

Hi Shantanu00007,

 

Basically I have a "PO_ID" column and a "Business_Unit_PO" column. I would like to concatenate the two to create a unique identifier to use in my analysis. I believe both columns are in text format although I am not 100% sure as I'm using the direct query feature from PeopleSoft which in turn disables a lot of Power BIs functionalities such as Edit Query.

 

Regards,

Gus Dahu

Create a new column instead of new measure. Newcolumn=[PO_ID]&[Business_Unit_PO]

Shantanu00007,

 

The New Column option is greyed out as my data is directly connected to PeopleSoft.

 

Regards,

Gus Dahu

 

 

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors