SharePoint Document Issues

Fix SharePoint Column Conditional Formatting Not Displaying FAIL Correctly

Jason MillerJason Miller Nov 3, 2026 870 views

Question details

The user needs to correct a SharePoint calculated column's JSON conditional formatting that incorrectly displays a check mark and hides the text for a 'FAIL' status.

Fix SharePoint Column Conditional Formatting Not Displaying FAIL Correctly
Product
SharePoint Online
Device & OS
not provided
Scenario
Customizing SharePoint list column views using JSON conditional formatting to display status icons and text.
Observed behavior
Instead of showing a red warning icon, the 'FAIL' status hides the text and displays a check mark.
Before you start

Ensure you have the exact calculated-column formula and the complete JSON code copied to your clipboard, as you will need to review the syntax or provide it to developers for troubleshooting.

Solution 1Recommended

Seek specialized JSON support on Microsoft Q&A

Since advanced JSON formatting falls outside standard built-in feature support, the most effective resolution is consulting the dedicated SharePoint customization community.

SharePoint's built-in formatting tools cover basic rules, but custom JSON scripts require developer-level troubleshooting. Posting your code in the right technical forum ensures that specialized engineers can diagnose the syntax errors causing the incorrect icon display.

1
Navigate to the Microsoft Q&A platform

Open your web browser and go to the official Microsoft Q&A website.

2
Create a new question

Click on 'Ask a question' and thoroughly describe the behavior where 'FAIL' shows a check mark instead of the warning icon.

3
Apply relevant tags

Tag your post with 'SharePoint Online' and 'SharePoint customization' to reach the correct support team.

4
Include your code

Paste your complete calculated-column formula and the JSON formatting code so reviewers can identify the logic flaw.

Seek specialized JSON support on Microsoft Q&A
Why use Microsoft Q&A?: Standard Microsoft support forums focus primarily on out-of-the-box features. JSON coding issues are actively diagnosed by developers in the dedicated Q&A section.
Free Microsoft Office alternative

Manage Your Spreadsheets and Data Easily with WPS Office

If dealing with complex JSON coding in SharePoint is slowing down your workflow, consider using WPS Office for your data tracking. WPS Spreadsheet provides a lightweight, highly compatible, and free alternative with intuitive built-in conditional formatting that requires absolutely no coding.

  1. 1. Download WPS Office: Visit the official WPS website and download the free suite for your device.
  2. 2. Open your data file: Launch WPS Spreadsheet and easily open your exported Excel or CSV files from SharePoint.
  3. 3. Apply conditional formatting: Select your data range, click 'Conditional Formatting' in the Home tab, and set your highlight rules visually.
Free, lightweight, and fast Office suiteSeamless format compatibility with Microsoft Excel, Word, and PowerPointApply conditional formatting with a few clicks—no JSON coding requiredFamiliar user interface for a zero-learning-curve migration
microsoft office alternative - wps office

Frequently Asked Questions

Why does my SharePoint JSON column hide the text when formatting is applied?

This usually happens when the 'txtContent' attribute in your JSON code is either left empty or dynamically overridden by a condition that fails to output the original column value. Ensure 'txtContent' points to '[$YourColumnName]'.

What is the correct JSON icon name for a warning or failure in SharePoint?

To display a red warning or error icon, you typically use '"iconName": "Error"' or '"iconName": "Warning"' in your JSON formatting code, which references the standard Fluent UI icon library used by Microsoft.

Can I use standard conditional formatting without JSON in SharePoint?

Yes, SharePoint offers basic out-of-the-box conditional formatting through the 'Format this column' menu. This allows you to highlight cells and apply background colors based on specific rules without writing any raw JSON code.