In my application there is some thing called level of analysis (LOA_DESC) . with the values country and purchasing country,
When country is selected following appears in the report (attached with the file name country level of analysis) As can be seen from the image for the country only ar:argentina br:Brazil should apprear.
How to filter those other values when country level of analysis is clicked
In other words for the country level of analysis only country code and country_desc should appear in the report.
Next for other level of analysis purchasing country only country code and cust_id should be appearing . Attached image will explain clearly .
For purchasing country there should not be any description to be appearing in the report.
The script written in the back end is
select distinct cust_id as LOA , tp_ctry_code||':'|| cust_id as LOA_DESC
from dgdmrv07.VGDMR_FPM_ADQ where dmd_mgmt_ownr_code='P401'
select DISTINCT ctry_code as LOA , ctry_code||':'||ctry_desc as LOA_DESC
Help is required at the earliest. This needs to be completed by today itself.
maybe I am overlooking the actual difficulty - but to me it seems that just conditionalizing the dimension(s) and formula(s) of your diagram (dependent on variables) would do the job?
as Aunez states, the data_tables have to be linked.
(Hit Ctrl+T to view the table_structure and see whether that is the case)
If you have that, then you can make the dimension(s) and formula(s) of your diagramm dependent on those selections using the GETFIELDSELECTIONS() function, for example.
Can you upload an image of the data model ?
Because I do not see any link between country level of analysis and the country code. Not in the LOAD statements you have written.
If there is a link, the QV association will do the limit for you between the listbox (containing the country level of analysis) and the country codes in the graph/table.
Please find the attached data mapping (data structure) . The item master is the main table in the report. The loa_desc is the table with fields loa and loa_desc .