Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
i want to sort a table using different expression which is based on some other column.
Now i want to limit the Dimension. But it is not possible in Line Chart.
So i tried to put if(rank(expression)<11, Dimension)
But the problem is expression is always calculated over dimension. So the above thing returning Null value when used as Dimension. If i used the same in Expression as if(rank(expression)<11, Dimension) over the Dimension it is returning the correct top values.
Anything can be done to get the Top dimension using Expression without placing it over a dimension?
I explained my problem as simple as i can.
Any ideas ???
Would you mind posting your solution? I have a simular problem that i can't seem to make work.
Here is my expression
=aggr(if(rank(Total sum(CaseCnt)) < 4,HospitalShortName,'Other'),HospitalShortName)
I am using a line chart so i want the top 4 Hospital names and the remainder in an "Others" Catagory.