# spreadsheet_cells

name: budget201811!lastOverspent
cachedValue: 0
expr:
  =if(budget201810!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201810!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201810!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201810!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201810!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201810!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201810!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201810!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201810!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201810!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201811!budgetedTotal
cachedValue: 0
expr:
  =-(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(budget_af375fd4d75946b3bffe74a856151d57) + number(budget_d4b0f0753343440891edfae94f74e5bf) + number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(budget_6bbd847225d44cee8a115bd9f7e83d61))


name: budget201811!leftover
cachedValue: 0
expr:
      =number(availableFunds)
        + number(lastOverspent)
        + number(budgetedTotal)
        - number(buffered)
    


name: budget201811!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20181101 and date <= 20181130
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201811!leftoverTotal
cachedValue: 0
expr:
  =number(leftover_541836f1e7564473a5d06c1d3f06c7fa) + number(leftover_af375fd4d75946b3bffe74a856151d57) + number(leftover_d4b0f0753343440891edfae94f74e5bf) + number(leftover_29ec2c588cd342fe91877b5dfe0f70a6) + number(leftover_6bbd847225d44cee8a115bd9f7e83d61)


name: budget201811!spentTotal
cachedValue: 0
expr:
  =number(spent_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_af375fd4d75946b3bffe74a856151d57) + number(spent_d4b0f0753343440891edfae94f74e5bf) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)


name: budget201811!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20181101 and date <= 20181130
                   calculate { sum(amount) })
              


name: budget201811!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201810!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201810!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201810!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201811!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20181101 and date <= 20181130
                   calculate { sum(amount) })
              


name: budget201811!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201810!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201810!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201810!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201811!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20181101 and date <= 20181130
                   calculate { sum(amount) })
              


name: budget201811!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201810!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201810!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201810!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201811!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20181101 and date <= 20181130
                   calculate { sum(amount) })
              


name: budget201811!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201810!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201810!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201810!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201811!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20181101 and date <= 20181130
             calculate { sum(amount) })
    


name: budget201811!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20181101 and date <= 20181130
             calculate { sum(amount) })
    


name: budget201811!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20181101 and date <= 20181130
                   calculate { sum(amount) })
              


name: budget201811!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201810!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201810!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201810!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201811!group_budgeted_fc3825fd-b982-4b72-b768-5b30844cf832
cachedValue: 0
expr:
  =-(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(budget_af375fd4d75946b3bffe74a856151d57) + number(budget_d4b0f0753343440891edfae94f74e5bf) + number(budget_29ec2c588cd342fe91877b5dfe0f70a6))


name: budget201811!group_spent_fc3825fd-b982-4b72-b768-5b30844cf832
cachedValue: 0
expr:
  =number(spent_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_af375fd4d75946b3bffe74a856151d57) + number(spent_d4b0f0753343440891edfae94f74e5bf) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)


name: budget201811!group_leftover_fc3825fd-b982-4b72-b768-5b30844cf832
cachedValue: 0
expr:
  =number(leftover_541836f1e7564473a5d06c1d3f06c7fa) + number(leftover_af375fd4d75946b3bffe74a856151d57) + number(leftover_d4b0f0753343440891edfae94f74e5bf) + number(leftover_29ec2c588cd342fe91877b5dfe0f70a6)


name: budget201812!lastOverspent
cachedValue: 0
expr:
  =if(budget201811!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201811!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201811!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201811!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201811!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201811!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201811!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201811!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201811!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201811!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201812!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20181201 and date <= 20181231
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201812!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20181201 and date <= 20181231
                   calculate { sum(amount) })
              


name: budget201812!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201811!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201811!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201811!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201812!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20181201 and date <= 20181231
                   calculate { sum(amount) })
              


name: budget201812!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201811!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201811!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201811!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201812!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20181201 and date <= 20181231
                   calculate { sum(amount) })
              


name: budget201812!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201811!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201811!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201811!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201812!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20181201 and date <= 20181231
                   calculate { sum(amount) })
              


name: budget201812!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201811!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201811!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201811!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201812!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20181201 and date <= 20181231
             calculate { sum(amount) })
    


name: budget201812!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20181201 and date <= 20181231
             calculate { sum(amount) })
    


name: budget201812!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20181201 and date <= 20181231
                   calculate { sum(amount) })
              


name: budget201812!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201811!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201811!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201811!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201901!lastOverspent
cachedValue: 0
expr:
  =if(budget201812!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201812!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201812!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201812!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201812!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201812!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201812!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201812!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201812!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201812!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201901!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20190101 and date <= 20190131
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201901!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20190101 and date <= 20190131
                   calculate { sum(amount) })
              


name: budget201901!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201812!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201812!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201812!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201901!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20190101 and date <= 20190131
                   calculate { sum(amount) })
              


name: budget201901!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201812!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201812!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201812!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201901!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20190101 and date <= 20190131
                   calculate { sum(amount) })
              


name: budget201901!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201812!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201812!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201812!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201901!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20190101 and date <= 20190131
                   calculate { sum(amount) })
              


name: budget201901!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201812!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201812!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201812!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201901!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20190101 and date <= 20190131
             calculate { sum(amount) })
    


name: budget201901!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20190101 and date <= 20190131
             calculate { sum(amount) })
    


name: budget201901!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20190101 and date <= 20190131
                   calculate { sum(amount) })
              


name: budget201901!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201812!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201812!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201812!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201902!lastOverspent
cachedValue: 0
expr:
  =if(budget201901!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201901!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201901!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201901!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201901!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201901!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201901!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201901!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201901!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201901!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201902!incomeTotal
cachedValue: 100000
expr:
      =number(from transactions
         where date >= 20190201 and date <= 20190228
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201902!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20190201 and date <= 20190228
                   calculate { sum(amount) })
              


name: budget201902!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201901!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201901!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201901!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201902!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20190201 and date <= 20190228
                   calculate { sum(amount) })
              


name: budget201902!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201901!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201901!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201901!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201902!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20190201 and date <= 20190228
                   calculate { sum(amount) })
              


name: budget201902!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201901!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201901!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201901!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201902!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20190201 and date <= 20190228
                   calculate { sum(amount) })
              


name: budget201902!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201901!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201901!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201901!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201902!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20190201 and date <= 20190228
             calculate { sum(amount) })
    


name: budget201902!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 100000
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20190201 and date <= 20190228
             calculate { sum(amount) })
    


name: budget201902!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20190201 and date <= 20190228
                   calculate { sum(amount) })
              


name: budget201902!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201901!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201901!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201901!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201903!lastOverspent
cachedValue: 0
expr:
  =if(budget201902!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201902!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201902!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201902!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201902!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201902!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201902!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201902!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201902!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201902!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201903!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20190301 and date <= 20190331
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201903!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20190301 and date <= 20190331
                   calculate { sum(amount) })
              


name: budget201903!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201902!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201902!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201902!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201903!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20190301 and date <= 20190331
                   calculate { sum(amount) })
              


name: budget201903!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201902!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201902!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201902!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201903!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20190301 and date <= 20190331
                   calculate { sum(amount) })
              


name: budget201903!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201902!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201902!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201902!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201903!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20190301 and date <= 20190331
                   calculate { sum(amount) })
              


name: budget201903!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201902!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201902!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201902!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201903!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20190301 and date <= 20190331
             calculate { sum(amount) })
    


name: budget201903!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20190301 and date <= 20190331
             calculate { sum(amount) })
    


name: budget201903!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20190301 and date <= 20190331
                   calculate { sum(amount) })
              


name: budget201903!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201902!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201902!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201902!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201904!lastOverspent
cachedValue: 0
expr:
  =if(budget201903!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201903!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201903!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201903!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201903!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201903!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201903!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201903!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201903!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201903!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201904!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20190401 and date <= 20190430
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201904!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20190401 and date <= 20190430
                   calculate { sum(amount) })
              


name: budget201904!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201903!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201903!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201903!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201904!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20190401 and date <= 20190430
                   calculate { sum(amount) })
              


name: budget201904!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201903!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201903!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201903!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201904!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20190401 and date <= 20190430
                   calculate { sum(amount) })
              


name: budget201904!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201903!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201903!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201903!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201904!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20190401 and date <= 20190430
                   calculate { sum(amount) })
              


name: budget201904!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201903!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201903!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201903!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201904!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20190401 and date <= 20190430
             calculate { sum(amount) })
    


name: budget201904!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20190401 and date <= 20190430
             calculate { sum(amount) })
    


name: budget201904!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20190401 and date <= 20190430
                   calculate { sum(amount) })
              


name: budget201904!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201903!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201903!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201903!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201905!lastOverspent
cachedValue: 0
expr:
  =if(budget201904!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201904!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201904!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201904!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201904!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201904!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201904!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201904!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201904!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201904!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201905!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20190501 and date <= 20190531
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201905!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20190501 and date <= 20190531
                   calculate { sum(amount) })
              


name: budget201905!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201904!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201904!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201904!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201905!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20190501 and date <= 20190531
                   calculate { sum(amount) })
              


name: budget201905!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201904!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201904!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201904!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201905!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20190501 and date <= 20190531
                   calculate { sum(amount) })
              


name: budget201905!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201904!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201904!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201904!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201905!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20190501 and date <= 20190531
                   calculate { sum(amount) })
              


name: budget201905!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201904!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201904!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201904!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201905!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20190501 and date <= 20190531
             calculate { sum(amount) })
    


name: budget201905!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20190501 and date <= 20190531
             calculate { sum(amount) })
    


name: budget201905!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20190501 and date <= 20190531
                   calculate { sum(amount) })
              


name: budget201905!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201904!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201904!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201904!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201906!lastOverspent
cachedValue: 0
expr:
  =if(budget201905!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201905!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201905!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201905!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201905!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201905!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201905!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201905!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201905!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201905!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201906!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20190601 and date <= 20190630
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201906!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20190601 and date <= 20190630
                   calculate { sum(amount) })
              


name: budget201906!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201905!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201905!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201905!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201906!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20190601 and date <= 20190630
                   calculate { sum(amount) })
              


name: budget201906!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201905!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201905!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201905!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201906!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20190601 and date <= 20190630
                   calculate { sum(amount) })
              


name: budget201906!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201905!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201905!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201905!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201906!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20190601 and date <= 20190630
                   calculate { sum(amount) })
              


name: budget201906!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201905!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201905!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201905!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201906!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20190601 and date <= 20190630
             calculate { sum(amount) })
    


name: budget201906!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20190601 and date <= 20190630
             calculate { sum(amount) })
    


name: budget201906!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20190601 and date <= 20190630
                   calculate { sum(amount) })
              


name: budget201906!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201905!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201905!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201905!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201907!lastOverspent
cachedValue: 0
expr:
  =if(budget201906!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201906!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201906!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201906!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201906!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201906!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201906!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201906!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201906!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201906!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201907!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20190701 and date <= 20190731
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201907!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20190701 and date <= 20190731
                   calculate { sum(amount) })
              


name: budget201907!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201906!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201906!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201906!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201907!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20190701 and date <= 20190731
                   calculate { sum(amount) })
              


name: budget201907!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201906!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201906!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201906!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201907!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20190701 and date <= 20190731
                   calculate { sum(amount) })
              


name: budget201907!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201906!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201906!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201906!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201907!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20190701 and date <= 20190731
                   calculate { sum(amount) })
              


name: budget201907!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201906!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201906!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201906!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201907!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20190701 and date <= 20190731
             calculate { sum(amount) })
    


name: budget201907!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20190701 and date <= 20190731
             calculate { sum(amount) })
    


name: budget201907!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20190701 and date <= 20190731
                   calculate { sum(amount) })
              


name: budget201907!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201906!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201906!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201906!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201908!lastOverspent
cachedValue: 0
expr:
  =if(budget201907!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201907!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201907!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201907!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201907!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201907!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201907!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201907!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201907!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201907!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201908!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20190801 and date <= 20190831
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201908!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20190801 and date <= 20190831
                   calculate { sum(amount) })
              


name: budget201908!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201907!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201907!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201907!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201908!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20190801 and date <= 20190831
                   calculate { sum(amount) })
              


name: budget201908!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201907!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201907!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201907!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201908!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20190801 and date <= 20190831
                   calculate { sum(amount) })
              


name: budget201908!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201907!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201907!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201907!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201908!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20190801 and date <= 20190831
                   calculate { sum(amount) })
              


name: budget201908!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201907!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201907!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201907!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201908!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20190801 and date <= 20190831
             calculate { sum(amount) })
    


name: budget201908!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20190801 and date <= 20190831
             calculate { sum(amount) })
    


name: budget201908!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20190801 and date <= 20190831
                   calculate { sum(amount) })
              


name: budget201908!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201907!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201907!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201907!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201909!lastOverspent
cachedValue: 0
expr:
  =if(budget201908!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201908!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201908!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201908!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201908!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201908!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201908!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201908!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201908!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201908!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201909!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20190901 and date <= 20190930
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201909!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20190901 and date <= 20190930
                   calculate { sum(amount) })
              


name: budget201909!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201908!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201908!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201908!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201909!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20190901 and date <= 20190930
                   calculate { sum(amount) })
              


name: budget201909!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201908!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201908!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201908!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201909!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20190901 and date <= 20190930
                   calculate { sum(amount) })
              


name: budget201909!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201908!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201908!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201908!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201909!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20190901 and date <= 20190930
                   calculate { sum(amount) })
              


name: budget201909!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201908!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201908!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201908!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201909!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20190901 and date <= 20190930
             calculate { sum(amount) })
    


name: budget201909!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20190901 and date <= 20190930
             calculate { sum(amount) })
    


name: budget201909!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20190901 and date <= 20190930
                   calculate { sum(amount) })
              


name: budget201909!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201908!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201908!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201908!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201910!lastOverspent
cachedValue: 0
expr:
  =if(budget201909!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201909!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201909!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201909!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201909!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201909!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201909!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201909!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201909!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201909!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201910!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20191001 and date <= 20191031
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201910!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20191001 and date <= 20191031
                   calculate { sum(amount) })
              


name: budget201910!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201909!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201909!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201909!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201910!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20191001 and date <= 20191031
                   calculate { sum(amount) })
              


name: budget201910!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201909!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201909!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201909!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201910!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20191001 and date <= 20191031
                   calculate { sum(amount) })
              


name: budget201910!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201909!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201909!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201909!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201910!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20191001 and date <= 20191031
                   calculate { sum(amount) })
              


name: budget201910!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201909!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201909!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201909!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201910!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20191001 and date <= 20191031
             calculate { sum(amount) })
    


name: budget201910!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20191001 and date <= 20191031
             calculate { sum(amount) })
    


name: budget201910!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20191001 and date <= 20191031
                   calculate { sum(amount) })
              


name: budget201910!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201909!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201909!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201909!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201911!lastOverspent
cachedValue: 0
expr:
  =if(budget201910!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201910!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201910!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201910!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201910!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201910!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201910!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201910!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201910!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201910!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201911!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20191101 and date <= 20191130
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201911!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20191101 and date <= 20191130
                   calculate { sum(amount) })
              


name: budget201911!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201910!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201910!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201910!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201911!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20191101 and date <= 20191130
                   calculate { sum(amount) })
              


name: budget201911!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201910!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201910!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201910!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201911!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20191101 and date <= 20191130
                   calculate { sum(amount) })
              


name: budget201911!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201910!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201910!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201910!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201911!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20191101 and date <= 20191130
                   calculate { sum(amount) })
              


name: budget201911!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201910!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201910!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201910!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201911!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20191101 and date <= 20191130
             calculate { sum(amount) })
    


name: budget201911!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20191101 and date <= 20191130
             calculate { sum(amount) })
    


name: budget201911!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20191101 and date <= 20191130
                   calculate { sum(amount) })
              


name: budget201911!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201910!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201910!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201910!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget201912!lastOverspent
cachedValue: 0
expr:
  =if(budget201911!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201911!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201911!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201911!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201911!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201911!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201911!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201911!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201911!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201911!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget201912!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20191201 and date <= 20191231
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget201912!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20191201 and date <= 20191231
                   calculate { sum(amount) })
              


name: budget201912!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201911!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201911!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201911!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget201912!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20191201 and date <= 20191231
                   calculate { sum(amount) })
              


name: budget201912!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201911!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201911!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201911!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget201912!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20191201 and date <= 20191231
                   calculate { sum(amount) })
              


name: budget201912!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201911!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201911!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201911!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget201912!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20191201 and date <= 20191231
                   calculate { sum(amount) })
              


name: budget201912!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201911!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201911!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201911!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget201912!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20191201 and date <= 20191231
             calculate { sum(amount) })
    


name: budget201912!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20191201 and date <= 20191231
             calculate { sum(amount) })
    


name: budget201912!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20191201 and date <= 20191231
                   calculate { sum(amount) })
              


name: budget201912!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201911!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201911!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201911!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget202001!lastOverspent
cachedValue: 0
expr:
  =if(budget201912!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget201912!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget201912!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget201912!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget201912!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget201912!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget201912!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget201912!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget201912!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget201912!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget202001!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20200101 and date <= 20200131
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget202001!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20200101 and date <= 20200131
                   calculate { sum(amount) })
              


name: budget202001!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget201912!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget201912!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget201912!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget202001!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20200101 and date <= 20200131
                   calculate { sum(amount) })
              


name: budget202001!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget201912!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget201912!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget201912!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget202001!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20200101 and date <= 20200131
                   calculate { sum(amount) })
              


name: budget202001!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget201912!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget201912!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget201912!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget202001!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20200101 and date <= 20200131
                   calculate { sum(amount) })
              


name: budget202001!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget201912!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget201912!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget201912!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget202001!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20200101 and date <= 20200131
             calculate { sum(amount) })
    


name: budget202001!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20200101 and date <= 20200131
             calculate { sum(amount) })
    


name: budget202001!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20200101 and date <= 20200131
                   calculate { sum(amount) })
              


name: budget202001!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget201912!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget201912!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget201912!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: budget202002!lastOverspent
cachedValue: 0
expr:
  =if(budget202001!carryover_541836f1e7564473a5d06c1d3f06c7fa) { 0 } else { min(0, number(budget202001!leftover_541836f1e7564473a5d06c1d3f06c7fa)) } + if(budget202001!carryover_af375fd4d75946b3bffe74a856151d57) { 0 } else { min(0, number(budget202001!leftover_af375fd4d75946b3bffe74a856151d57)) } + if(budget202001!carryover_d4b0f0753343440891edfae94f74e5bf) { 0 } else { min(0, number(budget202001!leftover_d4b0f0753343440891edfae94f74e5bf)) } + if(budget202001!carryover_29ec2c588cd342fe91877b5dfe0f70a6) { 0 } else { min(0, number(budget202001!leftover_29ec2c588cd342fe91877b5dfe0f70a6)) } + if(budget202001!carryover_6bbd847225d44cee8a115bd9f7e83d61) { 0 } else { min(0, number(budget202001!leftover_6bbd847225d44cee8a115bd9f7e83d61)) }


name: budget202002!incomeTotal
cachedValue: 0
expr:
      =number(from transactions
         where date >= 20200201 and date <= 20200229
           and category.is_income = 1
         calculate { sum(amount) })
    


name: budget202002!spent_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
                =number(from transactions
                   where category = "541836f1-e756-4473-a5d0-6c1d3f06c7fa" and
                     date >= 20200201 and date <= 20200229
                   calculate { sum(amount) })
              


name: budget202002!leftover_541836f1e7564473a5d06c1d3f06c7fa
cachedValue: 0
expr:
      =(number(budget_541836f1e7564473a5d06c1d3f06c7fa) + number(spent_541836f1e7564473a5d06c1d3f06c7fa)) +
         if(budget202001!carryover_541836f1e7564473a5d06c1d3f06c7fa) {
           number(budget202001!leftover_541836f1e7564473a5d06c1d3f06c7fa)
         } else {
           number(budget202001!leftover_pos_541836f1e7564473a5d06c1d3f06c7fa)
         }
    


name: budget202002!spent_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
                =number(from transactions
                   where category = "af375fd4-d759-46b3-bffe-74a856151d57" and
                     date >= 20200201 and date <= 20200229
                   calculate { sum(amount) })
              


name: budget202002!leftover_af375fd4d75946b3bffe74a856151d57
cachedValue: 0
expr:
      =(number(budget_af375fd4d75946b3bffe74a856151d57) + number(spent_af375fd4d75946b3bffe74a856151d57)) +
         if(budget202001!carryover_af375fd4d75946b3bffe74a856151d57) {
           number(budget202001!leftover_af375fd4d75946b3bffe74a856151d57)
         } else {
           number(budget202001!leftover_pos_af375fd4d75946b3bffe74a856151d57)
         }
    


name: budget202002!spent_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
                =number(from transactions
                   where category = "d4b0f075-3343-4408-91ed-fae94f74e5bf" and
                     date >= 20200201 and date <= 20200229
                   calculate { sum(amount) })
              


name: budget202002!leftover_d4b0f0753343440891edfae94f74e5bf
cachedValue: 0
expr:
      =(number(budget_d4b0f0753343440891edfae94f74e5bf) + number(spent_d4b0f0753343440891edfae94f74e5bf)) +
         if(budget202001!carryover_d4b0f0753343440891edfae94f74e5bf) {
           number(budget202001!leftover_d4b0f0753343440891edfae94f74e5bf)
         } else {
           number(budget202001!leftover_pos_d4b0f0753343440891edfae94f74e5bf)
         }
    


name: budget202002!spent_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
                =number(from transactions
                   where category = "29ec2c58-8cd3-42fe-9187-7b5dfe0f70a6" and
                     date >= 20200201 and date <= 20200229
                   calculate { sum(amount) })
              


name: budget202002!leftover_29ec2c588cd342fe91877b5dfe0f70a6
cachedValue: 0
expr:
      =(number(budget_29ec2c588cd342fe91877b5dfe0f70a6) + number(spent_29ec2c588cd342fe91877b5dfe0f70a6)) +
         if(budget202001!carryover_29ec2c588cd342fe91877b5dfe0f70a6) {
           number(budget202001!leftover_29ec2c588cd342fe91877b5dfe0f70a6)
         } else {
           number(budget202001!leftover_pos_29ec2c588cd342fe91877b5dfe0f70a6)
         }
    


name: budget202002!total_income_3c1699a5522a435e86dc93d900a14f0e
cachedValue: 0
expr:
          =number(from transactions
             where category = "3c1699a5-522a-435e-86dc-93d900a14f0e" and
               date >= 20200201 and date <= 20200229
             calculate { sum(amount) })
    


name: budget202002!total_income_506e8d9d7ed0439784e407a9185dc6b2
cachedValue: 0
expr:
          =number(from transactions
             where category = "506e8d9d-7ed0-4397-84e4-07a9185dc6b2" and
               date >= 20200201 and date <= 20200229
             calculate { sum(amount) })
    


name: budget202002!spent_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
                =number(from transactions
                   where category = "6bbd8472-25d4-4cee-8a11-5bd9f7e83d61" and
                     date >= 20200201 and date <= 20200229
                   calculate { sum(amount) })
              


name: budget202002!leftover_6bbd847225d44cee8a115bd9f7e83d61
cachedValue: 0
expr:
      =(number(budget_6bbd847225d44cee8a115bd9f7e83d61) + number(spent_6bbd847225d44cee8a115bd9f7e83d61)) +
         if(budget202001!carryover_6bbd847225d44cee8a115bd9f7e83d61) {
           number(budget202001!leftover_6bbd847225d44cee8a115bd9f7e83d61)
         } else {
           number(budget202001!leftover_pos_6bbd847225d44cee8a115bd9f7e83d61)
         }
    


name: __global!uncategorized-amount
cachedValue: 0
expr:
    =from transactions where acct.offbudget = 0 and category = null and (description !=~ "transfer:%" or description = null) calculate { count(date) }


# messages_clock

clock:
  {"timestamp":"2019-02-06T16:50:45.774Z-0006-80d0b039c7d16516","merkle":{"1":{"2":{"1":{"0":{"1":{"2":{"1":{"0":{"0":{"0":{"1":{"2":{"1":{"0":{"0":{"2":{"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627},"hash":2016374627}}


