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
Emilyyying
Frequent Visitor

Sorting Parameter in Paginated Reports

Hi, Can anyone tell me how to sorting a paramter in paginated report, display the data order by desc?

 

Emilyyying_1-1688022420943.png

 

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

You would edit the dataset for the query that is populating the parameter to add the appropriate order by clause. If this dataset was autogenerated you might need to right click on the datasets folder and choose the "Show Hidden Datasets" option.

View solution in original post

3 REPLIES 3
d_gosbell
Super User
Super User

You would edit the dataset for the query that is populating the parameter to add the appropriate order by clause. If this dataset was autogenerated you might need to right click on the datasets folder and choose the "Show Hidden Datasets" option.

Thank you, I have found the Hidden Datasets, and there is no function as "Sorting" for ParameterValue, right?

I need to add the text "order by DESC" into the Query text {EVALUATE SELECTCOLUMNS () order by 'table'[item] DESC}


@Emilyyying wrote:

Thank you, I have found the Hidden Datasets, and there is no function as "Sorting" for ParameterValue, right?

I need to add the text "order by DESC" into the Query text {EVALUATE SELECTCOLUMNS () order by 'table'[item] DESC}


That is correct. To sort a dataset you need to add the ORDER BY clause to the query. There are no sort by options on datasets, these are only available on report groups when you are outputting data to the page. But it's still better to do the sort in the source query if you can.

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.