I have a table
I want to sum up the values for each type and create two other measures/columns (percentage and cumulative percentage) as shown in the table below
I tried with the following DAX
column = summarize(Table1, Table1[Type], "Total Value", sum(Table1[value]))
but I get the following error. I also tried with the GroupBy
function, I get the same error.
The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
Please help!