DIFOT. I'm wanting to make a simple % of Sales Ord...
# suiteanalytics
n
DIFOT. I'm wanting to make a simple % of Sales Orders shipped with 1 Fulfilment / Total Sales Orders. For the numerator I am thinking a Formula (text), COUNT, CASE WHEN COUNT({number})=COUNT({fulfillingtransaction.number}) THEN 'Yes' ELSE null END. this gives the ubiquitous "unexpected error"
k
I don't think that would work... but I can't figure out a better way to handle it
that said - have you tried throwing a nullif around your division so you aren't trying to divide by 0/null?
You might have to throw some logic on a saved search field that is pushed to a stored value field via workflow - and then just report off that stored value field.
n
yes, I was thinking the two step stored value field. Ended up with a numerator sum field of CASE WHEN COUNT(DISTINCT({fulfillingtransaction.number})) = 1 THEN 1 ELSE 0 END and for today just gong to read off two values from the bottom of the report.
d
Do you just want the data, or do you need to present it in a single search? If it's the former, I'd create two searches and just use summary criteria to search for 1 or more than 1 fulfilment
n
Was hoping to have it in a single Summary search. Actually you have given me an idea. I can use the two searches and calculate it through a KPI Dashboard.