Forum Discussion
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
Table:
| MTree | Percentile | Excel 95% | Power BI 95th Percentile |
| Data 1 | Aug-19 | 12264.06 | 8212.71 |
| Data 1 | Sep-19 | 18670.48 | 9947.2 |
| Data 1 | Oct-19 | 12300.58 | 7252.64 |
| Data 2 | Oct-19 | 49.8 | 49.8 |
| Data 3 | Mar-18 | 16698.42 | 16698.415 |
| Data 3 | Apr-18 | 27378 | 27378 |
| Data 3 | May-18 | 36996.54 | 36996.54 |
| Data 3 | Jun-18 | 33791 | 33791 |
| Data 3 | Jul-18 | 30843.94 | 30843.94 |
| Data 3 | Aug-18 | 35029.95 | 35029.95 |
| Data 3 | Sep-18 | 32458.44 | 32458.44 |
| Data 3 | Oct-18 | 13437.37 | 13437.365 |
| Data 3 | Nov-18 | 11427.16 | 11427.155 |
| Data 3 | Dec-18 | 8884.68 | 8884.68 |
| Data 3 | Jan-19 | 8556.735 | 8556.735 |
| Data 3 | Feb-19 | 8330.7 | 8330.7 |
| Data 3 | Mar-19 | 8849.86 | 8849.86 |
| Data 3 | Apr-19 | 8888.59 | 8888.59 |
| Data 3 | May-19 | 9914.83 | 9914.83 |
| Data 3 | Jun-19 | 12544.46 | 12544.46 |
| Data 3 | Jul-19 | 19229.32 | 10870.32 |
| Data 3 | Aug-19 | 22867.84 | 13159.62 |
| Data 3 | Sep-19 | 29982.28 | 15308.7 |
| Data 3 | Oct-19 | 31579.46 | 15946.26 |
5 Replies
- v-joesh-msftSolution Sage
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.- Seira088Frequent 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-msftSolution 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.