SharePoint / SharePoint/sp-dev-docs
JSON Form formatting: Unable to use the calculated column value in header/footer layout customization
Open
@Ashlesha-MSFT is already working on this.
Since Jul 7, 2025.
area:list-formatting
sharepoint-developer-support
type:bug-confirmed
type:bug-suspected
- Dominant language
- PowerShell
- Stars
- 1.4k
- Forks
- 1.1k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 12
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
Declarative list formatting
Developer environment
None
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
No response
Describe the bug / error
Unable to use the calculated column value in header/footer layout customization using JSON list formatting. Calculated column value can be used in column/view formatting.
The calculated column value is available in the page context but it is not shown in form header:

Steps to reproduce
- Create a simple calculated column in SharePoint list. For example using formula:
=[Title] - Open list form > Edit form > Configure layout > Header
- Add JSON in below format and Save
{
"elmType": "div",
"txtContent": "='Value: ' + [$CalcPH]"
}
Expected behavior
Customized list form header/footer should show the calculated column value without any problem.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.