Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Percentile calculation in OBIEE

Closed
111
Views
5
Comments
3422993
3422993 Rank 1 - Community Starter

Hi,

I am trying to calculate percentile in OBIEE, used percentile and ntile function..but not getting the desired result.

Expected ans In Red color. How to achieve this in OBIEE..????

     

DateCount of StudentCount of Student scored more than 025 % Percentile of Student Marks who scored more than 050 % Percentile75 % Percentile
01/01/2015201874794
01/01/2016201862494
01/01/2017202041190
DateStudent Marks
01/01/20150
01/01/20150
01/01/201510
01/01/201590
01/01/201511
01/01/20158
01/01/2015100
01/01/20153
01/01/20156
01/01/20152
01/01/20155
01/01/201596
01/01/201594
01/01/201547
01/01/201587
01/01/20157
01/01/201578
01/01/201556
01/01/201597
01/01/201599
01/01/201695
01/01/20160
01/01/20160
01/01/201610
01/01/201690
01/01/201611
01/01/20168
01/01/2016100
01/01/20163
01/01/20166
01/01/20162
01/01/20165
01/01/201696
01/01/201694
01/01/201624
01/01/201687
01/01/20166
01/01/201678
01/01/201656
01/01/201697
01/01/201795
01/01/20177
01/01/20176
01/01/201710
01/01/201790
01/01/201711
01/01/20178
01/01/2017100
01/01/20173
01/01/20176
01/01/20172
01/01/20175
01/01/201796
01/01/201794
01/01/201747
01/01/201787
01/01/20177
01/01/201778
01/01/201756
01/01/201797

Could you pls assist in getting solution.

Thanks,

Answers

  • Thomas Dodds
    Thomas Dodds Rank 8 - Analytics Strategist

    NTILE won't do what you are looking for, but PERCENTILE should ...  what answer are you getting with PERCENTILE?  It may be that it is counting the zeroes

  • SANTOSH VIDHATE-Oracle
    SANTOSH VIDHATE-Oracle Rank 2 - Community Beginner

    I need to calculate Percentile of 25th, 50th and 75th. Please let me know any calculation available?

  • Brendan T
    Brendan T Rank 6 - Analytics Lead

    yes use the PERCENTILE functions can be used

    or use the pl/sql package DBMS_STATS_FUNC.SUMMARY()

  • SANTOSH VIDHATE-Oracle
    SANTOSH VIDHATE-Oracle Rank 2 - Community Beginner

    I Need to calculate Percentile in OAC tool. But the function provided in OAC not giving correct result.

  • Gianni Ceresa
    edited May 8, 2025 11:27AM

    @SANTOSH VIDHATE-Oracle ,

    edit: you already have a question posted for this, stay in it, but provide more details, like the things I mention below.

    This is a 8 years old post.

    You better post a new question, providing enough information to give you answers not based just on guesses. Things like the part of the product where you are trying to calculate your percentile: in a semantic model? In an analysis? In a Publisher report? In DV workbook? In a DV dataset (based on what source)?

    And because you say "function provided in OAC not giving correct result", what did you try, what was the result, what make you say it isn't correct, what are you expecting instead?

    Keeping it simple: help others helping you, and a new question is the ideal place for it, better than this abandoned thread that has been migrated across 3 different forum in the past 8 years.

    I'm closing this one…

    Thanks :)

This discussion has been closed.