Forum Discussion

majo23's avatar
majo23
Frequent Visitor
3 years ago
Solved

Average rate calculation

  Hi everyone, I want to get the average of the percentage that I calculate in a measure I made 3 measures,   Count HBRA = CALCULATE ( COUNTA ( 'table1'[Span HBRA] ) ) Count HBRA inspection...
  • danextian's avatar
    3 years ago

    Hi majo23 ,

     

    You can use SUMMARIZE to create a virtual summary table and AVERAGEX to get the average. Assuming that granularity is based on Feeder column, try the measure below.

    =
    AVERAGEX ( SUMMARIZE ( datatable, datatable[Feeder], "HBRA", [HBRA] ), HBRA )
    

    Change the table and column names accordingly.