Hi, this request is quite unspecific and it will be difficult for the community to get you to what you want to achieve. There are various ways to achieve this, and maybe dynamic or stored calculations may be an option too, depending on the exact requirements.
If you search for phrases such as "cube view formulas" or "cube view math" in this forum, you will find some posts.
In the documentation (OneStream Documentation - Release 8.4), you can search for input using the same phrases which will surface e.g. this section:
Create Cube View Column and Row Calculations
I hope this helps.