Operation in std Table with proprieties Value

Hello everyone,
I would like to use dataview to create a table (standard) in Obsidian that contains the data (=this.values) I have entered in the properties and then performs operations in the last column, as you can see below:

Properties


volumes_2024: 10
volumes_2025: 30
volumes_2026: 40
price_2024: 10
price_2025: 10
price_2026: 10

Desc. 2024 2025
Q.ty =this.volumes_2024 =this.volumes_2025
Price (x 1) =this.price_2024 =this.price_2025
Total =this.volumes_2024 + =this.price_2024 =this.volumes_2025 + =this.price_2025

But unfortunately, the result is one error message like this :

data view (inline field ‘this.volumes_2024 + =this.price_2024’): Error:
– PARSING FAILED --------------------------------------------------

1 | this.volumes_2024 + =this.price_2024
| ^

Expected one of the following:

‘(’, ‘null’, boolean, date, duration, file link, list (‘[1, 2, 3]’), negated field, number, object (‘{ a: 1, b: 2 }’), string, variable

The picture will be more clear :

Thankyou for your support!

The correct method is as follows:

=this.values + this.values

The second variable doesn’t need the “=” symbol.

This works also with complex formulas :

=((this.price_2024 * this.volumes_2024) + (this.price_2026*this.volumes_2025))/2

Table with formula :

Final results :

I hope this information can be useful to someone!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.