Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have two tables as below:
Cust
| custo | suppo |
| 7 | a |
| 7 | b |
| 8 | a |
Supp
| Suppo |
| a |
| b |
| c |
I want to table/matrix visual as follows:
t1 =
| custo | suppo |
| 7 | a |
| 7 | b |
| 8 | a |
t2 =
| custo | suppo |
| 7 | c |
| 8 | b |
| 8 | c |
both tables are related by suppo column. How do i create t2 visual?
In Power Query this would be the approach
t2 query:
let
Source = Table.SelectColumns(t1,{"custo"}),
#"Removed Duplicates" = Table.Distinct(Source),
#"Added Custom" = Table.AddColumn(#"Removed Duplicates", "Custom", each Supp),
#"Expanded Custom" = Table.ExpandTableColumn(#"Added Custom", "Custom", {"Suppo"}, {"Suppo"}),
#"Merged Queries" = Table.NestedJoin(#"Expanded Custom", {"custo", "Suppo"}, t1, {"custo", "suppo"}, "t1", JoinKind.LeftAnti),
#"Removed Other Columns" = Table.SelectColumns(#"Merged Queries",{"custo", "Suppo"})
in
#"Removed Other Columns"
in DAX it's easier as you can use EXCEPT
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 41 | |
| 20 | |
| 19 |