Operation in XPath

Is it possible to get the results calculated in xpath from Datasource from Database or do I have to calculate the imported results separately in Microflow?I understand that "+ - * div" operation is possible in XPath, but I would like to know if the operation is possible within Xpath for the results I searched.
1 answers

Hello gunwoo,


In general we use XPath when we want to make complex constraints that we cannot perform with Database retrieval, but if you need to make a calculation I think the best way to achieve the result you want, in the most optimized way is do it with a Microflow and source from it. 


In case you have some time I suggest to have a look at this learning path as it explains different data sources and their pros and cons: https://academy.mendix.com/link/paths/3/Win-at-Working-with-Data