Skip to main content

I have to compare the individual expense of the employee to the average of all the employees of that level. I have 4 levels. How to write a calculated field for that?

1 answer
  1. May 20, 2019, 2:54 AM

    Hello shubhrika,

     

    It's difficult to provide advice without knowing the data format.

    Please attach a sample workbook (Packaged workbooks and flows: when, why, how ) or sample data.

     

    Here's example using superstore sample data, comparing average profit by sub-category to average profit by category.

    Hello shubhrika, It's difficult to provide advice without knowing the data format.Please attach a sample workbook (Packaged workbooks and flows: when, why, how ) or sample data.

    The calculation for comparison is,

    AVG([Profit]) / AVG({ EXCLUDE [Sub-Category]: AVG([Profit])})

     

    Regards

    Lei

0/9000