Huge Example file ▾Query

SELECT      account, sum(cost(position)) as total, month  WHERE     account ~ "Expenses:*" and year = YEAR(today()) and month = MONTH(today())  GROUP BY month, account  ORDER BY total, account DESC
SELECT account, count(account) ORDER BY account
SELECT   date, account, position, balance  WHERE    account ~ 'Phone';
SELECT account,     units(sum(position)) as units,     cost_number as cost,     first(getprice(currency, cost_currency)) as price,     cost(sum(position)) as book_value,     value(sum(position)) as market_value,     cost_date as acquisition_date   WHERE account_sortkey(account) ~ "^[01]"   GROUP BY account, cost_date, currency, cost_currency, cost_number, account_sortkey(account)   ORDER BY account_sortkey(account), currency, cost_date
balances FROM year = 2013
SELECT      account, sum(cost(position)) as total, month  WHERE     account ~ "Expenses:*" and year = 2015 and month = MONTH(today())  GROUP BY month, account  ORDER BY total, account DESC
help
SELECT      account, sum(cost(position)) as total, month  WHERE     account ~ "Expenses:*" and year = YEAR(2015) and month = MONTH(today())  GROUP BY month, account  ORDER BY total, account DESC
balances
.help

Upload file(s):

New transaction: