Forum Discussion
majo23
3 years agoFrequent Visitor
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...
- 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.
danextian
3 years agoSuper User
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.