Search notes:

Power Query M formula language standard library: Table.Join

The following simple example tries to demonstrate how Table.Join might be used to join two tables.
let
   tab_A  = #table (
     {  "id", "col_1", "col_2"},
     {
     {    1 , "one"  , "foo"  },
     {    2 , "two"  , "bar"  },
     {    3 , "three", "baz"  }}
   ),
   tab_B  = #table (
     {"id_A", "col_3", "col_4"},
     {
     {     1, "ab"   , "c"    },
     {     2, "m"    , "no"   },
     {     2, "m"    , "no"   },
     {     1, "f"    , "gh"   },
     {     3, "uv"   , "wx"   },
     {     3, "s"    , "t"    },
     {     2, "p"    , "qr"   },
     {     1, "d"    , "e"    },
     {     3, "y"    , "z"    },
     {     1, "ij"   , "kl"   }}
   )
in
   Table.Join(
      tab_A, "id",
      tab_B, "id_A"
   )
Github repository about-Power-Query-Formula-M, path: /standard-library/Table/Join/intro.M
When executed, for example with the this M formula evaluator VBA code, the code produces:

See also

Using Table.Join with JoinKind.FullOuter to determine the differences between to tables (missing records, changed values).
The Power Query standard library. Table.FuzzyJoin

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1758209509, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/Power-Query/M-formula/standard-library/Table/Join/index(73): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78