Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

Sum/Ratio problem

I have location I am trying to set a min and max up for a shipping schedule.  If filtered for a single day, everything looks fine but when include multiple days (like 5 days as shown in table below), start seeing inbound as a ratio of "Actual Total".

For example, Actual Daily Min top line has 19 for daily min, but over a 5 day period it multiplying 19 * 60 (or the Actual Total) to get 1140 where I just want it to be : 19 *5  . In this example I want the total to reflect 19*5 or 95.

 

I have a lookup value for the Actual Daily Min that inputs a value for every row in my table so I imagine I need to create a measure to accomplish my 19 *5 or whatever total based on date range.  That is where I am stuck.

 

Thank you for looking and appreciate any guidance you can provide

 

4 Replies

  • Cmcmahan's avatar
    Cmcmahan
    Resident Rockstar

    What are the current measures you're using?  I'm most interested in how you're calculating [Actual Total] and [Incorrect 5 day Min Inbound]

    • Anonymous's avatar
      Anonymous
      Not applicable

      Actual Total is a distinct count of shipment numbers

       

      Incorrect 5 day Min Inbound is from a Lookup Value from a static table  that will be updated monthly

      • Cmcmahan's avatar
        Cmcmahan
        Resident Rockstar

        So then wouldn't the fix be updating your static table with the correct values?