Aggr ( ) OR Group By ()

Team, I am building multiple KPIs/Measures in Looker Visualization, where I need to Group By the Sum/Results based on certain Dimensions. But I don't find any Aggr () or Group By () windows function. 
Is there any better way to achieve this ? 

Example:

  1. Sales by Account =  Aggr(Sum(Sales), Account)
  2. Sales by Account and Plant =  Aggr(Sum(Sales), Account, Plant)

 

 

0 0 30