Forum Discussion

edwardroa's avatar
edwardroa
Helper I
5 years ago
Solved

subtotal by multiple categories

Hi all,   Have searched through multiple threads but unable to find the solution.    I'm needing a simple subtotal by 2 categories in the form of a calculated column. As an example, I need the be...
  • Ashish_Mathur's avatar
    5 years ago

    Hi,

    Try this calculated column formula

    =calculate(sum(data[liability]),filter(data,data[asset type]=earlier(data[asset type])&&data[year buckets]=earlier(data[year buckets])))

    Hope this helps.