Našimi kurzy prošlo více než 10 000+ účastníků
2 392 ověřených referencí účastníků našich kurzů. Přesvědčte se sami
This article shows, how to merge text strings into groups. Like CONCATENATEX, but in queries – not in DAX.
In another words we are going to create the right table from the left one:
In Power Query you can´t do it by one click, but you can write it in the Power Query M Language:
Just replace the red parts with your name of previous step and names of your columns:
The sample file can be downloaded here:
If you are not fans of direct coding in M, you can start by clicking and then tune it little bit. Start by grouping and use any function, for example SUM (it will make sense later…):
Ten go to formula bar and simply rewrite sum to Text.Combine and it works. If you want to separate the result strings, just add the second argument of Text.Combine:
Comments are closed.
2 392 ověřených referencí účastníků našich kurzů. Přesvědčte se sami
Pište kdykoliv. Odpovíme do 24h
© exceltown.com / 2006 - 2023 Vyrobilo studio bARTvisions s.r.o.
Congratulations! Here was the only place I could find the solution.