I am new to this subject, i need to create a model with an if-else statement (some calculation will only be done if the prerequisites in other nodes are fulfilled).
would you kindly give an example for this formula usage in ValQ?
(i understand this should be in JS expression, however i found some error from my side while working on this)
Let’s consider a scenario where tax rate is assigned a value based on the Net Sales. This can be modelled using an if-else statement as shown in the image.
Take a look at our sample model ‘P&L for Small and Medium-Size Business’ to understand the example better.
In case you face any issues, feel free to contact us.