Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello
I have such table (a lot of records, it's just example):
I need to get in PBI such result:
Please help.
Solved! Go to Solution.
@Anonymous
Please check if this helps
See File attached as well for the steps
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUTICYqVYHQgHiMwgHEMzEyDH0BwuCxFAVwBE5kqxsQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [tickets_id = _t, Author = _t, Assighnee = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"tickets_id", Int64.Type}, {"Author", Int64.Type}, {"Assighnee", Int64.Type}}), #"Grouped Rows" = Table.Group(#"Changed Type", {"tickets_id"}, {{"Author", each List.First(List.RemoveNulls([Author]))}, {"Assighnee", each Text.Combine(List.RemoveNulls(List.Transform([Assighnee],each Text.From(_))),",") }}), #"Split Column by Delimiter" = Table.SplitColumn(#"Grouped Rows", "Assighnee", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), {"Assighnee.1", "Assighnee.2"}) in #"Split Column by Delimiter"
@Anonymous
Please check if this helps
See File attached as well for the steps
let Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMlTSUTICYqVYHQgHiMwgHEMzEyDH0BwuCxFAVwBE5kqxsQA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [tickets_id = _t, Author = _t, Assighnee = _t]), #"Changed Type" = Table.TransformColumnTypes(Source,{{"tickets_id", Int64.Type}, {"Author", Int64.Type}, {"Assighnee", Int64.Type}}), #"Grouped Rows" = Table.Group(#"Changed Type", {"tickets_id"}, {{"Author", each List.First(List.RemoveNulls([Author]))}, {"Assighnee", each Text.Combine(List.RemoveNulls(List.Transform([Assighnee],each Text.From(_))),",") }}), #"Split Column by Delimiter" = Table.SplitColumn(#"Grouped Rows", "Assighnee", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), {"Assighnee.1", "Assighnee.2"}) in #"Split Column by Delimiter"
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
39 |