Forum Discussion
Linking related items within the same table-Power Query
- 4 years ago
Hey mraka9 ,
here you will find the pbix file: https://tommartens-my.sharepoint.com/:u:/g/personal/tom_minceddata_com/EblF6V1lDU9Juds8936QHn4Bv2SHqj2_a1QhalXlXJyVqw?e=5kWRbf
Regards,
Tom
Hello Tom,
can you customize the function?
Column B is in text form for me. It is not necessary to change the garden in operation.
Although everything in the example is mostly shown as a number, there is also text.
Apologies and thank you very much in advance!
- mraka93 years agoHelper III
Thanks Tom!
I will try to do it that way, I hope it will work then.
nice greetings, - mraka93 years agoHelper III
Greeting,
it's amazing but I'm still struggling with this problem. You have found a solution but when I try to apply it to my large database I have a problem. I don't know if the problem is that everything is in Croatian...
When I add a custom column as you said, the column is created for me and it says "Function".I don't know what I'm doing wrong.
This is the code I entered:
= Table.AddColumn(#"Dupliciran stupac1", "Prilagođeno", each ( row ) =>
let
filtervalue = row[#"Kataloški broj i ponuditelj - kopija"],
combinedString =
Text.Combine(
List.Transform(
Table.SelectRows( #"Dupliciran stupac1" , each [Kataloški broj i ponuditelj] = filtervalue) [#"Kataloški broj i ponuditelj-srodni"]
, each _
)
, ";")
in
combinedString)REMARK:
In the example I added that the columns are called A B and C, but in reality they are columns:
A = Kataloški broj i ponuditelj
B = Kataloški broj i ponuditelj-srodni
C = Kataloški broj i ponuditelj - kopijaThank you very much in advance