Applying sort order in a prompt — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Applying sort order in a prompt

Received Response
101
Views
9
Comments
3601907
3601907 Rank 5 - Community Champion

How can I apply sort order (asc/desc) in a prompt in OBIEE 12c

Answers

  • Pedro F
    Pedro F Rank 6 - Analytics Lead

    For each logical column in the BMM you have the option to specify a sort order column.

    Also, a quick google search will bring quite a few results LMGTFY

  • SonPat99
    SonPat99 Rank 6 - Analytics Lead

    Dear USER 3601907,

    You can write a "SQL RESULTS" for the column on which you want to apply sort as below:

    pastedImage_1.png

  • 3601907
    3601907 Rank 5 - Community Champion

    Thank you Pedro. Sorting achieved by using SQL query with an order by

    clause.

    On Wed, Jun 13, 2018 at 6:33 PM, community-admin <

  • 3601907
    3601907 Rank 5 - Community Champion

    Thank you SonPat99. Sorting achieved by using SQL query with an order by

    clause.

    On Thu, Jun 14, 2018 at 12:06 AM, community-admin <

  • SonPat99
    SonPat99 Rank 6 - Analytics Lead

    Happy to help ...

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner

    @3601907

    Would you mind closing the thread?

    Pedro's answer was the really correct one by the way since writing code instead of configuring things properly is basically just a hack and a workaround. No offense @SonPat99 but a proper setup safes you endless time and problems over the full lifecycle.

  • SonPat99
    SonPat99 Rank 6 - Analytics Lead

    Completely agreed sir...

    However, I have seen cases where the developers have restricted access to RPD and is not possible to access it.

    These workarounds are for such scenarios only...

    Knowing the workarounds can serve quick needs, but should be followed in dire need, else we should always go for the correct process, which is modifying and applying sorting in RPD.

    Thanks for highlighting this fact/ best practice...

  • [Deleted User]
    [Deleted User] Rank 2 - Community Beginner
    SonPat99 wrote:However, I have seen cases where the developers have restricted access to RPD and is not possible to access it.

    Yes. And this perfectly describes a setup where the persons responsible - whether client managers or integrators / consultants - have not understood the first thing about anything.

    Dumb people, dumb organization, dysfunctional project, bad results. Loss-loss situation.

  • SonPat99
    SonPat99 Rank 6 - Analytics Lead

    Dear User,

    If the question is answered and you are satisfied, kindly mark the thread as closed.