Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have two tables (A and B).
Table A has 4 columns.
User ID First Name Last Name Preferred Name
Table B has 1 column named User ID
I want to create a new column named Person Name in Table B based on User ID where I concatenate first name, last name and preferred name.
Example:
Table A
User ID First Name Last Name Preferred Name
123 Sam John NULL
4351 Samuel Hans Samu
Table B
User ID Person Name
123 John, Sam
4351 Hans, Samuel (Samu)
Power BI creats a relationship between the Table A and Table B based on User ID
I understand I need to use related DAX function and concatenate the columns.
can i get the correct syntax.
@im_newbie_123 im_n
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
22 | |
11 | |
10 | |
10 | |
8 |