Hello to all, i have a question that is if its possible to calculate, Mode in a expression using input variables?
If exists some system formula simplified in outsystems ,
thanks in advance.
Is this what you want?
There is a built-in function called Mod that you can use in expressions.
https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Logic/Built-in_Functions/Math?_gl=1*1rcv8cu*_ga*MTg4ODIwMjQ2OS4xNjQ5OTIxOTkw*_ga_ZD4DTMHWR2*MTY1MjYzNDA3OS41LjEuMTY1MjYzOTc1Mi40OQ..
Let me know if it helps.
EDIT:
If you want to find the value that appears the most in a data set of values, I think you need to create your own action to calculate the mode.
Regards,
Márcio
Thanks Márcio, i think i need the median ...instead of the mod...
excuse the delay,
Nuno Pereira
Hi Nuno,
The median is something quite different from a modulus, so make sure you understand what you are asked! Also, the median is calculated over a data set, so a List in OutSystems, and how to calculate the median can be easily found by googling.