Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
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)
Proud to be a Super User!
Thank you very much, I`m going to try this formula today and then I'll tell you how it was...it looks good
Any progress, feel free to share with us.
Excuse me, but I've been indisposed these days. Finally, I could not apply the formula or maybe I did not do it right. I did the calculations before importing the data to Power BI. Thank you very much, I will continue trying to do it and it helps me a lot the clues that have given me. It is already a challenge for me.
Could you please share some data and the exact output exxpected.
Cheers
CheenuSing
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
100 | |
78 | |
76 | |
52 |
User | Count |
---|---|
144 | |
109 | |
108 | |
88 | |
61 |