SYMPTOM:
Users should be able to right-click an existing time attribute such as a Date and select “Create Time Attributes” to create derived time attributes at a higher level, such as Year. When creating some derived time attributes such as “Quarter” or “Week,” users may see the following error:

“undefined
An error has occurred
We are sorry for the inconvenience. Please contact your administrator for help.”
Under “Show Details”:
“Invalid Expression”
STEPS TO REPRODUCE:

CAUSE:
This is a known defect in Strategy 10.4 Hotfix 4.
ACTION:
This issue has been addressed in 10.4 Hotfix 6 and higher. Please upgrade to this version or higher to take advantage of this fix.
WORKAROUND:
Users can create the derived attributes manually. For example, Quarter can be created with the following forms and expressions based upon a Date attribute:
KB440833