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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
HI,
I have a Column A in a table A
Column A |
ABC, DEF |
And two other columns B and C in another Table B in power BI is
Column B | Column C |
ABC | OO |
DEF | PP |
What i wanted to display in table A is
Column A | Column D |
ABC, DEF | OO,PP |
Solved! Go to Solution.
Hi @WTAS80486
You can add a custom column with below code in Table A.
Text.Combine(
List.Combine(
List.Transform(
Splitter.SplitTextByDelimiter(",")([Column A]),
each let pColumnA = _ in Table.SelectRows(#"Table B", each [Column B] = pColumnA)[Column C]
)
),
","
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @WTAS80486
You can add a custom column with below code in Table A.
Text.Combine(
List.Combine(
List.Transform(
Splitter.SplitTextByDelimiter(",")([Column A]),
each let pColumnA = _ in Table.SelectRows(#"Table B", each [Column B] = pColumnA)[Column C]
)
),
","
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.