Hi Marcelo,
I'm not able to see your screen shot but it sounds like you can do something like this. Add a static value to your prompt (p_prompt). Set use value to ALL, and Display Value to "All". Use a query (or additional static values) to populate the other options for the prompt.
On the query you want to filter, create the filter calc like this:
if (?p_prompt? = 'ALL)
then (1=1)
else [column to filter] = ?p_Prompt?
Another option would be to do what Robert suggested, set all prompts to optional and change the display text of the prompt values to be "All". You would need to create a header or label somewhere to let users know what the prompt is for.
Hope this helps,
Todd
------------------------------
Todd Schuman
------------------------------
Original Message:
Sent: Wed April 28, 2021 03:02 PM
From: Eliseo Marcelo Zabala Aleman
Subject: Reports - "All rows" value in prompt
Hi,
how can I add filter "All" in a prompt ? In Prompt Page I have "static choice" so I'm able to set "All" and to modify query to add this value, but I
can not find that option besides "Prompt Page".
I see an empty value in the prompt ? When I select it I get all the rows...May I change this value for "all"?
------------------------------
Eliseo Marcelo Zabala Aleman
------------------------------
#CognosAnalyticswithWatson