Forum Discussion
Percentile varies between DAX and Reference Line?
Hi th3h0bb5,
Have you solved your problem?
If you have solved, could you please share the solution or always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, could you share a dummy pbix file which can reproduce the issue, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)
Best Regards,
Cherry
Hello Cherry
Unfortunately no this is not a solution. I have tested the Percentile.Inc and Percentile.Exc DAX functions against a set of data and neither of the values returned match the Percentile (or Median) analytical line values. It appears the analytical line values are being calculated in some way because the values returned are not in the background data set.
I'm more than happy to share screen shots of my charts as well as my DAX function return values.
- Anonymous6 years agoNot applicable
I am seeing the same behavior in a scatter chart. I created measures using both PERCENTILE.EXC and PERCENTILE.INC for P10, P50 and P90. I also applied the same percentage lines to the scatter chart, which sometimes match and sometimes do not. The "Filter and slicers affecting this visual" are the same in both the scatter chart and cards containing the measure. This does not make sense and certainly is an issue if trying to show the P-values to users while also plotting a line on the chart that doesn't align.