Question

Photo of Cody Tindall

0

Populating a metric automatically on a schedule using a data view.

I'm trying to setup some metrics that will produce reports automatically every week using a dataview. The problem is there doesn't seem to be a way to manually run the metric and for some reason no matter how I setup the schedule I can't get the metric to run. Its status in the top right doesn't change from "Never Run".

 

Any help would be greatly appreciated!

Cody

  • Photo of Cody Tindall

    0

    Well unless i'm missing somthing.. I tried to setup some metrics again after updating to 3.2 and they still won't populate automatically. I checked under System -> Jobs and I didn't see a new one added for calculating metrics.

    • Jon Edmiston

      Sorry about having to set it up manually. It's difficult for us to update the database in patch releases. The 4.0 update will automatically add the job for you if you don't manually add it yourself.

    • Cody Tindall

      Not a problem, I'm thrilled to have the feature without waiting for the next version release! I'm getting an exception "Object reference not set to an instance of an object" but it seems to still calculate the metric on the schedule so I'm going to ignore it until I find something its hindering.

  • Photo of Frank Grand

    1

    Hey Cody!

    This issue will be fixed in v4.0 with the addition of a job called CalculateMetrics

    • Frank Grand

      I don't think there is a way to populate them through setting up a schedule within the metric. There is probably a SQL query that could be written

    • Cody Tindall

      That's unfortunate, I was under the impression that the metric system was working. I'm glad to know my install isn't broken though! I'm anxiously awaiting the CalculateMetrics job, thanks for your help!