```
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
#"Changed Type" = Table.TransformColumnTypes(Source,{{"28", type text}, {"AUDCAD", type any}, {"Column1", type any}, {"AUDCHF", type any}, {"Column2", type any}, {"AUDJPY", type any}, {"Column3", type any}, {"AUDNZD", type any}, {"Column4", type any}, {"AUDUSD", type any}, {"Column5", type any}, {"CADCHF", type any}, {"Column6", type any}, {"CADJPY", type any}, {"Column7", type any}, {"CHFJPY", type any}, {"Column8", type any}, {"EURAUD", type any}, {"Column9", type any}, {"EURCAD", type any}, {"Column10", type any}, {"EURCHF", type any}, {"Column11", type any}, {"EURGBP", type any}, {"Column12", type any}, {"EURJPY", type any}, {"Column13", type any}, {"EURNZD", type any}, {"Column14", type any}, {"EURUSD", type any}, {"Column15", type any}, {"GBPAUD", type any}, {"Column16", type any}, {"GBPCAD", type any}, {"Column17", type any}, {"GBPCHF", type any}, {"Column18", type any}, {"GBPJPY", type any}, {"Column19", type any}, {"GBPNZD", type any}, {"Column20", type any}, {"GBPUSD", type any}, {"Column21", type any}, {"NZDCAD", type any}, {"Column22", type any}, {"NZDCHF", type any}, {"Column23", type any}, {"NZDJPY", type any}, {"Column24", type any}, {"NZDUSD", type any}, {"Column25", type any}, {"USDCAD", type any}, {"Column26", type any}, {"USDCHF", type any}, {"Column27", type any}, {"USDJPY", type any}, {"Column28", type any}}),
#"Demoted Headers" = Table.DemoteHeaders(#"Changed Type"),
#"Changed Type1" = Table.TransformColumnTypes(#"Demoted Headers",{{"Column1", type text}, {"Column2", type any}, {"Column3", type any}, {"Column4", type any}, {"Column5", type any}, {"Column6", type any}, {"Column7", type any}, {"Column8", type any}, {"Column9", type any}, {"Column10", type any}, {"Column11", type any}, {"Column12", type any}, {"Column13", type any}, {"Column14", type any}, {"Column15", type any}, {"Column16", type any}, {"Column17", type any}, {"Column18", type any}, {"Column19", type any}, {"Column20", type any}, {"Column21", type any}, {"Column22", type any}, {"Column23", type any}, {"Column24", type any}, {"Column25", type any}, {"Column26", type any}, {"Column27", type any}, {"Column28", type any}, {"Column29", type any}, {"Column30", type any}, {"Column31", type any}, {"Column32", type any}, {"Column33", type any}, {"Column34", type any}, {"Column35", type any}, {"Column36", type any}, {"Column37", type any}, {"Column38", type any}, {"Column39", type any}, {"Column40", type any}, {"Column41", type any}, {"Column42", type any}, {"Column43", type any}, {"Column44", type any}, {"Column45", type any}, {"Column46", type any}, {"Column47", type any}, {"Column48", type any}, {"Column49", type any}, {"Column50", type any}, {"Column51", type any}, {"Column52", type any}, {"Column53", type any}, {"Column54", type any}, {"Column55", type any}, {"Column56", type any}, {"Column57", type any}}),
#"Filtered Rows" = Table.SelectRows(#"Changed Type1", each ([Column1] = "28" or [Column1] = "Account balance" or [Column1] = "setting no." or [Column1] = "Total trades")),
#"Replaced Value" = Table.ReplaceValue(#"Filtered Rows","28","Pairs",Replacer.ReplaceText,{"Column1"}),
#"Transposed Table" = Table.Transpose(#"Replaced Value"),
#"Filtered Rows1" = Table.SelectRows(#"Transposed Table", each not Text.StartsWith([Column1], "Column")),
#"Sorted Rows" = Table.Sort(#"Filtered Rows1",{{"Column2", Order.Descending}}),
#"Transposed Table1" = Table.Transpose(#"Sorted Rows")
in
#"Transposed Table1"
```