On 11.05.18,10:58, Jostein Berntsen wrote: > On 25.04.18,13:31, Jostein Berntsen wrote: > > On 17.04.18,19:30, Richard Lawrence wrote: > > > John Wiegley <[email protected]> writes: > > > > > > > > > > > > "RL" == Richard Lawrence <[email protected]> writes: > > > > > > > > RL> I don't think so, at least not with regular ledger. I'd be happy to > > > > be RL> proven wrong, though! I have also wanted this feature. > > > > > > > > You can use: > > > > > > > > ledger --group-by 'format_date(date, "%Y/%m")' bal > > > > > > Ah, that's helpful! Thanks! > > > > > > -- > > > Best, > > > Richard > > > > > > > You also have this as a useful command for weekly overview: > > > > ledger --group-by 'format_date(date, "%Y/%W")' bal expenses > > > > You can refine it more: > > > > ledger bal --group-by 'format_date(date, "%Y-%m")' --depth 2 expenses and > > not jobb or tag Regning and not assets > > > > > > When running these group-by commands for monthly or weekly output these > gives output including April and week 18 as the end month/week, but they > don't include May and week 19. Is there a way to get these included as > well? >
Sorry, I saw that I had an error in my dat file, so these commands are working as expected. Jostein -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
