Forum Discussion

cgyan9's avatar
cgyan9
Regular Visitor
2 years ago
Solved

Creating a conditional table from other tables

Hi All, I am hoping to create a new table C with certain values from Table A or Table B - Table C has the first column as Month - Year, the 2nd column should check the calculated measure of say hrs ...
  • lbendlin's avatar
    lbendlin
    2 years ago

     

    let
        Source = Table.SelectRows(#"Table 1", each ([Location] <> " ")) & #"Table 2",
        #"Removed Duplicates" = Table.Distinct(Source, {"Month Yr", "Location"})
    in
        #"Removed Duplicates"