Forum Discussion
Sum of calculated Currency column without Power Automate
- Jun 20, 2024You can't sum a calculated column. You'd need a flow in Power Automate and have it update just the first item in the Sum column with the result.
Jim_Allen with a number column you can display the total of an item and have a currency symbol using the following JSON:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "div",
"style": {
"font-weight": "bold",
"background-color": "#fefbea"
},
"children": [
{
"elmType": "span",
"txtContent": "£",
"style": {
"display": "inline-block",
"padding-left": "6px"
}
},
{
"elmType": "span",
"txtContent": "@currentField"
}
]
}
But you can't use JSON to add the currency symbol to to the sum at the bottom of the column.
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)
Thanks Rob - it's a calculated column though with this formula: =[Budget]*[Fee percentage]
I can't see how to to use number format columns with calculated values and the column totals.
I can have calculated columns with number format and totals, calculated columns with currency, and number format columns with currency and totals, but apparently not calculated columns with totals.
I did Google this, but answers seemed to be all dating back a couple of years. I was hoping there was a fix with more recent updates.
- Rob_ElliottJun 20, 2024Silver ContributorYou can't sum a calculated column. You'd need a flow in Power Automate and have it update just the first item in the Sum column with the result.
- Jim_AllenJun 20, 2024Copper ContributorThanks - I did see this but hoped things had moved on.