mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-06 07:01:45 -05:00
Open
opened 2026-04-18 05:03:30 -05:00 by GiteaMirror
·
69 comments
No Branch/Tag Specified
master
claude/hide-default-categories-1cwBZ
matiss/crdt-source-loading
youngcw/unlock-duplicates
matiss/crdt-protobuf
release/26.5.0
claude/update-issue-template-ykMNn
claude/fix-issue-7667-DPXi3
cursor/formula-feedback-improvements-4223
cursor/resolve-pr-7449-ee11
claude/fix-typescript-build-error-JPtZ5
jfdoming/api-tokens-part-3
jfdoming/api-tokens-part-2
jfdoming/api-tokens-part-1
claude/speed-up-vrt-workflow-ZAyI5
claude/crdt-version-auto-publish-Ph1BH
copilot/add-repository-configs-to-packages
worktree-compressed-drifting-ritchie
worktree-mellow-strolling-dawn
matiss/browser-api
claude/api-consumer-verification-kfz1K
feature/enable-banking
cursor/transaction-table-rewrite-f077
pr-7454
claude/fix-issue-7410-LLLQ4
release/v100.0.0
revert-7350-trim-deps
revert-7220-sankey-report
revert-7242-fix/split-parent-update-corruption
revert-7281-generate-icons
claude/electron-to-tauri-migration-LjBN8
worktree-remotion
release/vv26.4.0-pre
claude/browser-compatible-api-QbhHh
claude/improve-cli-transactions-waTUY
claude/publish-react-native-ios-j8qoT
js-proxy
claude/fix-flaky-ci-job-5gDdz
react-query-rules
react-query-useSchedules
claude/nightly-theme-validation-scan-DzOGD
claude/debug-simplefin-error-ZuKzB
matiss/desktop-client-subpath-imports
claude/fix-simplefin-ssrf-T31gX
claude/release-notes-validation-X7rvR
add-claude-github-actions-1772738270730
cursor/sync-performance-notification-9899
react-query-prefs
matiss/chunked-sync-and-progress-ux
v26.2.1
copilot/sub-pr-6880
fix-react-query-clear-on-close-budget
copilot/sub-pr-6140
feat/auto-note
feat/scoped-bank-sync
cursor/desktop-transactions-react-table-1d0c
fix-exhaustive-deps-App
copilot/fix-find-replace-bug
release/v26.2.0-pre
matiss/browser-tests
mobile-fix-drag-and-drop-across-groups
budget-table-v2
PayeeAutocomplete2
pglite
bugfix/plugins/fix-plugins-sw
feat/plugins/plugins-core-package
prerelease
matiss/unicode-minus-fix
cursor/fix-actual-github-issue-6206-gemini-3-pro-preview-9c37
TransactionFormPage
cursor/implement-mortgage-and-loan-account-type-78ca
tests-update-fill-with-pressSequentially
mobile/link-modal
deps/25.11
cursor/fix-update-vrt-apply-ci-job-dispatch-b324
sync-server-plugins
cursor/propose-patch-for-github-issue-5680-2a18
fix/compiler-preserve-inner-dollar-escapes
cursor/analyze-actual-budget-issue-and-propose-fix-5b70
coderabbitai/docstrings/0c070e5
cursor/add-wip-prefix-and-comment-to-prs-d78d
jfdoming/08-21-auto-focus-on-navigate-in-all-browsers
show-totals-on-mobile-budget-banners
allow-child-transactions-make-transfer
mobile-calculator-keyboard
payee-geolocation
enhance/restore_scroll_position
dm-fix-second-click-on-mobile-new-transaction-2
scrollToLocationBudget
alert-autofix-38
tsconfig-composite
mobile-fix-uncategorized-transactions-on-tracking-budgets
server-budget-handlers
fix-sql-injection-in-cleanup-template
non-chrome-draggable-workaround
mobile-budget-page-swipe-navigation
ts-db-all
stable
dark-theme-with-brand-colors
fix-mobile-delete-group
ts-db-select
UnderKoen/reconcile-context-menu
master-before-server-merge
v25.2.1
ts-runQuery
rename-redux-hooks
UnderKoen/3557-persist-state-in-history
remove-redux-CLOSE_BUDGET
fix-exhaustive-deps-errors-FinancesApp
redux-toolkit-createSlice-backup
accounts-function-component
ts-useSplitsExpanded
loot-core-server-package
useTransactios-in-TransactionEdit
react-aria-input
move-redux-to-desktop-client
QueryState-type
fix-themes-applied-late
mobile-vrts
revert-3295-spendingCardFix
react-aria-button-4
split-payee-on-mobile
twk3/pin-apis-crdt
notes-tag-autocomplete
ts-LoadBackup
dnd-kit
package-upgrades
v26.5.0
v26.4.0
v26.3.0
v26.2.1
v26.2.0
v26.1.0
v25.12.0
v25.11.0
v25.10.0
v25.9.0
v25.8.0
v25.7.1
v25.7.0
v25.6.1
v25.6.0
v25.5.0
v25.4.0
v25.3.1
v25.3.0
v25.2.1
v25.2.0
v25.1.0
v24.12.0
v24.11.0
v24.10.1
v24.10.0
v24.9.0
v24.8.0
v24.7.0
v24.6.0
v24.5.0
v24.4.0
v24.3.0
v24.2.0
v24.1.0
v23.12.0
v23.11.0
v23.10.0
v23.9.0
v23.8.1
v23.8.0
v23.7.2
v23.7.1
v23.7.0
v23.6.0
v23.5.0
v23.4.2
v23.4.1
v23.4.0
v23.3.2
v23.3.0
v23.2.9
v23.2.5
v23.1.12
v22.12.9
Labels
Clear labels
AI generated
API
bank sync
budgeting
bug
can’t replicate
dependencies
docker
documentation
electron
experimental feature
feature
feedback
goal templates
good first issue
help wanted
importers
maintenance
needs info
needs testing
needs triage
needs votes
openid
payees
pull-request
regression
reports
responsive
rules
schedules
server
✨ merged
split transactions
tech debt
theme
transaction import
transaction reconciliation
transactions
translations
upstream
user interface
✅ approved
wontfix
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/actual#28341
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lelemm on GitHub (Oct 17, 2025).
Original GitHub issue: https://github.com/actualbudget/actual/issues/5949
Added excel-like formulas to a new card and excel formulas to rules:
Formula card:
On reports, a new dashboard type will show:

Open the new card to show the editor:

Query Definitions is where you are going to define the queries to fetch data. You will use it later in the formula
Formula uses excel functions (in english)
You can use dynamic font size (like the summary card), o set a specific font size:

You can create conditional expression to color the number

This will paint the number as green for my example:
Formula Rules
You will see a new icon for fields that support formula (numeric and text fields. ID fields doesn't work)

Clicking on it will enable the formula editor:

The suggestion popover shows some variables related to this context

Create the rule using the formulas and test it using the Apply actions to a single record:

After saving it, you will see it in the rules:

@tomasgriffin commented on GitHub (Oct 22, 2025):
Will definitely be playing around with this 👏 If the goal is for it to replace Rule Action Templates then it should probably have the same Transaction variables/fields available. Specifically,
balance, to name one (which was only recently added)@lelemm commented on GitHub (Oct 22, 2025):
Thanks. I will take a look into the variables. Good call
The idea is to have a single "language" for customizable content (formula card, rule actions, may be budget template?)
we are experimenting with the formula idea.
Any other feedback, feel free to leave here.
For example, I'm not happy with the suggestions popover, I will see what I can do about it in the future
@youngcw commented on GitHub (Oct 22, 2025):
The dates in the query editor don't function the same as the dates in other reports. The end month is exclusive where all the other reports use an inclusive end month.
@youngcw commented on GitHub (Oct 22, 2025):
If a filter in the query is long, it will exapand to be outside of the query box.
@youngcw commented on GitHub (Oct 22, 2025):
If I use a color formula of
=theme_reportsBluethe number on the edit page changes to blue, but not the dashboard number.If I use a color of
theme.reportsBluethen the number on the edit page doesn't change, but the dashboard one does.The suggestion when editing is to use theme_reportsBlue.
@lelemm commented on GitHub (Oct 22, 2025):
may be that's in a specific scenario?
@youngcw commented on GitHub (Oct 22, 2025):
Filters
Formula editor

From summary card
@youngcw commented on GitHub (Oct 22, 2025):
I think thats because you have the same start and end date. So the start month is including the month and the end date is excluding that same month, but it was already included.
@matt-fidd commented on GitHub (Oct 28, 2025):
I'm hitting a rerender loop where the reports page is eating up 100% CPU and sending my Macbook Air to 100C 😅
@MatissJanis commented on GitHub (Nov 1, 2025):
This feature has a lot of potential! Thanks for looking into building it out.
Small feature request: can we get
balancevariable (the current balance of the account)? If we had this - we could create a schedule that automatically calculates mortgage interest (or credit card debt) and then auto-posts an interest transaction.(where 0.05 = 5% interest)
Edit: Ok, I see this is already in progress. Great! :)
@matt-fidd commented on GitHub (Nov 3, 2025):
I've been playing about with this a fair amount now, and I like it!
A couple of bugs I noticed:
And a couple of feature requests:
An auto-format button that puts a messy oneliner into a nicely prettified formula
Help modal with all available theme colours in
A bit nicher, but a way to get the current time window of a query would be good, to replace the pattern in my query above. eg. a live query spanning 2 months would return 1 at the start of the month, 1.1 on the 3rd day, and increases as the month goes on like the summary card calculates.
Not specifically related to this change, but these cards could benefit from being allowed to shrink another step vertically to kill off the dead space, eg.

New line characters available to make the text be able to span multiple lines
The ability to be able to pass only certain parts of the result to the custom colour formula
Regex functions to pull substrings out
Category balance function to give the current balance at the time
=CATBAL("Emergency Fund")@youngcw commented on GitHub (Nov 5, 2025):
Live date ranges in queries don't seem to be updating when the month changes.
@sjones512 commented on GitHub (Nov 12, 2025):
Is it possible to add the formula feature to the Allocate Split Amount field?
It looks like it is available for the top level amount, or for other fields on the split.
Would be really helpful to have the power of excel available when calculating split amounts.
@sexyskinnybitch commented on GitHub (Nov 12, 2025):
the formula helper is constrained to the text box, which means it doesn't show in the conditional color box:
also, now that we can edit font sizes, can the minimum card size be reduced? there's quite a bit of wasted space.
@youngcw commented on GitHub (Nov 12, 2025):
If you press tab while editing a formula it inserts a tab at the start of the line even if you are in the middle of the formula.
Compared to no tab
@Juulz commented on GitHub (Nov 12, 2025):
Line Breaks? This is ugly! LOL
Unable to add CHAR(10 or 13) to CONCATENATE ?
@lelemm commented on GitHub (Nov 13, 2025):
Can you reformulate your feedback? I'm not sure if I understand what you are asking for / suggesting
@sexyskinnybitch commented on GitHub (Nov 13, 2025):
I'm pretty sure what they're asking for is the ability to put embedded carriage returns and line feed so that we can make a multi-line card. if you look at the example there are three different totals being listed. I believe they wanted to make each one of those three on a separate line.
@Juulz commented on GitHub (Nov 13, 2025):
Yes, line breaks! Thanks @sexyskinnybitch
@sys044 commented on GitHub (Nov 14, 2025):
Added a comment to the other PR, just linking it here for visibility: https://github.com/actualbudget/actual/pull/5985#issuecomment-3532524060
@danielcovill commented on GitHub (Nov 14, 2025):
Using the Excel TEXT format to create currency doesn't seem to be working for me. Admittedly I'm an excel beginner but
=TEXT(QUERY("NetWorth"), "$#,##0.00")Should get an output that is formatted with commas every three and the cents places as described here
What I actually see looks more like $1111111,##0.00
For what it's worth, using the following gets me closer
=TEXT(QUERY("NetWorth"), "$#")in that the cents are rounded off.
@VictorBuilder commented on GitHub (Nov 15, 2025):
Hi @matt-fidd,
The needs-wants-savings is something I was really looking forward in implementing in Actual. Could you please share how you've made it happen?
Thank you!
@matt-fidd commented on GitHub (Nov 17, 2025):
Absolutely! The specifics will depend on how you have your accounts set up. For me, all of my accounts have a specific emoji in the account name (🫙& 📈 are savings and investments), and all spending is on budget and categorised. My needs categories have
(N)in the name, and wants have(W). I'm sure you can change the filters around to what you use though.Also, all of these formulae assume a 12 month (+ current month) rolling average used in the queries, to catch any annual subscriptions. It also assumes Wants = 50%, Needs = 30%, Savings = 20% but you can change those numbers in the colour formulae.
The formulae are... kind of ugly for now, but hopefully if we can get some more helpers in for things like this it'll get tidier.
Also a disclaimer that I've not extensively tested these, but the logic seems sound and the numbers seem reasonable.
Needs/Wants
For needs and wants, use the below but change the "spending" query filter:

Main formula:
Needs colour formula:
Wants colour formula:
Saving
Formula:
Colour formula:
@tabedzki commented on GitHub (Nov 17, 2025):
I might be missing it, but is there a docs page for this experimental feature? If not, should we write one? I don't see it listed on the current website.
@emiltb commented on GitHub (Nov 17, 2025):
I was playing around with this and really like the flexibility. I agree with @tabedzki that it would be really nice to get some docs written for the feature, as it is a bit of guesswork to do something with it right now.
It is possible to format numbers with a thousands separator? Normally in Excel this is done via cell formatting and not a formula, so it is unclear to me if this is possible right now. I have this query, which tells me how close I am to hit a certain limit in my transactions:
=CONCATENATE(ROUND(SUM(QUERY("Medarbejderaktier ÅTD"))/(1-0.00075),0), " (", CONCATENATE(ROUND(SUM(QUERY("Medarbejderaktier ÅTD"))/(1-0.00075)/67500*100,1), "%"), ")")For aesthetic reasons it would be nice to display that as
53,922 (79.9%)@espege commented on GitHub (Nov 17, 2025):
Great feature! I can see this really coming handy in the future.
I would love to have the dropdown value dynamic "last month" in the hamburger menu for time selections, like is already available in some reports. My use case is splitting some specific expenses in the household, but data is not real-time, hence the need to only target last month.
@rodriguestiago0 commented on GitHub (Nov 19, 2025):
The tool tip used single quotes, and then the usage used double quotes.
@youngcw commented on GitHub (Nov 24, 2025):
A
balanceOnDay()function would be nice. That way you could make a schedule that calculates the amount needed to pay off a CC statement balance and not just the whole balance.@matt-fidd commented on GitHub (Nov 24, 2025):
That would be good, I've got a cron job that runs and picks up my CC statement dates from account notes, then uses the schedule API to update them as needed, but skipping a step would be appreciated!
@Juulz commented on GitHub (Nov 25, 2025):
If custom pills will be created, being able to use
lastSyncedBalancewould be great. It's a bit of a bother to open up Reconcile on each account to check if it matches the Cleared total.@jean-the-coder commented on GitHub (Dec 2, 2025):
I don't know how feasible it is, but it would be cool to have an option to set a default time range for the card rather than recreating the time range for every query within the card.
@Kurokha commented on GitHub (Dec 3, 2025):
I'm loving this new feature! Already started building some nice reports and looking forward to what else will be made possible.
One thing that I didn't see being mentioned yet: You can't import a reports dashboard that contains formula cards. While they seem to be exported perfectly fine, importing results in an error "Error importing file: Invalid widget.id.type value formula-card."
@superzanti commented on GitHub (Dec 3, 2025):
Is it possible to do some kind of count function?
I can query, but that just returns the sum of all the amounts found. It would be nice if there was also some kind of count query that would return the number of results found.
@fcthemaster commented on GitHub (Dec 4, 2025):
Does not work for me in "rules". It does not recognize any formula

@ctozlowski commented on GitHub (Dec 4, 2025):
I keep getting a fatal error that I think is related to this feature. I set up a rule using a formula:
And now when I click on "Off Budget" or the account that the transaction is in, I get a fatal error.
Removing the formula stops the fatal error from occuring
@ctozlowski commented on GitHub (Dec 4, 2025):
Unrelated to my previous comment, does =QUERY() just sum up the transaction amounts in the query? It would be cool to be able to get specific details about certain transactions in the query such as dates
@superzanti commented on GitHub (Dec 4, 2025):
It seems like it.
I'd also like more specific details. I've always wanted to integrate a mortgage tracker into actual.
@IsThisThingStillOn commented on GitHub (Dec 5, 2025):
Update v25.12.0 "broke" the formula area for formula card reports. It looked quite nice (see opening post) now it looks like this:
@dylarm commented on GitHub (Dec 6, 2025):
Also after updating to v25.12.0, autocomplete in both the formula and color boxes no longer seems to work. However, the
theme.reportsBluevstheme_reportsBlueissue for the color is still present.@youngcw commented on GitHub (Dec 11, 2025):
My report was constantly reloading and the text was getting smaller each time. Now it no longer reloads, but its probably at a minimum text size.
@atgrey24 commented on GitHub (Dec 11, 2025):
Paraphrasing my comment from https://github.com/actualbudget/actual/pull/5985#issuecomment-3643322549
Found a bug. When trying to set the amount using math operations that result in excess decimal places, the rule throws an error and fails to populate, regardless of the syntax used.
For example:
set amount =12345/2orset amount ={{div 12345 2}}will both fail.
The workaround is to use the
roundfunction to remove the excess decimals when setting theamount.set amount =round(12345/2)orset amount ={{round (div 12345 2)}}will both work as expected.
This feels like an oversight. If you type a number into the amount field with too many decimals it rounds automatically. The same should happen here, without making users add the round function. Especially since calculating interest is the most desired used case for the
balancevariable.set amount =balance*0.004will fail.Also, the docs need more information on this. There's no instruction on how to use nested functions in handlebars syntax, and nothing at all on the proper "formula" syntax. It was hard to troubleshoot this. If the behavior is not going to change, then the docs need to explicitly state that users must add the
roundfunction.This is on 25.12.0
latest, running on Pikapods.@mrsdoubtfire613 commented on GitHub (Dec 13, 2025):
I only just started playing with these formula cards and am also on v25.12.0 so I don't have a reference to prior versions. I see the same for the formula area. Also, ctrl+space does not bring up the formula helper at all. Lastly, I don't get any autocomplete assistance either.
@IsThisThingStillOn commented on GitHub (Dec 13, 2025):
Yeah, auto complete was a thing back in 25.11.0
@lelemm commented on GitHub (Dec 15, 2025):
LLM generated summary of the feedbacks until now:
👍 Overall Feedback
🧮 Formula & Data Capabilities
balance)lastSyncedBalancebalanceOnDay(date)function📊 Time Range & Queries
🧑💻 Editor & UX
🐛 Bugs & Stability Issues
📦 Import / Export
formula-cardwidget type error🔢 Numeric & Rounding Problems
round()📚 Documentation Gaps
🧭 Strategic Direction Feedback
@sjones512 commented on GitHub (Dec 15, 2025):
I took a stab at adding the Formula Feature to the set-split-amount field in rules.
Not intimately familiar with how the rules are are applied or if there are special considerations for split transactions that I am overlooking.
PR Here: 6414
@lelemm commented on GitHub (Dec 15, 2025):
BUGS / ISSUES
IMPROVEMENTS / ENHANCEMENTS
balance)ON ITS OWN CATEGORY (not going to deal with it here)
balanceOnDay(date)function for credit card and schedule use caseslastSyncedBalancefor formulas and custom pills@superzanti commented on GitHub (Dec 16, 2025):
+1
Support count-style queries (COUNT) in addition to sumsThis would be incredibly helpful as a baseline.
@IsThisThingStillOn commented on GitHub (Jan 3, 2026):
/E:
Seems fixed with v26.1.0
Bug: Date range doesn't update automatically, like other report cards do.
I use several formula cards and a few different date ranges. None of them reflected the new range after the month rollover.
This is a card I added in November (both 3 months) and they never changed on their own

@ldrumm4 commented on GitHub (Jan 7, 2026):
On
v26.1.0Formula Card results don't respect system number formatting preference defined in Settings.Great feature overall 👍
@shall0pass commented on GitHub (Jan 21, 2026):
The formula seems to be adding a number larger than expected. By 100x.
Below is a screen shot progression. I entered a $10 misc income, created a rule to add 5% divided by 12 months. The account balance was 3048.05, but when the rule was applied it filled $1266. I expected an amount in the neighborhood of $12.70, so $12.66 would be a reasonable answer.
@matt-fidd commented on GitHub (Jan 21, 2026):
Just a quick read as I'm out and about but I imagine
balancereturns an int, not a decimal so * 100 in most cases. That's definitely how the rule action tempting with handlebars worked.@shall0pass commented on GitHub (Jan 21, 2026):
Do you think it's going to stay this way or is this a bug? I'm debating whether I need to change my /12 to /1200 to get the correct results, or if I'll have to adjust again if it's a bug.
@matt-fidd commented on GitHub (Jan 21, 2026):
I imagine it'll stay this way. There is a
INTEGER_TO_AMOUNThelper that should help to convert for you. I think it's a design choice related to currencies with differing decimal placesI believe the
INTEGER_TO_AMOUNThelper is broken in 26.1, but works on edge@tabedzki commented on GitHub (Jan 26, 2026):
Can we update the default to be something that has an active query for the DB? An example using a more complicated default would provide users a better understanding, especially since the demo budget doesn't provide one for users to tinker with.
Looking at the documentation, there are things like
=SUMIF(A1:A10, ">0", B1:B10)which makes sense when you're looking at an Excel Spreadsheet but in this context of a query, the idea of columns and rows (for example,A1:A10) is confusing and unintuitive. Is there a way we can explain this better to users? Is this notation meaningful in Actual or should it be removed from the docs?Separately from that, can we update the demo budget file have a demo for each experimental feature? Currently, you can have them exist even if the experimental feature flag is disabled; they just won't be visible on the Reports page itself. Each one could be placed towards the bottom of the reports page.
@bryan commented on GitHub (Jan 30, 2026):
Excel formula for new line doesn't work; e.g. CHAR(10)
Additionally, is it possible to have the card widget on the Report dashboard to be the smallest size? Right now it's using a lot of empty space especially since font-size can be dynamically changed.
@StephenBrown2 commented on GitHub (Feb 1, 2026):
It was requested in Discord that the formula's work in the condition fields as well. Currently they are only available in the actions.
Discord: https://discord.com/channels/937901803608096828/1466649888581353544
@niffelheimba commented on GitHub (Feb 13, 2026):
First, amazing feature. I use the budget tracking mode and want to be able to query budgeted amounts - is this possible? I wonder if this would also being able to extend to setting the date range to future months based on budgeted amounts (but obviously there won't be actuals).
For example, I'd like to be able to use formulas to create a rolling 6 month sum, or maybe a static picture for the year, of my budgeted vs. actual amounts... so if I go over/under a month, I can still hit a target based on my dashboard. For example, I could set a formula to sum my budgeted amount on shopping for January through June 2026. While my monthly budgeted amount is the goal, if I have any under/overage or big purchases coming up in a certain month I can use the 6 month goal.
@TerborX commented on GitHub (Feb 19, 2026):
How do I get amounts to match system formatting? I’m getting the right numerical result, but I want to display it in US formatting with a comma in the thousands place (and dollar sign too if possible, but that is an easy text workaround)
Edit: ok, I actually took away the concatenated “$” and I have the place sign in the number. But now I don’t have the currency symbol
@SimonMayerhofer commented on GitHub (Mar 8, 2026):
A small quality of life improvement would be to have the cursor inside a function after pressing enter when using Ctrl+Space, so you don't need to press the left arrow key.
Great feature in general. I think It's awesome to have Excel style syntax, which a lot of people are already familiar with :) thanks!
Edit:
Another thing I noticed: It's not possible to access the note of a transaction inside a split. So if I create a split and would want to take the note to set it for one of the splits
=noteis not working.@andyfreema-cmyk commented on GitHub (Mar 12, 2026):
Hello!
Can we indicate in the formula the name of the account, whose balance we need to use in that formula?
Like:
="my account name".balance * 2P.S. And how Actual nows, balance of which account im needing?
@xrebelox commented on GitHub (Mar 16, 2026):
Would be good if we could fetch an array of the transactions, right now
QUERYfetches a sum of all transactions but, in certain circumstances you might want the whole data, for example if you want to calculate an average (sure you could do QUERY/QUERY_COUNT) but lets say you want to calculate the median, or the max or min value, you cannot do that.@orchard0 commented on GitHub (Mar 27, 2026):
Bug report
Using the "Test Budget" as an example:
Selecting the category group does not give an accurate result when using any of the dimensions.

5000.64is the total budgeted for that month in all categories.Selecting the individual categories manually gives the accurate result:

@youngcw commented on GitHub (Mar 31, 2026):
When using a formula inside a rule, is the
datevariable working for others? I cant get it to work no matter what I try. I does return properly as a string when used to set notes, but I cant get it to work at all inside a formula for setting the amount. It seems like I should be able to doDATEVALUE(date)to use the date of the transaction but it doesn't seem to work. The given example of=TEXT(date,"MMMM")doesn't work either.@orchard0 commented on GitHub (Mar 31, 2026):
It's not working for me either. I should be able to use something like
TEXT(EDATE(NOW(), 1), "yyyy-mm")insideBUDGET_QUERY()@StephenBrown2 commented on GitHub (Apr 1, 2026):
I believe
dateis in the wrong format (ISO) for HyperFormula, which uses an unfortunate dd/mm/yyyy format for some reason by default. Has it been configured to use the ISO format?@youngcw commented on GitHub (Apr 3, 2026):
I think I fixed the
datevariable issue https://github.com/actualbudget/actual/pull/7373After this PR the
dateandtodayvariables are treated like a first class date value, any uses of them in a string setting will need formatted withTEXT().@lelemm commented on GitHub (Apr 9, 2026):
@cursor I need you to look into the feedbacks since this post https://github.com/actualbudget/actual/issues/5949#issuecomment-3478809829
create a PR for me as draft so I can look into it later.
Explain in the comments of this PR what was the reasoning in all the choices you made and also create blocks of comments in the code saying what was the feedback that triggered that change
@cursor[bot] commented on GitHub (Apr 9, 2026):
Perfect! Now let me create a summary document explaining all the changes and reasoning. Let me create a comprehensive comment explaining the implementation:
I've successfully created a draft PR (#7451) addressing the feedback from GitHub issue #5949. Here's what was implemented:
✅ Implemented Changes
1. FORMATNUMBER() Function
$#,##0.00=FORMATNUMBER(1234567.89, 2)→"1,234,567.89"2. FORMATCURRENCY() Function
=FORMATCURRENCY(1234567.89, "$")→"$1,234,567.89"3. Tooltip Quote Consistency
4. Documentation Updates
5. Comprehensive Testing
❌ Not Implemented (with reasoning)
BALANCEONDAY() Function
Reason: Requires database access not available in formula execution context. Would need architectural changes for async database queries during formula evaluation.
Alternative: Users can use QUERY() with date filters to achieve similar results.
LASTSYNCEDBALANCE Variable
Reason: Requires access to account metadata (balance_current field) not currently passed to formula context.
Alternative: Could be added in future by extending the variable context passed to formulas.
Dynamic "Last Month" Dropdown
Reason: This is a UI/UX enhancement for the query time frame selector, not a formula function issue. Should be addressed in a separate PR focused on query configuration UI.
Code Organization
All changes include detailed comments explaining the feedback that triggered them:
This makes it easy to trace each change back to the original user feedback, as requested.
The PR is created as a draft so you can review it before finalizing. All changes are tested, type-safe, and follow the project's coding standards.
@Jakobuo commented on GitHub (Apr 14, 2026):
In a rule, trying to set the date using this formula
=MID(notes, SEARCH("??.??.????", notes), 10)leads to a nondescript internal error. This error doesn't show up in the server's output, and I haven't been able to find any other logs. Converting it to a number using DATEVALUE or doing+ 0gives an error about an invalid value for the date field, so the formula has to be calculatable.