cancel
Showing results for
Did you mean:
Regular Visitor

## Percentile Column based on range of total scores

Hi -

I'm looking to create a percentile column that will populate based on totals in a scoring column. Right now, I'm manually calculating the percentile by using the percentile analytic feature and then create a conditional formatted column based on the 20th, 30th and 50th percentiles that is calculated. The issue is this is now becoming unsustainable as more data is uploaded into the data source, regularly. Ideally, I'd like to identify a way to have this percentile column calculate automatically based on the score column and then maybe create a conditional column that could dynamically update any percentile that fall under the 20th, 30th and 50th percentile. Any feedback is greatly appreciated.

Thanks,

Donovan

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resident Rockstar

## Re: Percentile Column based on range of total scores

Hi @Dharris2211,

Ideally, I'd like to identify a way to have this percentile column calculate automatically based on the score column and then maybe create a conditional column that could dynamically update any percentile that fall under the 20th, 30th and 50th percentile. Any feedback is greatly appreciated.

You may create measures to get what you want. You could calculate the Percentage by Divide and show with %.

`Percentile = DIVIDE(data 1,Total score)`

The Condition Column you could refer to the formula below. You could change the 'Reve' to your table name.

```Confition Column =
IF (
AND ('Reve'[Percentile] <= 0.2, 'Reve'[Percentile] > 0 ),
"<20%",
IF (
AND ( 'Reve'[Percentile] > 0.2, 'Reve'[Percentile] <= 0.3 ),
"<30%",
IF ( AND ( 'Reve'[Percentile]> 0.3, 'Reve'[Percentile] <= 0.5 ), "<50%", BLANK () )
)
)```

And the output is below.

In addition, you could have a reference of this test pbix file.

For further, you could have a good look at Calculated column and Measure.

Best regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Resident Rockstar

## Re: Percentile Column based on range of total scores

Hi @Dharris2211,

Ideally, I'd like to identify a way to have this percentile column calculate automatically based on the score column and then maybe create a conditional column that could dynamically update any percentile that fall under the 20th, 30th and 50th percentile. Any feedback is greatly appreciated.

You may create measures to get what you want. You could calculate the Percentage by Divide and show with %.

`Percentile = DIVIDE(data 1,Total score)`

The Condition Column you could refer to the formula below. You could change the 'Reve' to your table name.

```Confition Column =
IF (
AND ('Reve'[Percentile] <= 0.2, 'Reve'[Percentile] > 0 ),
"<20%",
IF (
AND ( 'Reve'[Percentile] > 0.2, 'Reve'[Percentile] <= 0.3 ),
"<30%",
IF ( AND ( 'Reve'[Percentile]> 0.3, 'Reve'[Percentile] <= 0.5 ), "<50%", BLANK () )
)
)```

And the output is below.

In addition, you could have a reference of this test pbix file.

For further, you could have a good look at Calculated column and Measure.

Best regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.