Jump to content

Passing filters as parameters from one report to another while using hyperlinks.


Guest

Recommended Posts

Hi folks,

I am exploring a way to pass filters as a parameters from one dxp file to other dxp

I have two dxp files (reports say R1 and R2), In a report R1, I build a list table with following columns

EmpNo, EmpName, DeptNO, DeptName, ReportURL (ReportURL is a calculated column with hyperlink text which takes to Report R2 upon a click.)

The Report R2 also holds the information of EmpNo and DeptNo.

My goal is whenever user clicks the hyperlink from Report R1, corresponding EmpNo and DeptNO values has to be passed as filter parameter to Report R2 should open a report by applying filters dynamically.

As of now, I am able to open the report but notable to pass the filers as parameters to target report (R2)

Please assist me with step by step process to achieve the above case in Tibco Spotfire. Kindly provide the great level of details as possible as I am new to this tool.

Let me know if i missed any information in the post.

Looking forward for a response.

Thank you

Link to comment
Share on other sites

  • 3 months later...

A way to do this is to have a calculated column that constructs the configuration block and then show it in a table. If not the complete solution, it may inspire you to think of other ways to get this done.

Here is an example of a calculated column expression that constructs a configuration block:

"http://myspotfireserver.co.uk:8090/spotfire/wp/OpenAnalysisfile=/Demo/Analysis%20Files/Baseball/Baseball&configurationBlock=SetFilter(tableName=Baseball,columnName=Team,values=" & RXReplace([Team]," ","%20","g") & ");"Andrew Berridge (TIBCO Data Science)

View my book on Spotfire!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...