We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #3587093
Calcualted fields in tables
Closed

Comments

  • Konstantinos Theodoropoulos started the conversation

    Hello, i wanted to ask if its possible after creating a table, to create a calculated field between 2 or three columns of the table, and for the user in the front end to input a new value in a column and the calculated field to be updated instantly. for example : 10 "units", "bought price" 5 USD. "Current value" 6 USD. Calculated field: "pnl": 10 X (6-5)=11 USD. If user can update the Current value "pnl" field, in front end, in order for the "pnl" field to show the updated correct value.

  •  1,895
    Miloš replied

    Hello,

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    First, the most important point to note, our Formulas are not the same as Excel Formulas.

    I will show you some general use-case scenarios and examples that can be made, I recommend first going through these, then you will get a good idea of what is possible with our Plugin's Calculations and Formulas.


    Regarding calculation functions, here is our Documentation section with examples, how you can use this.

    You can also create a formula/calculated column.

    In short, in our Formulas, you will be able to use basic math operations and brackets.


    You can use columns (values for each cell will be inserted), or number values and you can add some 'fixed values' as part of the Formula, if needed.

    Only numeric columns are allowed (non-numeric will be parsed as 0). 

    Basic math operations and brackets are supported. Example: col1*((col2+2)-col3*sin(col4-3)).

    6018649382.png

    Please note the limitations we pointed out about our Formulas on the Documentation Page.

    1. One formula column cannot be used in another. This limitation can be avoided by using nested calculations.
    2. In tables with server-side processing formulas, columns cannot be used for grouping, filtering, and sorting. Basically, formulas are calculated only for the rows that are immediately visible; Therefore, it’s not possible to “know” the values for currently invisible rows. Please note that this also applies to the “Manual” tables, as they also use server-side processing by default. Also, of course, it is not possible to edit the cells generated by formulas in the editable tables.


    Here is another example of how you can present percentages, currency and other columns by using our “Cell content prefix” and a “Cell content suffix” options.


    And i just wanted to point out that you can try wpDataTables before purchasing

     on our sandbox Demo sites ( you can find links for the main plugin Demo,  

    as well as add-on Demos, in my signature),

    and there is a 15-day money-back guarantee period, 

    so if you purchase the plugin, you can safely fully test it out. Our Support will be available if you have any questions or struggle with any step along the way, and if it doesn't fit your needs, you can request and receive a refund in that period. ( same goes for all plugins and add-ons)


    Let me know if you have any additional questions.smile.png


    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables