Forum Discussion
Anon29
2 years agoHelper II
Group By - updated problem
Hi all, hoping someone can help. The data below is an example of one phone conversation and the order of the people talking is in order from first contact person being 411 to the last contact person...
- 2 years ago
Hi, Anon29 looks like you need to select min Talkorder withing each Talk ID and Name.
let Source = raw_data_table, group = Table.Group(Source, {"Name", "Talk ID"}, {{"all", each Table.Min(_, "Talkorder")}}), expand = Table.ExpandRecordColumn(group, "all", {"Date", "Talkorder"}) in expand
ChielFaber
2 years agoSuper User
You can create a rownumber per TalkID with the group by function best described in the following blog post by Radacad:
https://radacad.com/create-row-number-for-each-group-in-power-bi-using-power-query
This creates a row number per talkID. The last thing you would need to do is filter on rownumber 1 (or index = 1) using the UI.
Greetings,
Chiel