Jump to content
  • 0

Use a Formula within a Formula


tconnery

Question

I've created a few formulas and now require a field that uses some of the existing formula values in a calculation.

Is there a way I can create a new formula similar to the following:

 

[@field:Formula1] / [@field:Formula2]


Reference: http://howto.caspio.com/tables-and-views/data-types/formula-fields/

"Other Formula Fields Not Compatible"

 

Hoping for a way around this....

Thanks

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
11 hours ago, tconnery said:

I've created a few formulas and now require a field that uses some of the existing formula values in a calculation.

Is there a way I can create a new formula similar to the following:

 

[@field:Formula1] / [@field:Formula2]


Reference: http://howto.caspio.com/tables-and-views/data-types/formula-fields/

"Other Formula Fields Not Compatible"

 

Hoping for a way around this....

Thanks

Yes, there is a workaround. You can perform this calculation in a calculated field on a report datapage

Link to comment
Share on other sites

  • 0

Hi, just to update this post and add in the previous comment above. Yes, by default we cannot call a formula field inside a formula field however you can copy the whole formula that you have in your other formula field so that it can still perform the calculation that  you would like. For example:

Formula 1:

[@field:field1] + [@field:field2]

Formula 2:

[@field:field2] + [@field:field3]

In your other formula field you can use the following formula;

([@field:field1] + [@field:field2]) / ([@field:field2] + [@field:field3])

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...