Apex Monthly

I have one data with value 1439 klike below picture

type: custom:apexcharts-card
header:
  title: Uptime Harian (7 Hari)
  show: true
graph_span: 15d
span:
  end: day
series:
  - entity: input_number.up_daily_final
    name: Uptime (menit)
    type: column
    color: green
    group_by:
      func: last
      duration: 1d

But why if i change the func to sum then the value changed from 1439 to 2878?

I need make monthly graph based on daily graph.