I have a dashboard that was built by a Dundas consultant that I am now looking to modify in a few important ways. One of those ways is to add weighting to some measures that we are reporting on, so that their relative importance can be conveyed.
Right now there is a datalabel on the dashboard, the text of which comes from a formula that looks like this:
($dataLabelAuditCompliancePercent.Audit Compliance.Compliance%$ + $dataLabelAvgDaysToClosePercentCS.Customer Satisfaction.% Days To Close$)/2
As you can see, it’s taking the value of measures in two other visualisations and doing some trivial maths on them (basically, to derive the percentage score for this part of the dashboard we’re taking the simple average of the scores for the constituent visualisations of this part of the dashboard. So far, so simple.
What we want to do now is modify this so that each constituent score can be weighted individually, and instead of taking the average of all the scores, we simply add up the weighted scores. The formula I want to use looks like this:
(($dataLabelAuditCompliancePercent.Audit Compliance.Compliance%$ * $dataLabelAuditCompliancePercent.Audit Compliance.AuditComplianceWeighting$) + ($dataLabelAvgDaysToClosePercentCS.Customer Satisfaction.% Days To Close$ * $dataLabelAvgDaysToClosePercentCS.Customer Satisfaction.PercentDaysToCloseWeighting$))
All I have done is to add another measure to the two visualisations, which is the weighting for the visualisation.
The problem is that getting the value of these measures does not work. I can see their values in the visualisation if I select Data Preview, and those are correct, but when used in the formula they are always 0. What’s worse, if I try to manually recreate the existing formula, the value of ($dataLabelAuditCompliancePercent.Audit Compliance.Compliance%$ is also 0. I’ve literally copied and pasted it, and it works fine in one datalabel, but not in another.
This is the first time I’ve attempted to use values from another datalabel in a formula, so there’s a good chance I’ve missed a step somewhere, but it’s not at all clear to me what that could be.
Can anyone see where I’m going wrong?
Adam