I have 10 attributes in AF. I need to create an analysis that will show the attribute with the lowest value.
How do I do this?
There is an excellent example here: Selecting the largest number in a group of tags
On the link you provided the solution for finding the maximum value. I need to define an attribute with a minimum value.
I don't think there is a straight forward way of doing this with Asset Analytics. One possibility would be to use a Rollup to fetch the minimum value, and then use an expression analysis event triggered on the Rollup that compares the value to each AF Attribute and for the AF Attribute that the value matches it outputs the name of the Attribute.
Agree, just pick the first tag that matches the minimum value. Of course a comparison of each of the attributes with the other 9 is also an option, but that would be require n*n-1 comparisons...
Can you give me some examples?
I'm new to this topic. I can't figure out how to use Rollup for Analytics
Well, for the minimum value replace maximum rollup by minimum rollup.
And speaking about minimum, of above list, the Minimum is AFAttribute1 or AFAttribute4, AFAttribute3 is the maximum.
Yes you are right Roger. I made a mistake. I need minimum.
Retrieving data ...