```
let
Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
Link = Table.AddColumn(Source, "Link", each 1),
Merge = Table.NestedJoin(Link, {"Link"}, Link, {"Link"}, "Added Custom", JoinKind.LeftOuter),
Expand = Table.ExpandTableColumn(Merge, "Added Custom", {"Event", "Probability"}, {"Event.1", "Probability.1"}),
SR = Table.SelectRows(Expand, each [Event] <> [Event.1]),
RC = Table.RemoveColumns(SR,{"Link"}),
Rename = Table.RenameColumns(RC,{{"Event", "A"}, {"Event.1", "B"}, {"Probability", "Probability A"}, {"Probability.1", "Probability B"}}),
NotA = Table.AddColumn(Rename, "Not A", each 1-[Probability A]),
NotB = Table.AddColumn(NotA, "Not B", each 1-[Probability B]),
AandB = Table.AddColumn(NotB, "AandB", each [Probability A]*[Probability B]),
AorB = Table.AddColumn(AandB, "AorB", each [Probability A]+[Probability B]-[AandB]),
ABnotBoth = Table.AddColumn(AorB, "AorBnotBoth", each [Probability A]+[Probability B]-2*[AandB]),
nAnB = Table.AddColumn(ABnotBoth, "nAnB", each 1-[AorB]),
AnotB = Table.AddColumn(nAnB, "AnotB", each [Probability A]*(1-[Probability B])),
BnotA = Table.AddColumn(AnotB, "BnotA", each (1-[Probability A])*[Probability B]),
Type = Table.TransformColumnTypes(BnotA,{{"Probability A", Percentage.Type}, {"Probability B", Percentage.Type}, {"Not A", Percentage.Type}, {"Not B", Percentage.Type}, {"AandB", Percentage.Type}, {"AorB", Percentage.Type}, {"AorBnotBoth", Percentage.Type}, {"nAnB", Percentage.Type}, {"AnotB", Percentage.Type}, {"BnotA", Percentage.Type}, {"B", type text}, {"A", type text}})
in
Type
```