Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi All,
I only have access to create reports from an existing online Model within PowerBI. I am unable to create an additional column in the model that would concatenate these fields easily.
I have 4 fields that I want to concatenate into a single field being:
- FirstName
- Surname
- Shortname.
- A " - " also needs to be included which is not inc the model.
Example of fields inPeopleInformationTable at present is:
FirstName Surname ShortName
Barry Star BStar
Desired Outcome in one NEW Measure that would be inserted into a Table in a report is:
Barry Star - BStar
Is there a way in PowerBI to join these fields without requiring an update to the underlying model?
Cheers,
Amanda
Solved! Go to Solution.
Hi @awilson26
Measures do not have a row context. For example, if you use SELECTEDVALUE('table'[First Name]) & SELECTEDVALUE('table'[Last Name]) within a measure but do not include the referenced columns in your visual, you will see a blank result. If modifying the model isn't an option, you can create a local model by converting a live connection to direct query. This approach is triggered when you add an additional data source. Alternatively or if the direct quey approach still isn't an option, you can request the semantic model owner to add the necessary information for you.
Hi @awilson26
Measures do not have a row context. For example, if you use SELECTEDVALUE('table'[First Name]) & SELECTEDVALUE('table'[Last Name]) within a measure but do not include the referenced columns in your visual, you will see a blank result. If modifying the model isn't an option, you can create a local model by converting a live connection to direct query. This approach is triggered when you add an additional data source. Alternatively or if the direct quey approach still isn't an option, you can request the semantic model owner to add the necessary information for you.
@awilson26 , You can create new measure but that will work as expected only when you have first name and last name in visual. You need to have column for that
Measure = Maxx(Table, Left([First Name], 1) & [Last Name] )
Better to have a column = Left([First Name], 1) & [Last Name]
As long as you have at least 1 column in the table visual which uniquely identifies a row in the person table, you could use
Concatenated Name =
SELECTEDVALUE ( PeopleInformation[FirstName] ) & " "
& SELECTEDVALUE ( PeopleInformation[Surname] ) & " - "
& SELECTEDVALUE ( PeopleInformation[ShortName] )
The column to identify a row doesn't necessarily need to be visible. You could turn off word wrap for that column and set the width to 0.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
42 | |
31 | |
27 | |
27 |