Open mohit-rana85 opened 1 month ago
.vf
is for filters in the view, e.g. quick filters. Set parameters via .parameter
.
Hi @jorwoods, Thanks for the hint. I tried using the .parameter method, but it didn't change the result.
Hi @jorwoods, I tested the parameter method by providing some arbitrary value for the filter that should have resulted in empty PDF values, as it does with other filters on parameters present in the extract. However, the result remained exactly the same. Somehow, the filter for the parameter present in the live connection is completely ignored.
Describe the bug Our workbooks contain data sources in extract mode for performance optimization. However, some data sources that are required for annotating the data need to remain in live connection mode to enhance the user experience. When we generate a pdf or csv from a view using the TSC package, all parameters in the extract are considered by the code, but the filters specific to selecting data in the live connection are ignored.
Versions Details of your environment, including:
To Reproduce Steps to reproduce the behavior. Please include a code snippet where possible. We have a workbook with Impala connection (Extract) and oracle connection (Live connection).
Python code:
Results What are the results or error messages received? The PDF generated with the above code produces a report that ignores the "selected" parameter. The expected behavior is that the PDF should be generated considering all specified parameters, including those associated with the live connection.
NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.