When building Visios, is it possible to do some simple mathematic operations on a shape / parameter? For ex., can I divide the shape value by 1000 to change the units from one value (GHz) to another (MHz)? Or, can I subtract two parameter values to show the difference between the two?
Thanks!
Hi Jamie,
Basic mathematic operations are available such as:
Multiplying and dividing is not yet possible but can easily be added. Also note that these work based on the string literal value that is passed to them which means that units need to be trimmed before using them. Internally, these strings get parsed into the correct object (best effort).
Hi Jamie,
It is possible to use the shape data ParametersSummary to perform some calculations involving multiple parameters (min, max, sum, and avg)
Regarding the option to scale the units, a possible option could be using dynamic units in a connector.
You can take advantage of the following placeholders to do some Math in a Visio as well:
As far as I know, there are no straightforward ways to divide or multiply values in a Visual Overview. There's however a new feature available with dynamic units, Add the following Shape Data:
Options -> DynamicUnits=[true/false]
You can configure the following Shape Data on your Visio to add or subtract values:
Sum placeholder: [Sum:X,Y,Z] where X,Y,Z are either positive or negative numbers
Placeholders for variables in shape data values | DataMiner Docs
Thanks everyone for the quick and thorough answers!