Is it possible to use a prompt value in rpd?
Hi, experts!
I have to solve the following task. A user choose a date (from calendar prompt) and according to the date (say - "+fix date+") see a report. In the report one dimension (say - "city") and quantity of registered requests in it. Each row in source table has registration date, close date and planed deadline and the filtration should use all this date like:
registration date < fix date
close date >= fix date
planed deadline >= fix date
Now, what I want to do. I'd like to create logical column in repository (say - "Vested remainder") where put that clauses. Is it possible in any way?
As I read - no (according to pic. [http://shivabizint.files.wordpress.com/2008/10/obiee-variables-overview.jpg]). So, the only way is to use presentation variable in answers and filter values in formula mode. Right? No other way?
=======
Daniel
Christi@n, it almost works! )) (really happy)
But it shows me an error when I set a date (when the field of the prompt is empty - it works):
If I set today date (in calendar prompt):
A general error has occurred. [nQSError: 22024] A comparison is being carried out between non-compatible types. (HY000)
SQL: SET VARIABLE testDate='21.4.2009';SELECT Dimtab_name_.NAME saw_0, Facttab_name_."Vested remainder" saw_1 FROM subjectarea_ ORDER BY saw_0
.. and if I set another date (yesterday):
A general error has occurred. [nQSError: 46046] Datetime value 20.4.2009 does not match the specified format. (HY000)
SQL: SET VARIABLE testDate='20.4.2009';SELECT Dimtab_name_.NAME saw_0, Facttab_name_."Vested remainder" saw_1 FROM subjectarea_ ORDER BY saw_0
what I did step by step :
1) create a Session Variable in rpd testDate+ and default initializer CURRENT_DATE
2) create logical column +"Vested remainder"+ based on existing column as
*FILTER(_subject_area_._Fact_tab_name_.ROW_ID USING subjectarea_._Fact_tab_name_.RECORD_DATE <= CAST ( VALUEOF(NQ_SESSION."testDate") AS DATE ))*
== I just filtered by one date (not three), to test the approach... and agregation rule for ROW_ID is set as CountDistinct, so here we have quantity by the hierarchies.
== I set CAST AS DATE because without it result was error... but with this CAST I have the same =___=
3) create a prompt taking a date column record_date and set Control as Calendar and Set Variable -> Request Variable -> testDate+
4) make a report with Dimtab_name_.NAME+ and Facttab_name_."Vested remainder"+, then set the prompt and the report on a dashboard. And.. It seems to be workable:
!http://lh3.ggpht.com/_7E85bAvCFxg/Se3V73xOEYI/AAAAAAAAAGE/u0Cfaa2GsI0/2009-04-21_181323.png!
But... alas!
!http://lh6.ggpht.com/_7E85bAvCFxg/Se3V7znxTfI/AAAAAAAAAGM/ti96_vswIA8/2009-04-21_181846.png!
Hem!.. Is it a problem with date format? Well, if it so, than should be a way to set format for Request Variable... Unfortunately, the attempt to write +testDate[yyyy mm dd]+ was unsuccessful.
P.S. Christi@n, as the way (according to the topic) was correct I marked the thread as "answered"
========
Daniel
Similar Messages
-
IS IT POSSIBLE TO USE DASHBOARD PROMPT VALUE TO FILTER THE RPT LVL PROMPTS
Hi All,
In one of my dashboard i had one dashboard level prompt say "Year".Below one report is embeded and it has one report level prompt say 'Plan Component".
Issue here is report is filtering with proper Year value but In report level prompts it includes all other year values say like 2008,2009,2010.Even though i select 2010 in the dashboard promt.
So well am approaching this issue with presentation variables.still am not able to get desired result.
Please share your ideas and thoughts if you face this issue some time earlier.
Thanks in Advanvce,
Regards,
GovardhanaHi All,
In one of my dashboard i had one dashboard level prompt say "Year".Below one report is embeded and it has one report level prompt say 'Plan Component".
Issue here is report is filtering with proper Year value but In report level prompts it includes all other year values say like 2008,2009,2010.Even though i select 2010 in the dashboard promt.
So well am approaching this issue with presentation variables.still am not able to get desired result.
Please share your ideas and thoughts if you face this issue some time earlier.
Thanks in Advanvce,
Regards,
Govardhana -
How to use the prompted value in the filter expression
Hi
Is it possible to use the prompted value in the filter expression?
My requirement is that user will be prompted for a date field and I need to filter the records such that the records are displayed for the last 5 weeks from the date entered by the user.
If somehow I know how to use the prompted value in the filter expression then this requirement is easy to be done. If this is possible, please guide me?
If there are other ways to acheive the desired results then please suggest.
Thanks
-JazEdit: example added
SQL> create table tb_test
2 ( id number(5)
3 , tot number(5)
4 , mon_tot number generated always as (tot*15) virtual
5 );
Table created.
SQL> insert into tb_test (id, tot) values (1, 5);
1 row created.
SQL> select * from tb_test;
ID TOT MON_TOT
1 5 75
1 row selected.
SQL> update tb_test
2 set tot = 15
3 where id = 1;
1 row updated.
SQL> select * from tb_test;
ID TOT MON_TOT
1 15 225
1 row selected. -
How use a prompt value on a varible?
Hi all,
I would like to use a prompt value in a varible. How I can do that??
RegardsHi,
UserResponse function is used to capture the values entered in the prompt. The syntax is:
UserResponse([DataProvider];"PromptText") and it returns the prompt value in String format.
You can use this in your variable.
Regards -
How to use the prompt value in the report column
Hi
I have a report prompt column which is 'Adj Type' which holds values 10,20,30 and when user selects Adj Type = 10 then this value should be passed to report column.
For Eg. Column 1 value is 10 and this should multiple with prompt value and the output should be 10* 10.
Any thoughts how to capture the prompt values in report column for calculation.hi hsekar,
1) Declare a presentation variable in prompt under the Set Variable section -->Presentation Variable -->P_var
2) In Fx Table_name.Your_column * @{P_Var}
@{P_var}{20} ( 20 is default value it will override when a user selects value in prompt
Thanks,
Saichand.v -
How to Pass dashboard prompt value to RPD variable??
Hi Experts,
I am creating RPD variable with below query in initialization block
SELECT extract(month from Max(report_date)) from xyz_date_dim where report_id=14 and year=:YEAR
I am having YEAR prompt in dashboard..from this RPD variable i want to get MAX(month) from selected year in dashboard.Here my problem is unable to pass selected YEAR to RPD Initialization block.
I read some threads we can pass user selected values to session variables. If possible can any one help me how to pass variable to achieve my requirement.
can any one help me in this....
Thanks,
KSS.So you want to pick a month in a dashboard prompt and have the answers report filter for that month, and return results for that month, month -1, month -2 etc etc.
If so try the following, lets assume your measure is simply called 'count'
in the BMM you have measure 'count' with aggregation set.
Create a new measure in the BMM called 'count MAGO' or whatever you want (this will be month -1)
in the logical forumula for that column, use the AGO function, syntax would be AGO(count measure,<time dimension.Month>, -1) - this function is found under the 'Time Series Functions' category.
repeat steps to create 'count 2MAGO' and use -2 in the AGO function to take off 2 months.
Repeat for however many Mth Ago's you want.
Then in answers, simply use is prompted on your month fied to filter the report for the relative month, select your 'count', 'count MAGO', 'Count 2MAGO' etc, the measure will be calculated for prior months relative to your filtered month.
Sorted? -
Possible to use dashboard prompt to capture variable & apply custom filter?
Hello,
I have an LOV based on column account_descirption with accounts: rent, tax, utilities, etc. Inside that LOV i want to add one custom value "COO." When user selects "COO" i want to capture in a variable and use it to sum multiple account_description values. Is this possible in the report or should i do the sumation in the source table?If I understood your requirement completely, on your prompt you would have to assign a presentation variable. On your filter you would have to do a case:
CASE when @variable_prompt IS 'COO' THEN ....
Hope this helps.
EF -
Query Designer restricted key figures using a prompt value
Hallo Experts,
I would like to restrict key figures after user has beeen prompted to enter a date. I have 2 key figures:
a) KF1, Date1
b) KF2, Date2
User should be prompted to select a specific date: e.g. 01/2011. After selecting/entering the prompted date value, it should be given to date objects for intance Date1=01/2011 and Date2=01/2011.
How could I achieve it in Query Designer without using customer_exit function? Reason is that non-experienced users will use this report and they should not be confronted with complex query. Do you have any idea?
Many thanks
MamaduHi,
I assume that you need to restrict the value of keyfigures by date based on user input data on variable selection screen.
First create one user input variable on your date field say for eg calday.
Now restrict your KF1 with calday and choose that vairable which you created.
For second KF2 which seems to me need to be restricted with offset of +1 based on the date entered by the user.
So restrict this KF2 with calday and use the same variable with offset of +1
I just misunderstood you ned calmonth or day because in requirement you have given month but you are calling it as date.
If its month then replace calday with calmonth..
Hope it helps.
Regards,
AL:
Edited by: AL1112 on Dec 21, 2011 9:42 AM -
Is it possible to use a variable value
with pop up message. Like that:
message 'Already recorded. Please type another number. The next possile number is ' PossibleNUmberVariableName type (I).
is such a thing possible?
Please help. I neen it.
Thanks.
deniz.yes for every message there will be 4 message variables.
PossibleNUmberVariableName type (I).
message i888(sabapdocu) with 'Already recorded. Please type another number. The next possile number is ' PossibleNUmberVariableName.
where sabapdocu is a message class that was all ready availble, may be u need to use another one after creating. That message will contain 4 message variables &1 &2 &3 &4' like this. -
Prompt value in rpd??
Hi there,
I've an edit box in dasboard, and I want to use the value entered in edit box for calculation in logical column in rpd.
Appreciate your helpHere is what you need to do:
1. Create a Session Variable in your RPD
2. Check the "Enable any user to set the value" checkbox in the Session Variable properties
3. In your dashboard prompt, select"Request Variable" in the Set Variable section
4. Enter the name of your Session Variable in the box that appears
5. Now you can reference the session variable in the formula of your logical column. Syntax: VALUEOF(NQ_SESSION.YOUR_SESSION_VARIABLE)
Note: You cannot reference Presentation Variables in the RPD
-Dave -
Assigning identifiers automatically or using the base value in rules
The question is rather simple. I want to order the instances of an entity. How these instances are ordered is unimportant. The problem is that the only information available about the instances is the age, which may be the some for multiple instances and thus makes it impossible to order. Is there anyway to assign an identifier automatically to apply this ordering, say from 0 ... the number of instances - 1 or is it possible to use the base value of an instance in rules?
Once we get into the realm of "assign randomly" we're outside the scope of "repeatable business rules" which is what OPA is trying to allow you to automate.
That said "out of the box" features to do either/both:
1) random number generation;
2) unique entity identification
have both come up before. It would be worth communicating with your Oracle product rep to make sure they know about how desirable you would find those features.
But it still sounds like you might be able to do this with rules...
Is the "discount" variable or is a voucher simply for "free tickets"? If all vouchers are always just for "whole free tickets" then they can be treated anonymously very easily. You can then look at how many tickets you have and how many you can get for free and work sequentially down the list and remove the X most expensive tickets from the total price. If the last "free ticket" is the same price as some other ticket then from a "final price for all tickets perspective" there's no difference between getting all tickets at that price at number free/total number at that price * price and getting the number free for free + full price for the rest.
So again, so long as you don't need to know which ticket and which voucher it is all possible. The major complexity is probably in constructing a "rank" but this can be done using an inferred relationship to identify a "rank" (ie the relationship identifies the set of other tickets with a greater value and then you can do an instancecount on the relationship to give you a rank).
I'm assuming you're using 10.4?
By "rank" I mean that the set (1, 2, 5, 5, 7, 9) would have the following "rank order" (1, 2, 3, 3, 5, 6) when ranking from smallest to largest. -
Reab table using a range value
Hello Experts,
Is it possible to use a range value in "Read table [itab] ...." statement?
I need to do like this..
read table t_docs with key vbeln = wa_output-vbeln
matnr = wa_output-matnr
spmon in r_spmon.
I know that, alternatively, this can be achieved by loop ......endloop.
Thanks.Hi,
Nope..this is not possible in READ TABLE..as you have mentioned..you have to use loop at..
LOOP AT itab WHERE .. IN ...
EXIT.
ENDLOOP.
Thanks
Naren -
How to get prompt value in Financial Reporting and use it as header
Hi Oracle Gurus,
I have Hyperion Financial Reporting 11.1.1.3. I created a report.
I have Products dimension on rows. And I also have prompt for Products.
Let's say there is 3 products, Product A, B, and C, with each has its own level 0 item (for example A1, A2, B1, C1)
Currently in my situation, user will be prompted to select a list of Products, and then the report will display only the level 0 of the product chosen by the user. For example, user select Product A, then the report (or the grid) will display A1 and A2 on rows. User select Product B, B1 will be displayed.
My question is, I want to create a dynamic header report, so how can I get this prompt value and use it as a report header? For example: Sales of Product A when user choose Product A, or Sales of Product B when user choose Product B.
Thanks a lot for your response.Hi,
Here is the possible way to achieve it:
1. Insert a row (may be as row 1) in the report which has product as "User prompt".
2. mark this row as hidden always
3. User other rows as level0 of product in row 1
4. Use MEMBERALIAS in your header to use product as dimension & row as row1
Hope it helps !!
Edited by: user8628169 on Jun 22, 2011 10:53 AM -
I created a site column at the root of my site and I have publishing turned on. I selected the Hyperlink with formatting and constraints for publishing.
I went to my subsite and added the column. The request was to have "Open in new tab" for their hyperlinks. I was able to get the column to be added and yesterday we added items without a problem.
The problem arose when, today, a user told me that he could not edit the hyperlink. He has modify / delete permissions on this list.
He would edit the item, in a custom list, and click on the address "click to add a new hyperlink" and then he would get the error below after succesfully putting in the Selected URL (http://www.xxxxxx.com), Open
Link in New Window checkbox, the Display Text, and Tooltip:
"Message from Webpage There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."
We are on IE 9.0.8.1112 x86, Windows 7 SP1 Enterprise Edition x64
The farm is running SharePoint 2010 SP2 Enterprise Edition August 2013 CU Mark 2, 14.0.7106.5002
and I saw in another post, below with someone who had a similar problem and the IISreset fixed it, as did this problem. I wonder if this is resolved in the latest updated CU of SharePoint, the April 2014 CU?
Summary from this link below: Comment out, below, in AssetPickers.js
//callbackThis.VerifyAnchorElement(HtmlElement, Config);
perform IISReset
This is referenced in the item below:
http://social.technet.microsoft.com/Forums/en-US/d51a3899-e8ea-475e-89e9-770db550c06e/message-from-webpage-error-there-was-an-error-in-the-browser-while-setting?forum=sharepointgeneralprevious
TThThis is possibly the same information that I saw, possibly from the above link as reference.
http://seanshares.com/post/69022029652/having-problems-with-sharepoint-publishing-links-after
Again, if I update my SharePoint 2010 farm to April 2014 CU is this going to resolve the issue I have?
I don't mind changing the JS file, however I'd like to know / see if there is anything official regarding this instead of my having to change files.
Thank you!
MattWe had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
I blog about this issue and having the office reference.
Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
So if you apply the April CU then you will be fine.
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
I don't know what's wrong with my Mac Mozilla Firefox, version 3.6.8, but today, it started alerting me about an error message on the "Error Console". In every website I visit, it tells me: "The 'charCode' property of a keyup event should not be used. The value is meaningless." Is this possibly caused by a virus?
I saw a pop-up which did not allow me to click it when I scatter the windows on my Mac. I was using Private Browsing, with pop-ups disabled, but one pop-up managed to get passed my settings, and open in another window. It would not allow me to select it, so all I did was to close Firefox, and start a new session. So far, everything has been normal, I also deleted the cookies it installed.
But, I still keep seeing that "Error Console" notice under my "Tools" on the Menu Bar, and when I clicked on it, it listed errors (such as what I listed above).
Would someone explain this to me?
Thanks for your help!The messages you see in the Error Console are mostly to assist the web site's author in resolving compatibility problems. Some of them can assist you in determining why a web site doesn't work as intended. The one you mentioned doesn't sound that suspicious, except that it occurs on many sites. Perhaps one of your add-ons is trying to monitor what you type?
To diagnose whether this is caused by an add-on or one of your settings, you could try the following:
First, make a backup of your computer for safekeeping. To back up Firefox, see [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information].
Next, try starting Firefox in Firefox
[http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up.
Does that resolve the errors? If so, then an add-on usually is the culprit. If not, try creating a new (blank) profile: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
If the new profile works correctly, you can choose between further research on your old profile or moving key settings like bookmarks from your old profile to the new one. [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
Hope this helps.
Maybe you are looking for
-
Windows 8.1 x64 BSOD on shutdown - ntoskrnl.exe
This has been happening for several months to me, where in Windows 8.1 x64 when I go to shut down to install any Windows updates, I get a BSOD that says REFERENCE_BY_POINTER. I've uploaded the minidump files here: https://skydrive.live.com/redir?res
-
Non stock items - services has been confirmed
Hi I want to sell non stock items. for which item cat group - NLAG, item category is TAX. While in sales order when you enter item & quantity system automaically confirm the quantity that can be seen in item details i.e Schedule line tab. ( As per
-
I tried the extension 0.4.3 which I found in a forum, but it did not work...I have foxtab add on installed... and adblocker...
-
Apple Mail showing multi-part messages incorrectly
All of a sudden, in Lion only, messages with attachments in Apple Mail are being shown as raw source, and I can't extract the attachments (and I can barely read the message). Here's an excerpt that shows what I mean: --Apple-Mail=_9C72CECF-1C52-4B2A-
-
Pass variables in symbols to function
I'd appreciate some quick help on how to pass a variable I set in a symbol to a function in the compositionReady code. Right now for each button in a menu I have the code: case 'item1': sym.getComposition().getStage().clearStage(); //this is a fun