To remove the date and string components from the provided SAP Datasphere code, you can simply extract the modified expression that relates to the numerical part of the calculation. The original expression appears to be transforming a date into a string format and then further manipulating it. Here's a simplified version that focuses on the numeric transformation without the date or string