The work around:
In the prompt's properties add to the Static choices and the Default sections the value 'All'. Next, in the query, there is the original data item that will be presented (leave that alone), add a copy of that data item and call it "Filter_XXX". In the data item's expression definition add a concatenation function and prefix it with 'All'. For example, CONCAT('All', Column1).
Next, edit the existing filter with the following:
SUBSTRING( [Filter_Column1], 1, 3 ) IN (?p_Prompt?)
OR
SUBSTRING( [Filter_Column1], 4 ) IN (?p_Prompt?)
Not exactly the most efficient querying, but so far this is working.
------------------------------
Shawn Peronto
------------------------------
Original Message:
Sent: Thu August 13, 2020 11:15 AM
From: Shawn Peronto
Subject: Optional Filters Act as Required When Data Sets Are Used in Data Module
I have created a new Data Module that combines a Data Set with a Framework Manager Package. The Data Set is joined to a table from the Framework Manager Package with an inner join. The report is then sourced from the new Data Module. It has both Required and Optional filters/prompts. Prompts are selected from a prompt page. However, when executing the report the filters that are set to Optional are behaving as if they are set to Required. So, when executing the report the prompt page appears and the Finish button does not become active until all prompts are filled. Whereas, the expected behavior is that only prompts who's filters are set to Required should need to be filled to set the Finish button to active. Has anyone encountered this issue or advise on how to proceed?
Thanks
------------------------------
Shawn Peronto
------------------------------
#CognosAnalyticswithWatson