Created
April 4, 2023 11:51
-
-
Save mikefrizzell/a506162c0116413d1fdb12113730ae94 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DAX code to combine multiple columns in Power BI | |
Combined Table = | |
UNION( | |
SELECTCOLUMNS(Table1, "Type", [category_a], "Number", [number_done_a]), | |
SELECTCOLUMNS(Table1, "Type", [category_b], "Number", [number_done_b]) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment