Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Add up Total cell value into List using Mcode

Hi,     I create this List as below from my data source and hope to add 'Total' value in a row which will be for 5G + LTE_M. Then I could make below calculation for Total vs 5G or Total vs LTE_M....
  • danextian's avatar
    danextian
    1 year ago

    This is based on your original query

    let
    Source = Table.Combine({#"TOSS service PO_master - Previous Backup Data", #"TOSS service PO_master - Current Weekly Data"}),
    Frequency = Source[Frequency],
    #"Removed Duplicates" = List.Distinct(Frequency),
    #"Added Total row" = List.Combine({"Total"}, #"Removed Duplicates")
    in
    #"Added Total row"