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
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
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
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors