Forum Discussion
Anonymous
3 years agoNot applicable
Measure not working, when calculated column worked. Using Average.
I have a table with the columns "Value", "Analyte", "Color", "AnalyteType" and "DateEnter". I created a calculated column that averages by all those groups and takes only the last 12 months of data. ...
- 3 years ago
Anonymous , Try like
calculate(average(Main[Final]),filter(allselected(Main),Main[Analyte]=Max(Main[Analyte]) && Main[Color]=Max (Main[Color]) && Main[AnalyteType]="Lab"))
amitchandak
3 years agoSuper User
Anonymous , Try like
calculate(average(Main[Final]),filter(allselected(Main),Main[Analyte]=Max(Main[Analyte]) && Main[Color]=Max (Main[Color]) && Main[AnalyteType]="Lab"))
Anonymous
3 years agoNot applicable
That worked great. Why use the "Max" instead of "Earlier"?