Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Applying a filtered value to scale and pointer expressions in a radial guage

$
0
0

I am creating a series of gauges with which I'm trying to show how well groups are projecting the number of resource hours they consume each month. The scale of the gauge goes from 0 to a rounded up value of theprojected hours, and the gauge pointer indicates the value of theactual hours used. The range is used to indicate actual is within 10% of the projected hours (green), between 10 to 30% (yellow), or more than 30% off (red). Some examples of gauges that were built individually:

enter image description here

The number of hours that each group projects and uses can vary greatly, as seen from the gauges. I have been able to apply a filter that makes it easy to set the gauge needle to point to the total actual hours for each group by simply changing the group name in the filter of each gauge, but I can't get the sums of projected hours to filter for each group in the scale and range configurations the same way. As a result, if I create a single gauge with a filter, copy that gauge, and then just change the group name in the filter for each new gauge, I can get the corresponding actual hours (i.e., where the needle points), but the scale defaults to the sum of projected hours for ALL of the groups:

enter image description here

So in this example, while the three groups have used an ACTUAL 50, 15, and 310 hours, the total PROJECTED hours for ALL groups is between 600 and 700. In the second example, just above, this is not too bad for the third gauge, but for the first two, trying to create the multi-colored ranges shown in the first example just doesn't work, because of the ratio between the actual and the projected. What I need to be able to do is to modify the scales and the ranges to reflect the projected hours for each group, using the same filter that I have successfully applied to the gauge pointer using a Data Group filter.

The problem arises from the fact that specifying the group name in the Data Group filter only applies to the sum in the Gauge Data setting. I need to create over 50 of these gauges, and if it is necessary for me to edit the expressions for the scale and ranges of each of these directly, this will become time prohibitive. Does anyone know of some way that I can write these expressions and be able to change the group name in only one place, in the same way that I've been able to do with the pointer?

Thanks.



Viewing all articles
Browse latest Browse all 10045

Trending Articles