on 10-27-2008 2:46 PM
Hi,
How to display prompt value in my webi report.
For one prompt value I can user Userresponse function.
In one of my report, I have a prompt for Date, which also should be displayed in the report under one field. I am using the below formula: =UserResponse("Enter Date:")
But my new requirement is User wants a Date Range for a particual trasaction date. I created a report level prompt like
Transaction Date Between "Enter Tran Date(Start):" and "Enter Tran Date(End):"
I need to display the start date and end date user selected under one field Date in my webi report.
how should I do that.
Please share your thoughts.
Thanks,
Ven Men
Hi Ven,
You can display Start Date and End Date in one cell using the below formula
=UserResponse("Enter Tran Date(Start):") + " " + UserResponse("Enter Tran Date(End):")
Thanks,
Sandeep B. Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ven,
You have created a report level prompt like
Transaction Date Between "Enter Tran Date(Start):" and "Enter Tran Date(End):"
1.Drag two blank cell on report.
2.click on one blank cell and on formula editor type following formula.
=UserResponse("Enter Tran Date(Start):" )
This will show you start date in the cell.
3.Similarly in another cell type the following formula
=UserResponse("Enter Tran Date(End):" )
This will show you End Date in respective cell.
Do revert in case of any queries.
Thanks,
Sandeep B. Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ven
i got ur idea
UserResponse will only return the text that the user has wirtten for your prompts
if you need to have your requirment done as you want, why not you add the date object with the query it self, and then add it to the report
like
mydate between "prompt the user for a date start" and "prompt the user for a date end"
add this "mydate" in the result objects, and in turn add it to the report itself.
good luck
Amr
amr,
Can you please elaborate how should I do that.
You mean to say I need to include date object in the query and the drag that date object in the report field.
I did that. I included date object along with other objects and also dragged that object in the report. I am not getting anything displayed in that field.
Thanks,
Ven Men
you are right, that i wat i was meaning,
to get the date object with the date itself in the result objects.
and then add this field to the report.
if you've data returned from the query then you should get a date returned, coz you are restricting the values for this date
try to make a new report tab, and drag the date field to there,, and check if it returns data or not,
good luck
Amr
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.