04 Feb 2022
08:37 AM
- last edited on
07 Feb 2022
12:21 AM
by
MaciejNeumann
Hi,
I am trying to add a Data Explorer tile in dashboard but results are not well sorted.
here is the metric query code :
builtin:synthetic.browser.availability.location.total:splitBy("dt.entity.synthetic_test"):auto:sort(value(auto,ascending),dimension("dt.entity.synthetic_test",ascending)):limit(100):partition("Status",value("ok",ge(100)),value("nok",lt(100))):filter(ne("Status","ok"))
Solved! Go to Solution.
Have you tried moving your sort to the end of your code?
builtin:synthetic.browser.availability.location.total:splitBy("dt.entity.synthetic_test"):auto:limit(100):partition("Status",value("ok",ge(100)),value("nok",lt(100))):filter(ne("Status","ok")):sort(value(auto,ascending),dimension("dt.entity.synthetic_test",ascending))
Thanks it's working if you move the sort to the end of the code, but it is not specified in the documentation. I think it's a bug and should be fixed.