Sign In

Welcome Back,

Signup/Login with your account

You must login to ask a question.

You must login to add post.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

  • 0
Jitendra Mishra
Beginner

How to do cumulative aggregation?

I want to do cumulative aggregation on a numerical column w.r.t other non-aggregate columns.

How can I do this operation?

Leave an answer

You must login to add an answer.

1 Answer

  1. Hello Jitendra,

    To do cumulative aggregation on numerical columns, kindly use a variable editor to create variables using the formula below.

    Formula:

    sum(sum(<Numerical column name>)) over (partition by <Non-aggregate column>).

    Note – When you use this variable, kindly drag <Non-aggregate column> in the selection panel.