Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Aim:
I need to generate a calculated column that show the SUM of the last 6 results by person.
Context:
Ordinarily do this as a measure, however, due to needing to put the result ( % Diff of Most Recent to Avg of Last 6) in a box and whisker plot it has to be as a calculated column.
Intended Outcome:
Name | Most Recent Result | SUM of Last 6 | AVG of Last 6 | % Diff of Most Recent to Avg of Last 6 |
Bob | 45.91 | 259.15 | 43.02 | 6.5% |
Data Structure:
Box & Whisker CMJ =
SUMMARIZE(
'CMJ Results',
'CMJ Results'[PlayerName],
Players[FT_PlayerId],
"Most Recent CMJ", CALCULATE(MAX('CMJ Results'[Max Height]),LASTDATE('CMJ Results'[SessionDate])),
"Most Recent Session",MAX('CMJ Results'[SessionDate])
)
Many thanks in advance!
Hi @Anonymous ,
What is your table "CMJ Results" looks like?
Sorry for that the information you have provided is not making the problem clear to me. Can you please share more details to help us clarify your scenario?
Please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Refer to:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
41 | |
21 | |
21 | |
14 | |
14 |
User | Count |
---|---|
42 | |
39 | |
33 | |
19 | |
18 |