I’d love to get this to work, but haven’t figured out how to properly do it.
I know I can send an empty value and retrieve all records, then apply a filter - but that doesn’t work too well if I’m referencing a complex CTE query. How do I then specify a field to pass as the parameter? I tried using the scalar parameter value but no success there.
Has anyone else tried to do this? Or more importantly, figured out how it’s done?
Also, I can do this in app studio if I’m presenting data on a dashboard. This is to drive data feeing into a BAQ report.
My BAQ has parameters for Product Group, Customer and Part Number.
In the RDD they are linked to Criteria Set’s Filters as opposed to Fiscal Period which is a Prompt.
That’s an interesting approach which may work if I set it up as a subreport on the SSRS form. I’m not sure how else I may be able to accomplish it.
My top level query/report is being run with no parameters defined. Essentially, I need the job number(s) identified by that report to be passed as the parameter to my CTE query/subreport.
The new Kinetic BAQ builder allows you to reference other queries but doesn’t seem to accommodate the use of parameters. Perhaps I’ll punt on that approach and try my hand at making it work within SSRS.
My problem is that I don’t need a parameter for the top level query, but my referenced CTE query requries one. I’m trying to pass a field from the top query to the referenced CTE query as its parameter.
Isn’t that a join? Like you make the top level query then you make a CTE and join the top level query to whatever table you’re trying to use to relate that CTE table to right?
The way it executes - first the referenced query are executed, and put their result into temp-table (or similar).
Then the current query is executed using the data from that temporary storage.
So it is not possible to use the field value from the query that is not executed yet.