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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.