As balala demonstrated the line meter does not correctly use the MinValue setting of a measure as the zero value. The measure does return a correct percentage value which can be seen in a string meter bound to the measure, but a line meter bound to that same measure uses 0 as the baseline no matter what the MinValue of the measure is set to be.
An additional measure that calculates a percentage value can be used to provide a zero based percentage value for use in line meters (as a work around) until this is addressed. You can use either "Formula" in [MeasureCalcPercent]; if you use the percentage section variable, you need to use "DynamicVariables=1". That is not needed if you use the second "Formula" option.
Code: Select all
; Demonstrates the issue with line meters not recognizing a measures MminValue as the "zero value".
; Using an additional measure to return 0~100 for use in line meters is a workaround
; This measure returns the actual values and the correct percentual value for string meters. But that percentual value is not being detected correctly in line meters
; Returns a percentage (0~100) for any value in a range of numbers
Here is a demo that shows the difference in line meter displays when using a non-zero MinValue measure (top meter) and using a measure that calculates a percent (0~100) value, of the non-zero MinValue measure, for use in line meters (bottom meter).
JSMorley is on to something going on with Scale, because even the high values are being displayed in the top line meter, just not based on a 0~100 scale like the bottom meter shows. I am sure one of the code-jockeys will find the answer. The Bar meter seems to use the values correctly, but not the line meter.
Has anyone tested a histogram meter to see if it has the same issues?
The histogram meter does not work if the bound measure does not return a percentual (0~100) value. So even though a measure may have Min/Max values, it appears the line meter and
histogram meters are not using the percentual values of "non-zero MinValue" measures. The use of an additional measure to return a percentage value of measures is the simplest solution for now.
You do not have the required permissions to view the files attached to this post.