Forum Discussion
Anonymous
6 years agoNot applicable
Any way to manually call sort function on a column inside custom visual
So let's say I have 100,000 values and I display a window of 1000 at a time. I want to be able to call a sort function onclick inside the visual. This sort function will check all the data inside the 100,000 values and return the top 1000 (sorted).
So far I have been using a ghetto sort version where I apply a TopN self Filter to retrieve the top 1000 values, then I sort all the columns myself with the inbuilt JS sort. Unfortunately, this method works on PowerBi Online and Desktop, but doesn't work on PowerBi Report Server..
Is there any function or API available like 'fetchMoreData' that can apply a sort of the entire dataset. I want to call from a button inside the visual. Any help would be appreciated. Thanks in advance.
No Replies