Date formula field shows blank to show leap date when using CASE formula
Salesforce says this works as designed.
Summary
Date formula field shows blank to show leap date when the following formula
CASE( [Picklist Field Value] ,
"XXX" ,DATE( [Year field] + 1925, [Month field] , [Day field]),
"YYY" , DATE( [Year field]+ 1988, [Month field], [Day field]),
"ZZZ", DATE( [Year field]+ 2018, [Month field], [Day field]),
Null
)
CASE( [Picklist Field Value] ,
"XXX" ,DATE( [Year field] + 1925, [Month field] , [Day field]),
"YYY" , DATE( [Year field]+ 1988, [Month field], [Day field]),
"ZZZ", DATE( [Year field]+ 2018, [Month field], [Day field]),
Null
)
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Working as Expected with 1 report
Nov 30, 2026
Also open in Lightning Customization
Insert Link displays URL instead of Title
Solution ScheduledPlatform / Lightning CustomizationSpring '23Reported Mar 7, 202350 reports50reports
Summer '24 - Formula fields in Lookup Advanced Search do not support IMAGE, HYPERLINK, BR operators
Solution in ProgressPlatform / Lightning CustomizationSummer '24Reported May 22, 202440 reports40reports
Managed-package LWCs on record pages are compiled lazily and serially at first view, causing 60–110s of page load time
In ReviewPlatform / Lightning CustomizationReported Oct 8, 202614 reports14reports
Dynamic related list single won't display polymorph lookup fields
In ReviewPlatform / Lightning CustomizationReported Jan 12, 202611 reports11reports