Forum Discussion
Any idea to calculate this data ?
I need to calculate the next data: the maximun value from a calculate measure / average form the reste values except the maximun. That is I have two columns: one of them is the city and the other is the sales conversion rate (average format) and I need to calculate the daily average dispersion of this way:
(maximun value of sales conversion rate/(average of the rest values-except the masimun value-)-1).
Any idea? Thank you very much and sorry for my english
5 Replies
- vanessafvg
Community Champion
have no idea if this could work but give it a bash
conversion =
var maxconversion = max(table[conversionrate])
var otheraverage = calculate (average(table[conversionrate]), filter(table[conversionrate]] < maxconversion ))
return divide(maxconversion , otheraverage)- amaradaRegular Visitor
Thank you very much, I`m going to try this formula today and then I'll tell you how it was...it looks good
- v-chuncz-msft
Community Support
- AnonymousNot applicable
Could you please share some data and the exact output exxpected.
Cheers
CheenuSing