Expression retained earnings

retained_earnings.expr

#
# Layout in a table report titles retained earnings value.
#
#---
$REPORT='300K'
#---

TABLE('Retained Earnings', R($REPORT, 
  [name, INDEX(F($TITLE, "Financials.Balance_Sheet.quarterly"), 0, 1, "retainedEarnings")]), 
  ['#', $1, symbol],
  ['Name', $2], 
  ['1Y', S($1, change_1y), percentage],
  ['Value', $3, currency]
)

Download