Forum Discussion

Seira088's avatar
Seira088
Frequent Visitor
6 years ago

Percentile calculation issue

I have this table below for comparison, Excel value are the expected one however Power BI result returns some incorrect values (italicized values). 

Formula Used is 

95th Percentile = PERCENTILE.INC('Consolidated Data'[Value], 0.95)
 
Anyone knows how to solve this?

Table:
MTree PercentileExcel
95%
Power BI
95th Percentile
Data 1Aug-1912264.068212.71
Data 1Sep-1918670.489947.2
Data 1Oct-1912300.587252.64
Data 2Oct-1949.849.8
Data 3Mar-1816698.4216698.415
Data 3Apr-182737827378
Data 3May-1836996.5436996.54
Data 3Jun-183379133791
Data 3Jul-1830843.9430843.94
Data 3Aug-1835029.9535029.95
Data 3Sep-1832458.4432458.44
Data 3Oct-1813437.3713437.365
Data 3Nov-1811427.1611427.155
Data 3Dec-188884.688884.68
Data 3Jan-198556.7358556.735
Data 3Feb-198330.78330.7
Data 3Mar-198849.868849.86
Data 3Apr-198888.598888.59
Data 3May-199914.839914.83
Data 3Jun-1912544.4612544.46
Data 3Jul-1919229.3210870.32
Data 3Aug-1922867.8413159.62
Data 3Sep-1929982.2815308.7
Data 3Oct-1931579.4615946.26

5 Replies

  • Hi Seira088 ,

    You can check if there is a 0 in the field 'Consolidated Data'[Value] in the Query Editor, and if so, replace it with null. Or have you made some other conversions?

    If it doesn't meet your requirement, kindly share your sample data if you don't have any Confidential Information.

     

    Best Regards,

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

    • Seira088's avatar
      Seira088
      Frequent Visitor

      Hi v-joesh-msft ,

      I actually filtered out 0 values. so no 0 value is present in the 'Consolidated Data'[Value] column.

      • v-joesh-msft's avatar
        v-joesh-msft
        Solution Sage

        Hi Seira088 ,

        Could you share your sample data for us to have a test if you don't have any Confidential Information?

         

        Best Regards,

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