Jump to content
  • 0

Pass "Total&Aggregation" field as a parameter


Jastania

Question

3 answers to this question

Recommended Posts

  • 0

Hello @Jastania,

As far as I know, it is not possible to pass a value of an "Aggregation" field as a parameter.

If you need to save the value in the table, you may check the following forum post: How to save an aggregate value in a table

Please feel free to elaborate on your workflow and to update this thread if you have further questions.

Regards

Link to comment
Share on other sites

  • 0

I ran into the same problem recently.  I was able to do a work-around by inserting a virtual field in my datapage and setting it as a calculated field.  Then I inserted a SELECT statement. 

Here is my example:   SELECT SUM((tblSaleInfo_Price)*(tblSaleInfo_ShareOwnership1)) FROM _v_BuyerID_SaleInfo WHERE tblCustomerInfo_BuyerID = target.[@field:BuyerID] AND tblSaleInfo_Client = '[@authfield:Client]'

In this case I am doing a calculation of two fields within a view where I select a for a certain Buyer ID and it has to meet the Client authentication field.

Hope this helps!

 

 

Link to comment
Share on other sites

  • 0

You can also use Triggered actions to get the value of the fields and populate them to another field, from there, the value should be passed freely. But of course, this is still depending on the workflow of your DataPage and designs. 

Triggers: https://howto.caspio.com/tables-and-views/triggered-actions/

App Tasks: https://howto.caspio.com/tasks/

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...