Focal Point
[SOLVED] Passing multi-select parameter on Page Designer page to drill down Charts

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3637055096

July 16, 2018, 08:37 AM
mk_ia_usr
[SOLVED] Passing multi-select parameter on Page Designer page to drill down Charts
We are currently on 8.2.02M and working on a new page within Page Designer. This page has four multi-select filters that are linked to four charts within the page. Each of the charts have drilldowns that pass these four filters down to the next level. When the filters are _FOC_NULL ("All Values") or a single value, everything works as expected. If the user selects multiple values for a filter, the drilldown becomes broken when trying to pass these multiple values (ex. LOCATION='STRING1' OR 'STRING2' OR 'STRING3'). Has anyone else ran into this issue or know a simple solution on how to pass multi-select parameters through drilldowns? Any help would be greatly appreciated.

This message has been edited. Last edited by: mk_ia_usr,
July 16, 2018, 08:45 AM
BabakNYC
Can you show us the WHERE tests in one of the charts? It sounds like you have a single select where test. A single select where would look something like this:
  
WHERE VENDOR EQ &VENDOR.(<0000000008,0000000008>, <0000000020,0000000020> |FORMAT=A12V).VENDOR:.QUOTEDSTRING;


And a multi select would look like this:
  
WHERE VENDOR EQ &VENDOR.(OR(<0000000008,0000000008>, <0000000020,0000000020> |FORMAT=A12V)).VENDOR:.;



WebFOCUS 8206, Unix, Windows
July 16, 2018, 08:49 AM
MartinY
You may have to add ".QUOTEDSTRING" after you parameter's name in the drill down call such as this

     FOCEXEC=IBFS:/WFC/Repository/Folder/fexName.fex ( \
       PARAM1=&PARAM1.QUOTEDSTRING \
       PARAM2=&PARAM2.QUOTEDSTRING ),
     TARGET='_blank',



WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
July 16, 2018, 11:46 AM
mk_ia_usr
quote:
Originally posted by MartinY:
You may have to add ".QUOTEDSTRING" after you parameter's name in the drill down call such as this

     FOCEXEC=IBFS:/WFC/Repository/Folder/fexName.fex ( \
       PARAM1=&PARAM1.QUOTEDSTRING \
       PARAM2=&PARAM2.QUOTEDSTRING ),
     TARGET='_blank',


Martin, this worked perfectly. Once I updated the drilldowns to use .QUOTEDSTRING, the multi-select parameters from the Page Designer page, were passed correctly all the way through the drill down. Thank you!!

Babak - For the record, I did have a multi-select WHERE statement within the chart. Thank you for the response.
WHERE ITEM EQ &ITEM_.(OR(FIND ITEM IN TABLE |FORMAT=A100V)).Item:.;
July 16, 2018, 01:41 PM
MartinY
Our pleasure to have been able to help.

Please edit your first post, then into the subject add [SOLVED] at the beginning.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007