I have defined some variables using let and list widgets for my dynamic table for creating a footer so as to display data like sum.
-
tbl-filter
is the variable that stores the list of the tiddlers in this filter run. Its stores value like[budget-month[2025-05]budget-type[transaction]]
-
tbl-field-value
is the variable that stores the name of the field. This stores fieldname liketransaction-amount
Now I want to get sum using these variables. That is the sum of fieldvalues in the field transaction-amount
or the tbl-field-value
in the tiddlers [budget-month[2025-05]budget-type[transaction]]
or the tbl-filter
How to create such a filter run ?
The below given code works
{{{ [budget-month[2025-05]budget-type[transaction]get[transaction-amount]] +[sum[]] }}}
Based on that how to create the code using the variable I mentioned above. Code which I tried is not working. I think there should be some sort of substitution
{{{ [<tbl-filter>get<tbl-field-value>] +[sum[]] }}}
Edit:
I tried this code also which also doesn’t work
{{{ [$(tbl-filter)$get[$(tbl-field-value)$]] +[sum[]] }}}