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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
i820017
Resolver II
Resolver II

Slicer to Parameter Issue

Hey Everybody,

I am converting a Power BI report to a paginated Report.

Anyway, here is a screen shot of the 'Date Complete' slicer on the Power BI report. It is in descending order of dates.

i820017_0-1628174781635.png

 

Here is a screen shot of the same slicer or parameter in the paginated report. 

i820017_1-1628174883602.png

 

As you can see, the paginated report has 'Completed Date' in ascending order of dates. Does anyone know how to put the 'Completed Date' parameter in descending order of dates (like what is shown in the 'Date Complete' slicer in the Power BI report)?

 

Thanks

Dan

 

1 ACCEPTED SOLUTION

I dont see completed date in your screenshot. It is ok. I saw you are using DAX, then try using ORDER BY [Date column] DESC.

check the link for syntax:

https://docs.microsoft.com/en-us/dax/summarizecolumns-function-dax

 

Paginated reports are SSRS reports tuned for Power BI servers. so, it is old school. You need write explicitly. 

 

 

View solution in original post

3 REPLIES 3
sevenhills
Super User
Super User

If it is a sql data source, you can use

         order by <col> desc

 

Note: Paginated reports / ssrs reports display the way they get the data outputted from the source. We need to explicitly specify the order. 

It is not a sql data source as seen below.

i820017_0-1628258369946.png

 

The Power BI report explicitly shows the order of the slicer to be in descending order of dates. However, when this Power BI report is converted to a paginated report, then the paginated report automatically puts the parameter in ascending order of dates.

I dont see completed date in your screenshot. It is ok. I saw you are using DAX, then try using ORDER BY [Date column] DESC.

check the link for syntax:

https://docs.microsoft.com/en-us/dax/summarizecolumns-function-dax

 

Paginated reports are SSRS reports tuned for Power BI servers. so, it is old school. You need write explicitly. 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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