Forum Discussion

brian0782's avatar
brian0782
Helper II
5 years ago
Solved

Calculate Average based on Multiple Columns

Hi   I have the following dataset in PBI but struggling to find a way to calculate the average across multiple columns.   For example, the below average is 15.96 based on the distinct count of fi...
  • amitchandak's avatar
    5 years ago

    brian0782 , Assume you have a measure [distinctCOUNT of field]

     

    Try a measure like

     

    AverageX(summarize(Table, [Company], [UMR] , [ImportFileName], "_1", [distinctCOUNT of field]),[_1])