Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am new to Power BI. I have 3 tables: Table A, Table B, and Table C. Table A and Table B both have a relationship with Table C but do not have a relationship with each other. I am trying to figure out how to concatenate 2 fields (one from Table A and one from Table B).
Any help would be appreciated. Thanks!
Solved! Go to Solution.
Hi @kbebow ,
According to your description, I create sample data to test the scenario. You can create measure Concatenate in Table A to meet your demand.
Concatenate = MAX('Table A'[Text])&"-"&MAX('Table B'[Text])
If the Cross filter direction in the relationships which Table A and Table B have with Table C are both Single, return the result like picture below, which concatenate each row value from Table A and Table B.
While, if there are one or two Both for the Cross filter direction in the relationships which Table A and Table B have with Table C , return the result like picture below, which concatenate only matched row value from Table A and Table B.
Here is my test pbix: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EUn5kSNkSoVAh48ErN...
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @kbebow ,
According to your description, I create sample data to test the scenario. You can create measure Concatenate in Table A to meet your demand.
Concatenate = MAX('Table A'[Text])&"-"&MAX('Table B'[Text])
If the Cross filter direction in the relationships which Table A and Table B have with Table C are both Single, return the result like picture below, which concatenate each row value from Table A and Table B.
While, if there are one or two Both for the Cross filter direction in the relationships which Table A and Table B have with Table C , return the result like picture below, which concatenate only matched row value from Table A and Table B.
Here is my test pbix: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EUn5kSNkSoVAh48ErN...
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |