Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hey everyone i'm new to powerbi and got stuck in a stiuation
the data i've is
And the result i want is
Solved! Go to Solution.
See the working here - Open a blank query - Home - Advanced Editor - Remove everything from there and paste the below code to test
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclTSUXL0BRJRQGxkYGSoa2Cka2gEEnVyVorVwaciPDjYBazECchxASlxhCsx1TU0BnIiIqPAKpyBbFQFJhAFjuFQM3CqcHL0C/WOBKtxAcmDiCBkp5iCnBICMcUVagqGWyMiQpRiYwE=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Name = _t, Designation = _t, #"Manager Name" = _t, Date = _t, #"Client name" = _t]),
#"Grouped Rows" = Table.Group(Source, {"Name", "Designation", "Manager Name", "Date"}, {{"Client name", each Text.Combine([Client name],","), type nullable text}}),
Custom1 = Table.SplitColumn(#"Grouped Rows", "Client name", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), List.Transform({1..List.Max(Table.AddColumn(#"Grouped Rows", "Temp", each List.Count(Text.Split([Client name],",")))[Temp])},each "Client name." & Number.ToText(_)))
in
Custom1
See the working here - Open a blank query - Home - Advanced Editor - Remove everything from there and paste the below code to test
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclTSUXL0BRJRQGxkYGSoa2Cka2gEEnVyVorVwaciPDjYBazECchxASlxhCsx1TU0BnIiIqPAKpyBbFQFJhAFjuFQM3CqcHL0C/WOBKtxAcmDiCBkp5iCnBICMcUVagqGWyMiQpRiYwE=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Name = _t, Designation = _t, #"Manager Name" = _t, Date = _t, #"Client name" = _t]),
#"Grouped Rows" = Table.Group(Source, {"Name", "Designation", "Manager Name", "Date"}, {{"Client name", each Text.Combine([Client name],","), type nullable text}}),
Custom1 = Table.SplitColumn(#"Grouped Rows", "Client name", Splitter.SplitTextByDelimiter(",", QuoteStyle.Csv), List.Transform({1..List.Max(Table.AddColumn(#"Grouped Rows", "Temp", each List.Count(Text.Split([Client name],",")))[Temp])},each "Client name." & Number.ToText(_)))
in
Custom1
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
27 | |
26 | |
20 | |
12 | |
10 |
User | Count |
---|---|
27 | |
25 | |
22 | |
17 | |
13 |