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.
I am trying to group multiple columns into one of two categories with the intention of building a financial statement. I have 10 or so different revenue columns and really one COGS column. I don't want to sum all of these columns together so the GroupBy function in PowerQuery doesn't seem to be appropriate.
Each row in the dataset is a different line of a customer order which with its own set of unique characteristics. Basically i'm looking for a quick way to identify all of the revnue columns together so they can be put into a drilled down matrix.
Ex.
Revenue
SumOfRevColumn1
SumOfRevColumn2
SumOfRevColumn3
Expenses
SumofCogsColumn
Margin
Calculated Margin Column
Hi @awitt ,
Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hi,
You can create group columns like formula below, then create new hierarchy ,and let the other sub columns add to the new hierarchy Group1.
Group1 = "Group1"
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering 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 |
---|---|
115 | |
99 | |
88 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |