Forum Discussion

jcastr02's avatar
jcastr02
Icon for Post Prodigy rankPost Prodigy
2 years ago

time frame recommendation

I have a list of stores with respective interval (time) and Avg Volume of calls.  I am trying to acheive the columns on the right where we want to see how many of those intervals go over threshold (below example is 10).  Then see by grouping different hours of operations where the highest call volume is.  Example for this store, during the 3pm-10pm interval, there are 14 Potential 30 min. intervals and out of those, 10 intervals were over the threshold of 10 calls.   10/14= 71.4% so we would recommend that timeframe to support (since it's the max).  Any ideas on how I could achieve the below?

 

Store #IntervalAvg Volume/IntervalHours# of Potential Intervals# Intervals Over Threshold% Intervals Over ThresholdRecommendation
808:000 8am - 10pm281760.7% 
808:301 8am - 9pm261557.7% 
809:002 8am - 3pm14750.0% 
809:3010 9am - 10pm261765.4% 
8010:002 9am - 1pm8562.5% 
8010:303 1pm - 5pm8562.5% 
8011:0012 3pm - 10pm141071.4%x
8011:3018 4pm - 7pm6233.3% 
8012:0020 9am - 5pm161062.5% 
8012:3016 11am - 7pm161168.8% 
8013:005 6pm - 9pm6350.0% 
8013:304 9am - 7pm201260.0% 
8014:0018      
8014:3019      
8015:0020      
8015:3022      
8016:009      
8016:3011      
8017:0011      
8017:3010      
8018:002      
8018:308      
8019:009      
8019:3010      
8020:0022      
8020:3015      
8021:0016      
8021:3017      
8022:0018      
8022:302      

2 Replies

  • jcastr02 , check if these columns and measures can help

     

    new columns
    Total Intervals = COUNTROWS(FILTER('Table', 'Table'[Store #] = EARLIER('Table'[Store #])))

     

    I ntervals Over Threshold =
    IF('Table'[Avg Volume/Interval] > 10, 1, 0)


    new measures
    % Intervals Over Threshold =
    DIVIDE(SUM('Table'[Intervals Over Threshold]), SUM('Table'[Total Intervals]), 0)


    Recommendation =
    IF(MAX('Table'[% Intervals Over Threshold]) = [ % Intervals Over Threshold], "x", BLANK())

    • jcastr02's avatar
      jcastr02
      Icon for Post Prodigy rankPost Prodigy

      Hi amitchandak Thank you - How would I get the grouping , for example above the 3-10pm range would be the highest.         (the last 4 columns on here are independent of the first 4 columns  (essentially two tables)