SQL BI

My Experience - Troubleshooting SQL BI Stack

DAX-SUMMARIZE (ROLLUP)

DAX-SUMMARIZE (ROLLUP)

  • Comments 1

 

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]))

image

Red Box shows the sub-total of Categories further Brown Box shows Total of all Categories across all years.

Comments
  • We can use ROLLUPGROUP inside ROLLUP in order to avoid partial subtotals.

Page 1 of 1 (1 items)
Leave a Comment
  • Please add 6 and 4 and type the answer here:
  • Post