Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello,
Is it possible to use a specific field based on what the dimension is?
Like the example below:
What I have:
What I am looking for:
I cannot merge the two columns in the Power Query - it has to be done with DAX.
Thank you 🙂
Solved! Go to Solution.
Hi @Anonymous ,
Try to add a new table with the following code:
Table 2 =
UNION (
SELECTCOLUMNS (
FILTER ( 'Table', 'Table'[Customer] <> BLANK () ),
"Customer/Product", 'Table'[Customer],
"Dimension", 'Table'[Dimension]
),
SELECTCOLUMNS (
FILTER ( 'Table', 'Table'[Product] <> BLANK () ),
"Customer/Product", 'Table'[Product],
"Dimension", 'Table'[Dimension]
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous ,
Try to add a new table with the following code:
Table 2 =
UNION (
SELECTCOLUMNS (
FILTER ( 'Table', 'Table'[Customer] <> BLANK () ),
"Customer/Product", 'Table'[Customer],
"Dimension", 'Table'[Dimension]
),
SELECTCOLUMNS (
FILTER ( 'Table', 'Table'[Product] <> BLANK () ),
"Customer/Product", 'Table'[Product],
"Dimension", 'Table'[Dimension]
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsDon't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 39 | |
| 31 | |
| 27 |