Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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"
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |