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.
Hello,
I have column A from Table 1 and Column B from Table 2. I need to concatenate Column A&"_"&Column B, But this is not working as they are in different tables. If I append queries,I get nulls in either of the tables. How do I move forward on this.
Solved! Go to Solution.
Hi @vennajx ,
If Table 1 and Table 2 create a relationship based on any field, you can create a calculated column to get the value you want as follows by using RELATED function.
Concatenate =
CONCATENATE (
CONCATENATE ( 'Table 1'[Column A], "_" ),
RELATED ( 'Table 2'[Column B] )
)
Alternatively, you can refer to the method in the cases below to implement it.
How to concatenate values from different tables?
Combine columns from different tables to make one table Power BI DAX
If none of the above methods can achieve the result you want, please provide some sample data of Table 1 and Table 2, along with the correct result and a screenshot of the specific examples. If there are any special requirement or condition that need to be met, please explain them in detail. Later we will provide you a suitable solution base on your shared info. Thank you.
Best Regards
Hi @vennajx ,
If Table 1 and Table 2 create a relationship based on any field, you can create a calculated column to get the value you want as follows by using RELATED function.
Concatenate =
CONCATENATE (
CONCATENATE ( 'Table 1'[Column A], "_" ),
RELATED ( 'Table 2'[Column B] )
)
Alternatively, you can refer to the method in the cases below to implement it.
How to concatenate values from different tables?
Combine columns from different tables to make one table Power BI DAX
If none of the above methods can achieve the result you want, please provide some sample data of Table 1 and Table 2, along with the correct result and a screenshot of the specific examples. If there are any special requirement or condition that need to be met, please explain them in detail. Later we will provide you a suitable solution base on your shared info. Thank you.
Best Regards
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
8 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |