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
How to create all possible combinations of the values "WL" "CT," "CL," "AH," and "KH" using the M query in Power BI
Solved! Go to Solution.
tbl = #table({"a"}, {{"CWL,"}, {"CTT,"}, {"WCL,"}, {"AHU,"}, {"KYH"}}),
comb = Table.AddColumn(tbl, "b", each tbl),
z = Table.ExpandTableColumn(comb, "b", {"a"}, {"b"})
tbl = #table({"a"}, {{"CWL,"}, {"CTT,"}, {"WCL,"}, {"AHU,"}, {"KYH"}}),
comb = Table.AddColumn(tbl, "b", each tbl),
z = Table.ExpandTableColumn(comb, "b", {"a"}, {"b"})
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 16 | |
| 9 | |
| 8 | |
| 8 | |
| 8 |