What is the best approach for selecting different columns of the same table based on parameter
BI Publisher Enterprise version 12C.
We need to select different columns from the same table based on what is entered in a parameter. A list of values includes the three parameter choices.
Currently using three reports/data models/queries each generating a separate report however our business unit requested a single report using a "drop down" selection parameter to produce the desired report. Based on the parm selection the appropriate dataset/SQL would be executed.
What would be the best approach, PL/SQL, a "stored procedure", case statements ??
Thank you,
Tony Spina
NYC Dept. of Finance