Comparing an individual’s performance to group average in DAX

I need to be able to compare an individual’s measure (e.g. Number of assigned cases, Average age of case) against the larger group average (e.g., for a management team, program, all investigators).

Because my base table has multiple records for each investigator, and sometimes multiple records for a given case (which can have multiple allegations), I wanted to create a measure that gets the average assignment rate but only counts each case once, so I started my measure by creating a virtual table to get just the relevant records for assignment rate as follows:

    CALCULATETABLE(
        SUMMARIZECOLUMNS(
            'baseCombinedData'[YearMonthAssigned]
            , 'baseCombinedData'[Investigator]
            , 'baseCombinedData'[Manager]
            , "NumAssigned", DISTINCTCOUNT('baseCombinedData'[victimCase])         
) 
        , 'baseCombinedData'[CASorAssigned] = "Assigned"
        , 'baseCombinedData'[Assigned_prev6] = “Y”
 , USERELATIONSHIP('baseCombinedData'[DateAssigned], tblCalendar[Date])

    )

This creates a table where I get the number of assigned cases in the previous 6 months for each investigator each month. I’ve tried various approaches but I can’t figure out how to embed this in a measure to get a single average assigned-per-month measure that can then be dropped into a visual by month, or investigator. I assumed I would use an AVERAGEX() but I get an error that it needs base columns, not columns generated in a virtual table, or that the SUMMARIZE() function requires Argument 3 (in a different attempt, even when all arguments were included and outside of the measure the table is produced fine on its own). I tried multiple iterations found on the site and elsewhere like this to embed the table and produce the measure:

AvgAssigned = 
VAR tblAssigned = 
    CALCULATETABLE(
        SUMMARIZECOLUMNS(
            'baseCombinedData'[YearMonthAssigned]
            , 'baseCombinedData'[Investigator]
            , 'baseCombinedData'[Manager]
            , "NumAssigned", DISTINCTCOUNT('baseCombinedData'[victimCase])         
) 
        , 'baseCombinedData'[CASorAssigned] = "Assigned"
        , 'baseCombinedData'[Assigned_prev6] = “Y”
 , USERELATIONSHIP('baseCombinedData'[DateAssigned], tblCalendar[Date])

    )

RETURN
AVERAGEX(tblAssigned, [NumAssigned])

I feel like I’m missing something pretty simple but I’m at my rope’s end and I’m running out of time. It would be great if someone has a good approach to resolve this. In the attached graphic example, the AverageAssignRate would vary month-to-month, and would be responsive to slicers which would filter all investigators under a particular manager, or all investigators involved in a particular case type (regardless of manager).

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật