Hi Iris,
There are two procedures that produce Kruskal-Wallis tests, NPTESTS, and the older NPAR TESTS. The K-W test would be obtained in NPTESTS in the menus via Analyze>Nonparametric Tests>Independent Samples, while NPAR TESTS would be obtained via Analyze>Nonparametric Tests>Legacy Dialogs>K Independent Samples. Can you clarify which procedure was used?
In order for all values to be at or below the median, I would think the dependent variable would have to be a constant. However, when I try using a constant dependent in both procedures, I don't get an error, just a test statistic value of 0 and a significance/p value of 1. Can you share more information about the data involved?
------------------------------
David Nichols
------------------------------