[CASE-OPENED] Generate Essbase parent level information
The following is query used in a drop down. Here i have hardcoded the values for the drop down in the where clause. I want these values to be dynamic.Here the 'ACCOUNT_ARCHIVES' is from ESSBASE and is in hierarchial data. In the dynamic where clause i want to list only the parent level level information,not the child. what is the query to be used
DEFINE FILE ACCOUNT_ARCHIVES OPT1/A20 = ''; FLDS/A150 = OPT1 || ACCOUNT_ARCHIVES.ARCHIVES.PRODUCT_MEMBER || OPT2 || ACCOUNT_ARCHIVES.ARCHIVES.PRODUCT_MEMBER || OPT3; END TABLE FILE ACCOUNT_ARCHIVES SUM FLDS BY FLDS NOPRINT WHERE ACCOUNT_ARCHIVES.ARCHIVES.PRODUCT_MEMBER EQ 'Elim.PF.HVAC' OR 'HVAC.Aux HVAC' OR 'HVAC.Evap Core' OR 'HVAC.Front HVAC' OR 'HVAC.Heater Core' OR 'HVAC.Misc' OR 'HVAC.Systems'; ON TABLE HOLD AS AR1PL FORMAT ALPHA ENDThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.69 Windows Excel, HTML, PDF,AHTML
May 05, 2010, 10:57 AM
Kerry
Hi all,
FYI, Adithya has a case opened regarding this issue, and some sample code was already provided for testing.
Adithya, when you have an update on testing, can you please post it here? This way the solution can be kept for future reference. Thank you in advance for sharing with all.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.