Forum Discussion
Anonymous
6 years agoNot applicable
Return date with highest score
I am trying to figure out the best way to return a date that the highest score occurred on. For example: I have the daya above and I have a Visualization that shows the average score per '...
- 6 years ago
Hi Anonymous ,
You can create two calculated columns:
max_score = CALCULATE( MAX(Sheet7[score]), FILTER(ALLSELECTED(Sheet7),Sheet7[Name]=EARLIER(Sheet7[Name])))max_date = CALCULATE( MAX(Sheet7[date]), FILTER(ALLSELECTED(Sheet7),Sheet7[Name]=EARLIER(Sheet7[Name])))Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
V-lianl-msft
6 years agoCommunity Support
Hi Anonymous ,
You can create two calculated columns:
max_score = CALCULATE(
MAX(Sheet7[score]),
FILTER(ALLSELECTED(Sheet7),Sheet7[Name]=EARLIER(Sheet7[Name])))
max_date = CALCULATE(
MAX(Sheet7[date]),
FILTER(ALLSELECTED(Sheet7),Sheet7[Name]=EARLIER(Sheet7[Name])))
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.