Measure = VAR __tmpTable = SUMMARIZE(brands,brands[Country],"__Brands",DISTINCTCOUNT(brands[ Brand])) RETURN MAXX(__tmpTable,[__Brands])