Forum Discussion
rdurrell
1 year agoFrequent Visitor
Display Different summarizations by level in a matrix visual
I have a data set that has 5 different columns. Year, month, sector, company, and customer count. See below for an example: Company Year Month Sector Customers ABC Co 2024 1 Personal...
parry2k
Super User
1 year agordurrell create this measure:
My Measure =
IF ( ISINSCOPE ( Table[Month] ) || ISINSCOPE ( Table[Sector] ),
SUM ( Table[Customers] ),
AVERAGE ( Table[Customers] )
)rdurrell
1 year agoFrequent Visitor
I had to change the formula around to take the sum and divide by 12 to get the avg per year, but your code was still very helpful!! THank you