Skip to content

Customizable Reporting - Feature Request #1155

Open
@crparis

Description

@crparis

I would like to see highly customizable multi-column reports that can be easily run when called. Currently Hledger gives an excellent "Trended" financial report which is the main reason I use Hledger for my personal finances, however I am looking for additional ways to look at financial data. I am a corporate accountant and during my financial review I look at multiple reports to see numbers and trends in different perspectives. In my personal finances I am looking to do the same.

I am looking for a way to create "CurrentPriorBudget" type reports that can be customized in some sort of config file or maybe .rule file such as "import" calls on. Below I have a custom Income Statement mockup that ideally would be created and could be run in Hledger as "cpb" or "iscpb" in place of the default "is". My ideal customizable report would be: the ability to set columns in whatever arrangement you want, include visual separators (as seen in the mockup), and basic calculation columns (for example below I have "Var%" or "Var$"/"Bud").

Please let me know if anything is amiss in this feature request. Though this is a potentially inconsequential issue submission, it is my first foray into opensource development.

Income Statement - 02.2019 - Current Prior Budget

                         ||        Feb  |        Jan    Var%     Var$   |     FebBud     Var%      Var$  |     FebYTD     BudYTD  VarYTD%     VarYTD$  |
 ========================++=============+===============================+================================+=============================================+
 Revenues                ||             |                               |                                |                                             |
 ------------------------++-------------+-------------------------------+--------------------------------+---------------------------------------------+
 Income:Work             ||  $3,000.00  |  $3,000.00      0          0  |  $3,500.00   (14.3%) ($500.00) |  $6,000.00  $7,000.00   (14.3%) ($1,000.00) |
 Income:Interest         ||     $20.00  |     $20.00      0          0  |     $40.00   (50.0%)  ($20.00) |     $40.00     $80.00  (200.0%)    ($40.00) |
 Income:Misc             ||          0  |          0      0          0  |     $50.00  (100.0%)  ($50.00) |          0     $50.00  (100.0%)    ($50.00) |
 ------------------------++-------------+-------------------------------+--------------------------------+---------------------------------------------+
                         ||  $3,020.00  |  $3,020.00      0          0  |  $3,590.00   (15.9%) ($570.00) |  $6,040.00  $7,130.00   (15.3%) ($1,090.00) |
 ========================++=============+===============================+================================+=============================================+
 Expenses                ||             |                               |                                |                                             |
 ------------------------++-------------+-------------------------------+--------------------------------+---------------------------------------------+
 Expenses:Food           ||    $800.00  |    $700.00  (14.3%) ($100.00) |    $900.00    11.1%   $100.00  |  $1,500.00  $1,900.00    21.1%     $400.00  |
 Expenses:Housing        ||    $500.00  |    $600.00   16.7%   $100.00  |    $600.00    16.7%   $100.00  |  $1,100.00  $1,200.00     8.3%     $100.00  |
 Expenses:Gifts          ||     $50.00  |          0      0    ($50.00) |     $75.00    33.3%    $25.00  |     $50.00    $100.00    50.0%      $50.00  |
 Expenses:Supplies       ||    $100.00  |    $125.00   20.0%    $25.00  |    $125.00    20.0%    $25.00  |    $225.00    $250.00    10.0%      $25.00  |
 ------------------------++-------------+-------------------------------+--------------------------------+---------------------------------------------+
                         ||  $1,450.00  |  $1,425.00   (1.8%)  ($25.00) |  $1,700.00    14.7%   $250.00  |  $2,875.00  $3,450.00    16.7%     $575.00  |
 ========================++=============+===============================+================================+=============================================+
 Net:                    ||  $1,570.00  |  $1,595.00   (1.6%)  ($25.00) |  $1,890.00   (16.9%) ($320.00) |  $3,165.00  $3,680.00   (14.0%)   ($515.00) |

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WISHSome kind of improvement request or proposal.balancebalancesheetcashflowcsvThe csv file format, csv output format, or generally CSV-related.incomestatementneeds-codeTo unblock: needs code/code updatesneeds-designTo unblock: needs more thought/planning, leading to a spec/planneeds-mockup/screenshotTo unblock: needs a rough mockup, eg in plain text, or a screenshot

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions