Skip to main content
Solved

Scorecard Status Counting/Suming


allison_elmer
Hi Community! Hoping someone has a creative solution to a problem we've been trying to solve for months.

We have an overall account health rating/scorecard that writes the score (red, yellow, or green) to a salesforce object once a week. I've been able to make a GS report that shows accounts that have been red for over 60 days by looking for the occurrence of a red score for 8+ weeks in a row. However, we really need a trend report to see how many red accounts we have week-to-week. I've tried what feels like every possible combination of SUM and COUNT fields, but I can't figure out how to 1) get the sum of red accounts for a week and 2) store it so we can have trend reporting (I want a trend line in a dashboard, ultimately). Any thoughts? I'm willing to rebuild a lot of this if needed, so any ideas are helpful! 

Best answer by rbegley

Aditya,

My experience with the Scorecard History object is that it only snapshots the number value (even if you are on a color scoring scheme) and so the report you show in your document doesn't visually look like that when you apply those report settings.  When on a RYG system, it will snapshot the midpoint of the range.

Notice 95, 85, 80, 75 correlate directly to the midpoint of the ranges defined below:





For showing counts of one color, this object works well as long as you know the midpoint of the scores you are trying to show (I.E. Count Company ID By Snapshot Date, filter Overall Score = 75), but if you group by Overall Score, you will get number buckets. 

If you are on a number based system, there will be one bucket for every number, instead of just the scoring "buckets" that you have defined.  Am I missing something?
View original
Did you find this topic helpful?

10 replies

rbegley
Forum|alt.badge.img
  • Helper ⭐️⭐️
  • 55 replies
  • June 7, 2018
Allison,

What is the structure of your Salesforce object you are loading the scores too?

With a Salesforce or MDA object that has fields for Account, Date, and Color, you should be able to create a report that counts the number of Accounts in each Color, trending over time.

Below shows two test Accounts having snapshots for 3 weeks:



Here is a report off of that object doing a COUNT of Salesforce ID grouped by Date and Color:



Hopefully this helps your approach.

rbegley
Forum|alt.badge.img
  • Helper ⭐️⭐️
  • 55 replies
  • June 7, 2018
You can add a filter in here for Color = Red to show the count of Red Accounts only week over week (and remove the Color field from By if you are only showing one).

aditya_marla
  • Helper ⭐️⭐️⭐️
  • 482 replies
  • June 8, 2018
Hi Allison,

Are you using Scorecard 2.0? If so..you should be able to create a report on the History object to create the report (WoW trend of customers by health score). This document has more details on how to create the report.
Let me know if this helps  

rbegley
Forum|alt.badge.img
  • Helper ⭐️⭐️
  • 55 replies
  • Answer
  • June 8, 2018
Aditya,

My experience with the Scorecard History object is that it only snapshots the number value (even if you are on a color scoring scheme) and so the report you show in your document doesn't visually look like that when you apply those report settings.  When on a RYG system, it will snapshot the midpoint of the range.

Notice 95, 85, 80, 75 correlate directly to the midpoint of the ranges defined below:





For showing counts of one color, this object works well as long as you know the midpoint of the scores you are trying to show (I.E. Count Company ID By Snapshot Date, filter Overall Score = 75), but if you group by Overall Score, you will get number buckets. 

If you are on a number based system, there will be one bucket for every number, instead of just the scoring "buckets" that you have defined.  Am I missing something?

allison_elmer
  • Author
  • Contributor ⭐️⭐️⭐️
  • 18 replies
  • June 8, 2018
Thanks for so many replies. We're on Scorecards v1 currently, and since it's in my backlog to migrate to V2, I've started that process. Hopefully this helps me a bit.

Rob, what you mention is what I keep running into; I can't sum or bucket the ratings in any meaningful way, nor can I get a snapshot of that total (if I were able to get it, that is) for trend reporting.

rbegley
Forum|alt.badge.img
  • Helper ⭐️⭐️
  • 55 replies
  • June 8, 2018
Is your object similar to mine? If one row in the object is the score for that Account for that time period, you should just be able to COUNT them by Date and filter the Red only.  If you want to send some screenshots or more information about your report / object specifically I could offer more guidance.

allison_elmer
  • Author
  • Contributor ⭐️⭐️⭐️
  • 18 replies
  • June 8, 2018
Rob, with a little tweaking of the fields on my end, COUNT of the ID worked! We've been trying to figure this out for so long, so thanks for a very clear (and easy) solution.

rbegley
Forum|alt.badge.img
  • Helper ⭐️⭐️
  • 55 replies
  • June 8, 2018
You are very welcome, so glad its working now!

aditya_marla
  • Helper ⭐️⭐️⭐️
  • 482 replies
  • June 10, 2018
Hi Rob,

If you add a filter of "Scorecard Name", then it picks up the scheme defn to render the report correctly. Something like this


Does that help?

rbegley
Forum|alt.badge.img
  • Helper ⭐️⭐️
  • 55 replies
  • June 11, 2018
That is incredibly helpful, thank you!

Is there a way to get them to order correctly (i.e Red, Orange, Yellow, Lime, Green) from lowest scores at the bottom to highest scores at the top? 

I have accomplished this in custom objects by leading the values with a number.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings