cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dharris2211
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
v-piga-msft Resident Rockstar
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.

 

Capt8ure.PNG

 

If you need additional help please share some data sample and expected output.You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

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.

View solution in original post

1 REPLY 1
Highlighted
v-piga-msft Resident Rockstar
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.

 

Capt8ure.PNG

 

If you need additional help please share some data sample and expected output.You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

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.

View solution in original post

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

Top Solution Authors
Top Kudoed Authors