Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi,
I have a list of 4 business units (BU) and I want to give each BU an score, A, B, C depending on some given criteria. In below list there are 8 combinations, on rows 1-3 each BU gets the same score and on rows 5-8 there are some combinations with only A and B scores. How can I get a table of each possible combination?
# | BU1 | BU2 | BU3 | BU4 |
1 | A | A | A | A |
2 | B | B | B | B |
3 | C | C | C | C |
4 | A | B | A | A |
5 | A | A | B | A |
6 | A | A | A | B |
7 | A | B | B | A |
8 | A | B | B | B |
...and so on...
Best regards,
Chris
Solved! Go to Solution.
@Anonymous I think maybe this:
Table =
GENERATEALL(
GENERATEALL(
SELECTCOLUMNS({ "A", "B", "C" },"Value1",[Value]),
SELECTCOLUMNS({ "A", "B", "C" },"Value2",[Value])
),
GENERATEALL(
SELECTCOLUMNS({ "A", "B", "C" },"Value3",[Value]),
SELECTCOLUMNS({ "A", "B", "C" },"Value4",[Value])
)
)
@Anonymous I think maybe this:
Table =
GENERATEALL(
GENERATEALL(
SELECTCOLUMNS({ "A", "B", "C" },"Value1",[Value]),
SELECTCOLUMNS({ "A", "B", "C" },"Value2",[Value])
),
GENERATEALL(
SELECTCOLUMNS({ "A", "B", "C" },"Value3",[Value]),
SELECTCOLUMNS({ "A", "B", "C" },"Value4",[Value])
)
)
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
6 | |
4 | |
3 | |
3 |
User | Count |
---|---|
13 | |
11 | |
8 | |
8 | |
8 |