DAX-SUMMARIZE (ROLLUP)
The following example adds roll-up rows to the Group-By columns of the SUMMARIZE function call.
EVALUATE SUMMARIZE( 'Internet Sales',
ROLLUP ('Date'[Calendar Year],Product[Product Category Name]),
"Sales", ([Internet Total Sales]),
"Tax",([Internet Total Tax Amount]))
Red Box shows the sub-total of Categories further Brown Box shows Total of all Categories across all years.
Comments
- Anonymous
September 30, 2013
We can use ROLLUPGROUP inside ROLLUP in order to avoid partial subtotals.