cancel
Showing results for 
Search instead for 
Did you mean: 

Sort data in Embedded Analytics Report

10-22-2021 7:47 PM
1730 views 3 comments
0 Likes
SAP Managed Tags
Subscribe

Hi All,

I have created an Embedded Analytics report and need to sort the final output records based on certain fields. When i execute my consumption view in RSRT Tcode it is observed that all dimension fields are coming in Ascending order. I need certain fields to be sorted and not all the fields. So I implemented AMDP Class with Order by statement and output is coming correctly when executed in Eclipse. But when the view is executed in RSRT and also in Fiori screen, all the fields are coming in Ascending order instead of the Order by fields.

Can anyone suggest any annotation or configuration in RSRT or Fiori to sort final records in Embedded Analytics Report.

issue.png

Thanks in Advance

Regards,

Jibin Thomas

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

guna91
Explorer
0 Likes

Can you try using @AnalyticsDetails.query.sortDirection with #ASC, #DESC annotation on respective fields.

former_member773632
Discoverer
0 Likes

HI guna91,

If i use this annotation then we have to implement BW query on top of it to make the sort work. I need directly in RSRT tcode.