Question of Variable presentation
Hello
I am facing a problem with the variable behavior of presentation.
I'm having a problem where if I use the variables of presentation of a line of dashboard in two reports in the dashboard, its gives me the same results for the two reports.
-WS_Origin1
-WS_Destn1
are two variables of presentation in the dash prompt. I use these two reports
Report of departure and Destination
where origin = @{WS_Origin1} and Destn = @{WS_Destn1}
Second report
Origin-destination report
where origin = @{WS_Destn1} and Destn = @{WS_Origin1}
When I select values in the dashboard line say Origination = YYC and Desntination = YOW, reports above give me the same results. When I look at the SQL are filtered even.
That is to say
Report of departure and Destination
where origin = YYC and Destn = YOW
Second report
Origin-destination report
where origin = YYC and Destn = YOW
(Note: it must be original YOW = and Destn = YYC)
Thank you
Hi guys,.
Thanks for the reply, I tried all the solutions provided above but did not receive the expected result. I think I have the solution, I used guests from the column in the line of dash and the same columns were also using in reports, I changed the variable column guests guests and solved the problem.
All you guys, appreciate a lot for the answer so quickly. Thank you.
Tags: Business Intelligence
Similar Questions
-
Another question about variable presentation
Hello
I have a new requirement on variable presentation.
for example
A single column, year of guest. anothor column, year1 to demand.
I want to get/see a value of all if the prompt is empty. Is it possible to do that?
Kind regards
Anne
Published by: anne on November 14, 2011 02:17Hi Anne,.
To manage the "all choices" Null values and try this, add two filters with OR clause (using filter->-> convert this advanced SQL filter)
Cast (CALENDAR." (YEAR' as varchar (10)) = ifnull (' @{year} ',' ') or ifnull (' @{year} ',' ') =' '
OR
CALENDAR. ' ' YEAR ' as ' @{year} {%}'
-
variable presentation changing the data type date to string the Calende
Hi gurus,
I'm having a strange problem. I have a Start date and end date fast that aren't on any column presentation for example (in the case where 1 = 0 DATE. DATE other cast ('2100-12-31 Date ') end).
Now, this prompt, I put 2 startdate and enddate variables presentation to use in my sql filter in the report.i use these variable to calculate the date for these 2 end dates and then I apply between it function with these 2 dates.
The question is when the dashboard is running for the first time the presentation variable takes the dates as the DATE "' 2009/14/10 and when I change the date and click on the go button, the variables is October 15, 2009" as strings anf so DATE in my SQL filter functions fails and error throughts VD.
All of the suggestions!Nico explain already.
Select date '' 2009-12-15 of the double - TRUE
Select date of 2009 '-15-12' of the double - ORA-01843: not one month valid
Select date ' 10/2009/15 ' of double - ORA-01861: literal does not match the format stringDATE 'yyyy-mm-dd' does that have this format.
Concerning
Goran
http://108obiee.blogspot.com -
OBI, variable presentation using results
Hello!
I have the text field with long text strings.
I want to get results, using the filter "contains all" by this field
Example:
Values aaaa000 aa000aa bbbaa I have entry to filter "a0" and I want to get results according to:
Values aaaa000 aa000aa If the filter field will be empty, I get the error, but I want to get all the rows in the result.
How can I do?
I did the following:
1. in the analysis I marked new filter, type "CONSTAINS ALL". ": number" used as a variable presentation
2. I did new dashboard prompr, where I did prompt variable, named ": number", type "Variable presentation."
3. I did the new dashboard, where I dragged my dashboard prompr and analysis
Now, when the filter-field 'number' is empty, I get the error (and I agree with OLIVIER, because I did not specify the terms of null value):
And when I write all values in the filter field, everything works
I tried to fix it in the analysis, used 'Convert this SQL filter' and wrote the following sql text:
"presentation_tmp"."WB_NUMBER" LIKE CASE WHEN @{:number} IS NULL THEN "presentation_tmp"."WB_NUMBER" ELSE concat(concat('%',@{:number}),'%') END
But it did not help me
How can I get all the lines, when the filter-field 'number' is empty?
Hello
Not really sure how you get this error when the field is empty (you should only get no result) but if you change your filter in the report to:
WB_NUMBER contains all @{: number}
TO
WB_NUMBER contains all @{: number} {%}
You should get all the values when you do not have any value in the dashboard line. Basically, put '%' in the default value of your filter.
-
Variable presentation doesn't work is not in the filter using expr
Hi friends,
I have a quick period with a variable presentation of the v_period used. Inturn, so I applied formula below one of my measure column in the analyses below the means, it does not work when I select the name of period of command prompt. How can I place the presentation variable from the prompt for the filter with expression.
FILTER ("Fact_GL_balances". "Actual_ending_bal" for HELP ("Dim2_GL_periods" ".") " Period_name' IN ('v_period')))
Kind regards
Saro
Hi, Saro,
I think the correct syntax when you use variable presentation would be:
FILTER ("Fact_GL_balances". "Actual_ending_bal" for HELP ("Dim2_GL_periods" ".") " ((IN Period_name' (@{v_period})))
OBIIE does not generate the correct syntax when you use the expression builder
And if v_period can have multiple values, you should use this:
FILTER ("Fact_GL_balances". "Actual_ending_bal" for HELP ("Dim2_GL_periods" ".") " ((Period_name' IN (@{v_period} [' @'])))
I have not tried in my OBIEE because I need to filter a Dimension column, so I have to use CASES instead of FILTER, but this is my reference:
Q & A: OBIEE OBIEE 11 g: presentation Variable initialization in a multiple selection prompt
Concerning
Ana GH
-
What is the difference between variable presentation and application of OBIEE 11 g
Hello
presentation and application of variable responses only but fluctuating demand can temporarily ignore the presentation and the session variable has nothing to do with the variables of repository.
Thank you
Prasanna
-
Hello
I have a dashboard with a prompt and a table view.
The guest is on a column 'Year' and it is associated with a variable presentation 'yearPV '.
My table should be:
PRODUCTS RECIPES REVENUE_YEARPREC PAPER 50 30 PEN 10 20 where is the REVENUE formula: «FILTER ("measure".» REVENUE"with the HELP of 'Time '. "' Year ' = (' @{yearPV} [YYYY]")
Now, I want to change the formula for REVENUE_YEARPREC, which is the same indicator of INCOME but the previous year, but how to subtract 1 to the presentation variable 'yearPV '?
Thank you
Based on your filter ' @{yearPV} [YYYY] "looks like the variable PS tank
You must cast to int, then subtract
«FILTER ("measure".» REVENUE_YEARPREC'with the HELP of 'Time'." (An"= cast(cast ('@{yearPV}[YYYY]' as int)-1) as char))
Thank you
-
Value of the variable presentation does not appear does not correctly in the dashboard column
Hello
I have a report that has a view of pivot, in which I want to display the average age (date-obtained variable presentation) for example. Average age of the 31.12.12.
I used 'average Age of staff | ' @{Reporting_Date} [dd.mm.yy] {31.12.12}' as the formula column and compound eyes, the report shows the desired result.
But when the report is on the dashboard, it shows the average age to 31.00.12.
Is this a bug or is there other settings I need to do? I use OBIEE 11.1.1.7.0.
Thank you.
Jeby
Worked by changing just the text format.
"Average age of staff | ' @{Reporting_Date} [JJ. MM.yy] {31.12.12}'
-
OLIVIER Dashboard padding variable presentation with NQ_SESSION. ROLES
Hello
is there a way to fill a variable presentation on my dashboard with NQ_SESSION. ROLES?
I've been using prompt to do the same thing, but I don't need to prompt the user for his roles of session. I just need to fill out a variable presentation which
I then use to filter the data in the data model.
Thanks for any help.
Hi metalray,
If your solution works, why not simply hide invite him? Set the style CSS custom for this article to the display: none; The guest always initialize the variable presentation even if it is not visible to the user.
JB
-
How to filter values using variable presentation if it uses a multiselec
Hi gurus,
Could you pls suggest me here.
I have a requirement like my version 10G OBIEE isn't filtering report values when we choose a value any in dash prompt.
I tried to create a variable presentation in the prompt for filtering, but invites under control, he is given a MULTI SELECT.
I need to filter the values today if select us any value from the command prompt, it does not choose any value.
How to filter values using MULTI SELECT Here.Please suggest me here.
Kind regards
SKFunctions applied on the columns must be the two places (in report and guest) and must affect is fast after the function applied in the report.
In your case is prompt value before cast, it seems that it is the reason why it does not work.
Mark correct/good so pls help.
-
Variable presentation defined using action links
Hi guys,.
I use action links and the option to navigate to the content of the BI. I have a pie chart and when the user clicks on a slice, I want to set a variable with the value of the column presentation and to navigate to another page of BI. How can I achieve that?
Kind regards
SlaviIt would be pointless in this case, a variable presentation. Make the columns in dimension is requested in the report of the child, this will make your working condition.
-
OBIEE 11 g: a master event / adjustable detail a Variable presentation?
Hello world
Is it possible for a master detail event update a variable presentation?
-= JoeHey Joe,
I think that 'Master-Detail' event impossible to define a variable presentation for these reasons (can there be such a thing as)
1 variable presentation by definition can be defined by a "prompt dashboard.
2. a set of presentation on the scope of all reports where as "master / detail" event is for a report.
3. "Master-Detail" event is for a point of view of a report to meet the selections in other views of the same report.
I hope this helps.
Thank you
Diakité -
Dashboard of the guests and by setting a variable presentation selection
I have two columns in the table fast edge State Agency (prompt1) and Region (prompt2). State Agency drop-down list values from one column in the db table, but the values of a column different region depends on the selection of the national agency. Each State has a different set of values of the region.
Example: State Agency has values in drop-down list S1, S2, S3, S4 etc... all in the same column db State Agency. On S1 selection in prompt1, list values drop-down area (orders2) must be filled with the column "S1-regions", in the same way on the selection of S2 to prompt1, values in the orders2 must come from the column 'S2-regions' etc...
I defined a variable presentation for prompt1 @stateAgency and written a Case statement for orders2 something like that
SELECT
CASE
WHEN '@stateAgency' = 'S1' THEN 'State Sun '. "" S1-regions. "
WHEN '@stateAgency' is 'S2' THEN 'State Sun'. "" S2-regions. "
WHEN '@stateAgency' is 'S3' THEN 'State Sun'. "" S3-regions. "
ON THE OTHER
"Sun State '." Regions by default"
END
IN THE "domain".
It load regions by default for the first time but no change in the values of orders2 once I make selection in prompt1. Any suggestion would be appreciated.
FYI: It's OBIEE 11 g.
Thank you
Tom
Published by: user3130064 on July 26, 2011 07:43Alright... your syntax of presentation variables is wrong. It should be
SELECT
CASE
WHEN ' @{stateAgency} "="S1"and"State Dim"THEN". "" S1-regions. "
WHEN ' @{stateAgency} "="S2"THEN"State Dim"". "" S2-regions. "
WHEN ' @{stateAgency} "="S3"THEN"State Dim"". "" S3-regions. "
ON THE OTHER
"Sun State '." Regions by default"
END
IN THE "domain".Missing parentheses... Also, be sure to change the formula of the second guest to all static values column in the "orders2.
I hope this helps...
-
Hello
I have a dashboard report where I would like to filter on:
Employee_Name (=) - VARCHAR
start_date(>=) - DATE
end_date(<=) - DATE
The user selects the values of the filter, the report only returns results based on those stipulated in the instructions. However there is a column in particular in the report that contains a calculation and does not change when the above settings are entered. I want these input parameters to pass into the column. Can this be achieved with a variable presentation? If so, how should the presentation variable to be configured and in what order?
Thank you
Published by: sliderrules on December 22, 2010 13:08Hello
One more time. This wil work, I tested it myself.
Put; @{name} in quotes as it--> ' @{name}'
You won't need the Cast function.Good luck
Daan Bakboord
http://obibb.WordPress.com -
Using the default date for a variable presentation
In the report, I want to use the default date of the variable presentation.
If I use the query as below, default is correctly.but if I pass the dash prompt date value that is throwing error
Someone help me change the below
request for valid results?
TIMESTAMPADD (SQL_TSI_day, (dayofmonth(date @{asdf}{date '1900-01-01'}) *-1) + 1, date @{asdf} {date ' 1900-01-01'})
Published by: user12255470 on December 2, 2010 12:11
Published by: user12255470 on December 2, 2010 12:12Try this:
TIMESTAMPADD (SQL_TSI_day, (dayofmonth(date '@{asdf}{1900-01-01}') *-1) + 1, date ' @{asdf} {1900-01-01} "")Mark answers quickly.
J
-bifacts
http://www.obinotes.comPublished by: bifacts on December 2, 2010 15:21
Maybe you are looking for
-
Portege M400 - card 3 G Novatel internal 3G "No Sim found"
Hello I have a Toshiba Portege M4003G, running XP SP2 Tablet Everything has been great to work until I encountered the following problem The internal 3G Novatel card not found "Sim" poster to test I removed and cleaned the SIM card, place in a mobile
-
Portege R400 - does not recognize 3g module?
Please help: I got my new Toshiba Portege R400 (PPR40E-00T018G3). I knew that some of the R400 is module 3g, but I could not know if my has a or not because there was nothing on the box or it will show or not (except that on the screen Toshiba Edge 3
-
Re: Satellite U400 - battery loses power while he is in charge
Hello I did not do anything with my laptop, just to turn it off and then after a few hours later I turned it on, and then he said: battery charge, but instead to go from 90 to 91, 92 down from 99 to 90, then 80 and he cut it while the battery recharg
-
iPhone 6 Mute Switch malfunction
Recently, I had a problem with the "secret" key on my iPhone 6. When I have my phone cut (the fine button clicks), the phone will switch at the back of the mute in the volume on when to touch the switch. I have to give the phone a little tap so that
-
I opened the file of the sandisk cruzer, it has a message that says cannot work due to the I/o device error.