Forum Discussion
Green_Cloud
3 years agoHelper I
Average Conversion Rate while ignoring 0 value
Hi, I am trying to find the average planned to working hour conversation rate. But, When there is 0.00% converstion rate in any of the two months, I just need to show the conversion rate which is onl...
- Anonymous3 years ago
Hi Green_Cloud ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
Measure = var _a = AVERAGEX(FILTER('Sample',[Working Hour]<>0&&[Month] in {"February","March"}),DIVIDE([Working Hour],[Planned Hour])) return IF(ISBLANK(_a),0,_a)(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
3 years agoNot applicable
Hi Green_Cloud ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create a measure.
Measure =
var _a = AVERAGEX(FILTER('Sample',[Working Hour]<>0&&[Month] in {"February","March"}),DIVIDE([Working Hour],[Planned Hour]))
return IF(ISBLANK(_a),0,_a)
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Green_Cloud3 years agoHelper I
Thank You!