Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I recently created a measure that creates a baseline for athletes' Day 1 testing results for a specific metric. We repeat this test on a daily basis, and I am attempting to see each day's % deviation from the baseline value. ie, ((Today - Baseline) / Baseline) expressed as a percentage. The measure I created works, and the Dax is below:
| NAME | DATE | RSI | JUMP HEIGHT |
Athlete 1 | 09/21/2022 | 0.5 | 30 |
| Athlete 2 | 09/21/2022 | 0.68 | 39.3 |
| Athlete 1 | 09/22/2022 | 0.85 | 32 |
| Athlete 2 | 09/22/2022 | 0.7 | 32.4 |
| Athlete 1 | 09/23/2022 | 0.48 | 29 |
| Athlete 2 | 09/23/2022 | 0.89 | 41 |
I am struggling to determine how to create this DAX formula for this calculated column, as each column has numerous individuals in it, which makes filtering more difficult. Rather than create another measure for this on a daily basis, I need a Calculated Column so I can graph individuals' changes on a daily basis over time. Any assistance would be greaty appreciated!
Solved! Go to Solution.
Hi @rgadbois ,
Please try following DAX:
RSI_BASELINE = CALCULATE(AVERAGE('CMJ'[RSI]),FILTER('CMJ','CMJ'[Date] = EARLIER('CMJ'[Date])))
Percentage = DIVIDE([RSI] - [RSI_BASELINE], [RSI_BASELINE])
The result you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @rgadbois ,
Please try following DAX:
RSI_BASELINE = CALCULATE(AVERAGE('CMJ'[RSI]),FILTER('CMJ','CMJ'[Date] = EARLIER('CMJ'[Date])))
Percentage = DIVIDE([RSI] - [RSI_BASELINE], [RSI_BASELINE])
The result you want:
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@rgadbois So like this?
_RSI_BASELINE =
VAR __Athlete = [NAME]
RETURN
MAXX(FILTER(CMJ, [NAME] = __Athlete && [Date]=DATE(2022,9,21)),[RSI])
That does not work as there are numerous names within the [Name] column. There are 72 total athletes, each with one row added to the table on a daily basis.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.