- Mon Jul 24, 2017 1:53 pm
#794051
Hi All,
Ive been struggling today with what Im assuming should be a very simple excercise. Basically I have two variables called "cost" and "price" that are fed by previous process steps.
I have a 3rd variable called "margin" that I would like to be automatically calulcated as a percentage of the first two. I assumed at least to get it as a number would be as simple as selecting the text field linked with margin and editing the formula field to something like:
Secondly (and now Im certain much more complicated) I would like to export a CSV file of this particular instance only. By that I mean a CSV with exactly these three values only and not an extract of the complete DB. Is this at all possible? I only saw documentation linking to complete reports.
Thanks in advanced,
Ive been struggling today with what Im assuming should be a very simple excercise. Basically I have two variables called "cost" and "price" that are fed by previous process steps.
I have a 3rd variable called "margin" that I would like to be automatically calulcated as a percentage of the first two. I assumed at least to get it as a number would be as simple as selecting the text field linked with margin and editing the formula field to something like:
Price / Cost - 100%This however doesnt seem to work... Does anyone have any suggestions? Currently Im doing it as JS but it seems like not the best solution.
or
@@Price / @@Cost
Secondly (and now Im certain much more complicated) I would like to export a CSV file of this particular instance only. By that I mean a CSV with exactly these three values only and not an extract of the complete DB. Is this at all possible? I only saw documentation linking to complete reports.
Thanks in advanced,