Can someone help with addcolumns, I have SUMMARIZE;
but want to use ADDCOLUMNS, so,
but instead of 1 I would like to add the 'item' column as in summarize, but
does not work, if I replace [Item] with [Date] then it does?
Richard.
VBA Code:
EVALUATE
SUMMARIZE (
Table1,
Table1[Date],
Table1[Item],
"JA", CALCULATE ( SUM ( Table1[Units] ), ALL ( Table1 ) ),
"RA", SUM ( Table1[Units] )
)
but want to use ADDCOLUMNS, so,
VBA Code:
EVALUATE
ADDCOLUMNS ( VALUES ( Table1[Date] ), "A", 1 )
Excel Formula:
EVALUATE
ADDCOLUMNS ( ALL ( Table1[Date] ), "A", Table1[Item])
Richard.