Forum Discussion
Distinct average by two categories
- Anonymous6 years ago
I tried the 2nd suggestion, it worked. Thanks!
To add a 3rd group_by category, just add it to the summarize table?
averageX(summarize(Table, Table[ID], Table[DATE],Table[Type],"_1", max(Table[Data1])),[_1])
Anonymous ,
Try like
Averagex(union(distinct(Table2[Value]),distinct(Table2[Value])),[Value])
Can you share sample data and sample output in table format?
Sorry. See edited post above...I tried to clarify why I need distinct average...
- amitchandak6 years ago
Super User
Anonymous , Try as a new measure
averageX(values(Table[Type]), max(Table[Data1]))
or
averageX(summarize(Table,Table[DATE],Table[Type],"_1", max(Table[Data1])),[_1])- Anonymous6 years agoNot applicable
I tried the 2nd suggestion, it worked. Thanks!
To add a 3rd group_by category, just add it to the summarize table?
averageX(summarize(Table, Table[ID], Table[DATE],Table[Type],"_1", max(Table[Data1])),[_1])