Forum Discussion
Percentile varies between DAX and Reference Line?
Hmm. Interesting. I wonder if perhaps it's something in my data that is causing the issue. Perhaps one handles NULLS differently than the other?
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
- williamdlupo7 years agoFrequent Visitor
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.
- th3h0bb58 years ago
Resolver II
I've attached a sample file replicating the problem, based on DIAD data.