Forum Discussion

homboy27's avatar
homboy27
Icon for Helper III rankHelper III
1 year ago
Solved

Conditional Formula and Formatting based on a value in colum

I have the below column. I would like to highlight any client that has a senior manager and manager level. So for example I would like to highlight client A and C since both of them have a senior man...
  • homboy27's avatar
    homboy27
    1 year ago

     

    Thank you, please see below. If I click on East, total sales for East is $5k (Left pic) and there are 2 employees so the average for east would be 2.5k, not 1k. Do you know how to update for that?

     

     

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi homboy27 

     

    AvgSalesPerEmployeeRegion = 
    AVERAGEX(
        SUMMARIZE(
            'Table',
            'Table'[Region],
            'Table'[Employee Name],
            "AvgSales", SUM('Table'[Sales])
        ),
        [AvgSales]
    )

     

     

    Regards,

    Nono Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.