Forum Discussion
Anonymous
1 year agoNot applicable
Pivot or Unpivot?
Hi All, I have in power query the following table Code Grp Name Qtr_Year 400 23 BGT Q1_2025 400 23 BGT Apple Now I want the below output Code Grp Name Qtr_Year Ctgy...
Ashish_Excel
1 year agoSolution Supplier
Hi,
This M code works
let
Source = Excel.CurrentWorkbook(){[Name="Data"]}[Content],
#"Grouped Rows" = Table.Group(Source, {"Code ", "Grp ", " Name"}, {{"Count", each Text.Combine(_[Qtr_Year],"")}})
in
#"Grouped Rows"Hope this helps.