cancel
Showing results for
Did you mean:

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Frequent Visitor

## Calculating Athlete max Velocity percentages

Hi All,

I was wondering if anyone could help me?

In Table 1 is where I add gps data from the athlete during there session each day (Date, Duration, distance, Max speed achieved)

In table 2 I have there Highest achieved scores for the same metrics.

I have two tables connected via athlete name.

I want to put a new column in table 1 which is the percentage of Max speed achieved during that session compared to their maximum value recorded in table 2 for each athlete.

Many thanks,

SportStudent

1 ACCEPTED SOLUTION
Community Support

Hello @SportStudent ,

Like this?

I have two tables.

1. Despivot columns in 'Sheet8'.

2. Create a relationship between [Name].

3. Create a measure.

``````__Max =
MAXX(
FILTER( ALL(Sheet8), Sheet8[Name] = MAX(Sheet8[Name]) ),
[Value]
) ``````

4. Create a calculated column in 'Sheet7'.

``````Column =
[Max Speed]/[__Max]``````

If not, show us the sample data and the expected output value.

Best regards
Lionel Chen

If this post helps,then consider Accepting it as the solution to help other members find it faster.

3 REPLIES 3
Community Support

Hello @SportStudent ,

Like this?

I have two tables.

1. Despivot columns in 'Sheet8'.

2. Create a relationship between [Name].

3. Create a measure.

``````__Max =
MAXX(
FILTER( ALL(Sheet8), Sheet8[Name] = MAX(Sheet8[Name]) ),
[Value]
) ``````

4. Create a calculated column in 'Sheet7'.

``````Column =
[Max Speed]/[__Max]``````

If not, show us the sample data and the expected output value.

Best regards
Lionel Chen

If this post helps,then consider Accepting it as the solution to help other members find it faster.

Frequent Visitor

Hi Lionel Chen,

That has worked beautifully!

Thank you ever so much for your help on the matter!

Kindest,

SportStudent

Super User

Please consider to create a pbix file that contains sample data, but still reflects the data model (https://docs.microsoft.com/en-us/learn/modules/design-model-power-bi/).
You can use this to enter data directly in Power BI Desktop: https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-enter-data-directly-into-desktop. Upload the pbix file to onedrive or dropbox and share the link. If you are using Excel to create the sample data, share the xlsx as well.
Create columns that contain the expected results, use the sample data to explain how the result is derived from the sample data.

Regards,

Tom

Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany