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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors
Top Kudoed Authors