Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not 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. 

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors