Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Calculate average based on filter selected

$
0
0

Hi All, 

 

My original dataset has 14 rows and 2 column Company and Gender. 

 

Column_1 = CALCULATE(COUNTROWS(Sheet1),ALLEXCEPT(Sheet1,Sheet1[Company]))

Column_2 = CALCULATE(COUNTROWS(Sheet1),ALLEXCEPT(Sheet1,Sheet1[Gender],Sheet1[Company]))

Column_3 = DIVIDE(Sheet1[Column_2],Sheet1[Column_1])

 

I want to calculate Average Column, which is average of of Male and Female from column 3.

For Male it should be (.50+.29+.67)/3 =48.41 % 

 

How can i evaluate Average Column. Please guide. Thanks a Lot

 

cmp.png


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>