Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 @Xilitor01 ,
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 @Xilitor01 ,
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êsCovering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
94 | |
83 | |
67 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |