{{ _('You can run querys like with the bean-query
tool. For a detailed explanation of how queries can be created see the Beancount Query Lanugage Reference.') }}
{{ _('If you add query
-Directives to your Source these stored queries will be displayed as a dropdown to quickly select them.', url=url_for('source')) }}
balances from year = 2014
SELECT last(date) as last_date, cost(sum(position)) as cost;
SELECT date, account, position, balance WHERE account ~ 'Travel';
{{ error }}
{% endif %} {% if result_types %} {% endif %} {% endblock %}