Sustitution Variable in PIVOT Title
Hello,
Is there any way to add a presentation variable as a title in a PIVOT title? In the pivot heading instead of the title y add @{monthTitle} that is the name of my presentation variable. but it shows me @{monthTitle} instead of the title. If I put @{monthTitle} in a Title, Narrative or Static Text I can see the the actual month.
Pleas let me know if I can put it on a pivot heading.
Thank you in advance.
Soledad
Hi,
please see the following link to use dynamic columns headers and presentation variables:
http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/?referer=sphere_related_content/
Hope this help.
Monica Bocchio
Similar Messages
-
Using variables in the title of the graph
Hi Gurus,
I would like to use - for example a presentation- variable in the title of a graph.
I assign a value for that variable in dashboard prompt.
Does anybody know the syntax of using variable in the title of a graph
(Not in a Title view!)
Thanks in advance .
Regards
LaszloYou can reference presentation variables in the following areas :
Title Views
Narrative Views
Column Filters
Column Formulas
Conditional Formatting conditions
Chart scale markers.
Gauge range settings.
Static text.
Direct Database Requests
Dashboard prompts
iBot Headlines and text -
Displaying a presentation variable in a title view
Hello,
I've created a title view with the title:
Category Sales Last 12 Months for @{CountryRegion}
I also have a dashboard prompt that sets the presentation variable. However, the first time you run the dashboard page the title displays:
Category Sales Last 12 Months for @{CountryRegion}
instead of:
Category Sales Last 12 Months for
yet when the prompt is set within the dashboard to a value (e.g. Europe), the title correctly shows:
Category Sales Last 12 Months for Europe
I thought the title was supposed to not display the presentation variable definition at all if it is not set.
Please can someone provide some pointers on how to get the title to correctly show the value of the presentation variable in the title whether the value is set or not.
Cheers,
JohnYou can use the Replace function mentioned above only in column formula. If you do not want to use column formula to display this value, then you can opt for Javascript replace function. To implement it, you need to replace your presentation variable in text object with below code and ensure to check Contains HTML markup checbox.
<div id=custDiv>@{WeekBetween}{Default Value}</div>
<script>
var i = document.getElementById('custDiv').innerHTML;
document.getElementById('custDiv').innerHTML= i.replace(","," - ");
</script>
Let me know if this works for you. -
I want to add my session variable in the title.
I used the following:
@{biServer.variables['NQ_SESSION.myvariable']}
and I got the default session variable value and not the current one.
I know about the way to add column and use it in narrative text, but I want it in the title.
Can someone please assist?Look into these http://obiee101.blogspot.com/2008/02/obiee-adding-session-variables-to.html
http://obiee101.blogspot.com/2007/12/obiee-referencing-session-variables-in.html
Display Session Variable in Title View
hope answered.
Cheers,
KK -
Show Report Variable in the title
Hi all,
I need to know if it's possible to show in a title of Answer a report variable and, if it's possible, how can I do.
Thanks a lot
SteveHallo Venkat,
Thanks for your reply!
I'd like to have the most recent loaddate in the title, that works fine now.
However, i'm struggling with the format of the variable, maybe you have a tip how to change that.
This is what i've done:
1. Created repository initialization block "get most recent loaddate". This refreshes every day. The query is basicly a select on my loadtable to get the max date from the loadtable.
2. Then i created a dynamic repository variable "get most recent loaddate" which retrieves from my initialization block.
When i set default to '31-12-2007' (just for checking), i creates TIMESTAMP '2007-12-31 00:00:00'.
3. So, when i use the variable in the title, i get all this text. I'd like to just see the date instead.
Do you have a suggestion how i can set the datatype to date from the variable?
Thanks
Sandra -
Using a variable for Lesson Title: How do I insert an alt symbol (TM)?
HI All,
I am using a project variable to diplay the title in small sub-titles on each page of a Cap4 module. But....I need to insert a trademark symbol after one of the names in the title. Does anyone know how I can insert a symbol when defining a variable?
Thanks in advance!Hello
I just tried this, and seems to work:
created a Text Caption, with the Symbol button you can insert the Trademark symbol
copied the text to the clipboard
created a user variable v_title
in the value of the variable pasted the copied text
Here is a screenshot: first text caption has the variable, second was the original TC (you do not really to have it on a slide of course)
Lilybiri -
Need Calendar Year as a Variable in the Title of a Table using WAD 3.5
I am using Web Application Designer 3.5 for the first time.
I am modifying a template that has the following table object in it:
</object><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TABLE_4"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_5"/>
<param name="CAPTION" value="Employee Information"/>
<param name="WIDTH" value="966"/>
ITEM: TABLE_4
</object></P>
The Caption of the table is currently set to "Employee Information". I need the Caption of the table to say "2007 Employee Information" where the year is the previous year. In other words, if the web application is executed in 2008, the title would say "2007 Employee Information". If the web application is executed in 2009, the tilte would say "2008 Employee Information".
I am very new to BW and WAD so a detailed explanation would be greatly appreciated.Goto the Query Description and click on the Text variable icon.
Create a text variable of processing type as customer exit which populates the previous year value.
Use this text variabkle along with the Query Description. So your description will look something like &TXT_VAR& EMPLOYEE INFORMATION
Attach this query as dataprovider to the table item in WAD and you can see the table caption as the previous value followed by Employee Information.
Hope this helps. -
HI BI experts,
we recently migrated many WAD from BW 3.5 to BI 7.0.
In BW 3.5 We had (in automatic) every Web Item with the Query (Dataprovider) title.
In BI 7.0 if we want the title over every Web Item, we have to manage the Tray; i can write the text manually in the Tray Settings but, unfortunately, in some Web Item, we have a text variable (a text variable is in the title of the query developed with the Query Designer).
My question is: How can i reproduce the right title of the query with the value of the text variable?
I'm not expert in Javascript, if the solution is in the javascript please give me an example of coding.
This is the xhtml code of a Web Item where "TXTORDI02" is the name of the text variable
<tr >
<td valign="top" colspan="2" >
<bi:CHART_ITEM name="CHART_1" designheight="325" designwidth="600" >
<bi:WIDTH value="600" />
<bi:HEIGHT value="325" />
<bi:WITH_TRAY value="X" type="CHOICE" >
<bi:TRAY_SETTINGS type="COMPOSITE" >
<bi:CAPTION value="Valori EV Costi x Destinazione(Periodo) -&TXORDI02&" />
<bi:CAPTION_VISIBLE value="X" />
<bi:STYLE value="PLAIN" />
<bi:UPDATE_TYPE value="CLIENT" />
</bi:TRAY_SETTINGS>
</bi:WITH_TRAY>
<bi:CHART_CUSTOMIZING value="biLargeData:99ZXG4E32B0MJ9FP1ISDPVW1C" />
<bi:CHART_TYPE value="COLUMNS" />
<bi:LEGEND_TYPE value="LEGEND_POSITION" />
<bi:DATA_PROVIDER_REF value="DATAPROVIDER_1" />
<bi:LINKED_DATA_PROVIDER_REF_LIST type="ORDEREDLIST" >
<bi:LINKED_DATA_PROVIDER_REF value="DATAPROVIDER_1" index="1" />
</bi:LINKED_DATA_PROVIDER_REF_LIST>
<bi:OVERRIDE_AXIS_DESC type="CHOICE" value="" />
<bi:OVERRIDE_AXIS_LABEL type="CHOICE" value="" />
</bi:CHART_ITEM>
</td>
</tr>
Thanks in advance.
Fabrizio ModestiHi Fabrizio,
you could place an infofield item above the analysis item and refer to the Dataprovider with one element: information type = "generic text" and the value of the generic text element "QUERY_DESCRIPTION". Use the same item width as the analysis item.
Then the Query description is generic.
If you like you could use a container item with tray which includes these 2 elements.
<bi:INFO_FIELD_ITEM name="INFO_FIELD_ITEM_1" designheight="300" designwidth="800" >
<bi:WIDTH value="800" />
<bi:DATA_PROVIDER_REF value="DP_1" />
<bi:INFORMATION_ELEMENT_LIST type="ORDEREDLIST" >
<bi:INFORMATION_TYPE type="CHOICE" index="1" value="GENERIC_TEXT_ELEMENT" >
<bi:GENERIC_TEXT_ELEMENT value="QUERY_DESCRIPTION" />
</bi:INFORMATION_TYPE>
</bi:INFORMATION_ELEMENT_LIST>
</bi:INFO_FIELD_ITEM>
Instead the Infofield item you could take a text item with the generic text:
<bi:TEXT_ITEM name="TEXT_ITEM_1" designheight="70" designwidth="400" >
<bi:TEXT_BINDING type="CHOICE" value="GENERIC_TEXT_BINDING" >
<bi:GENERIC_TEXT_BINDING type="COMPOSITE" >
<bi:DATA_PROVIDER_REF value="DP_1" />
<bi:GENERIC_TEXT_ELEMENT value="QUERY_DESCRIPTION" />
</bi:GENERIC_TEXT_BINDING>
</bi:TEXT_BINDING>
</bi:TEXT_ITEM>
best regards
ARNE -
Text Variable for Report Title
Hi All,
My requirement is to keep a dynamic text as current fiscal period in the Title of the report.
I have created a Customer exit variable and the value is getting populated. But the user does'nt wanna see the Key (Ex 2007004 ), he want to see the text as
Apr 2007.
If i am using a replacement path variable, then i can say replace with text. But as the text variable need to be in the report title, i have choosen the cust exit which will give only the key not the text.
Can anyone suggest me how to solve it.
Thanks In Advance
RamHi,
check the below thread.
0CALMONTH values need to display in Texts
Regards,
Siva. -
Xml search and replace for 'Session Variables' in column title view
Hi Experts,
I have around 10 reports where measure column titles are displayed based the session variable.
Below is the syntax I have used in the column title
@{biServer.variables['NQ_SESSION.VariableName']}
Now I would like to replace the above syntax with some static text. To do this, I am trying to use the xml search and replace feature in the catalog manager.
For some reason, catalog manager is unable to find the syntax in the xml file. I have tried using escape character also for the apostrophe by using &apos, but no luck.
Any pointers on how to replace the text?
ThanksUsing Analysis get the xml conversion for @{biServer.variables['NQ_SESSION.VariableName']} from Advanced tab's xml code
use this code to find in catalog manager, if you able to find then go for search and replace option.
I think this should work for you. -
Formatting date of Presentation Variable in Report title
Hi
I have the following presentation variable, @{PR_WE_DATE}{Week End Date}, in a report title. However the date format shown in the title is different from the format in the prompt.
In the report title the date format is YYYY-MM-DD however I want to display it as DD_MM_YYYY
Can anyone let me know if it possible to format the date format for a presentation variable?
Regards
AI've tried this and all this output to the title is 2009-12-03[DD_MM_YYYY]
Any other suggestions? Maybe I can change it when I set the variable in the prompt, did try {variable}[DD_MM_YYYY], in the prompt but it didn't work -
How to get current quater as variable in Report title
Hi Experts,
I am trying to get current quater to be displayed as variable in the reports title.
@{Quater[Q]}
Can someone provide me exact syntax to get this one in Report title page...
Thanks
VHi,
Please refer to the link below:
http://debaatobiee.wordpress.com/2009/09/29/using-repository-session-and-presentation-variable-in-titlesubtitlenarratives/
Close the thread and award points if the question is answered.
Cheers,
-Amith. -
Hi all,
In Robohelp, the Fields and Variables function only contains some variables relating to Date, Time. With the topic headings, I want to add them automatically to each topic by inserting them as a variable in the master page, and then apply this master page to topics. So please let me know how can I do this in RoboHelp ?
Note: with Help&Manual, this 's so easy.
Thank you.Note though that will not affect the Topic Title that will be displayed in search results etc.
The Topic Heading is what you see at the top of the page, not necessarily the Topic Title although you can set the heading to be the same as the title.
The Topic Title is what you see in Topic Properties and they can differ.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
I have a requirement in BI to have the Calenday Day/Month display in the Title of my Query. I know how to do this with Calendar Year and Calendar Year/Month, using TEXT VARIABLES. However, I was wondering if this was possible using Calenday Day. And if so, are there any pre-requisites?
The problem that I have come across is that when I create a new text variable and reference Calenday Year (after choosing replacement path), when I search for a Calendar Day Variable to use, I don't see them displaying in my choices. Any help, would be appreciated.Hi Maximina,
if the element is not in your variable list than please close query designer and than open it again.
Text variables on calendar day works as other text variables.
If you still cant see it just enter it "directly" in the description field.
If the name of your variable is "ZDAYTEXT" than write &ZDAYTEXT& in the description.
Dont use the F4 help. This must work.
Regards,
Adem -
Variable in Report Title?
Hi I'm fairly new to ORACLE BI and want to output the Date in the Filename of the reports when the users run them. So when they download the report as XLS PDF etc is shows "filename DD-MM-YY".
Is this possible?
Many Thanks
Edahh, now I see what you're talking. Here's the issue you're running into. The download report doesn't use the title as the download file name. Instead, it uses the physical name of the report in OBIEE. So even if you add the system date to the title of the report, it won't affect the download name. It just happens that both the download name and the title default to the name of the Answer Request.
So if you really wanted someone to download it with a date already in the file name, you have two options:
1) Physically rename the Answer Request periodically to indicate the last time it was refreshed. The issue here is that links to this Request will get outdated fast. And it's not the prettiest solution
2) You'd have to go into the Javascript behind OBIEE and edit how it generates the download file. I checked out the web page source code for the download link and here's where you'd want to start digging: onclick="return NQWPopupMenu(event,'idDownloadLinksMenud:dashboard~p:ngm14ept52q4tcnt~r:dr2ss84kj32lkjoi')"
That NQWPopupMenu function is what generates the pop up window with the different file outputs. Once you dig through there, it will eventually lead you through the script that does the excel outputting. Once you find the piece of code that creates the output file, it should be as simple as appending a sysdate to the file name.
Good luck!
-Joe
Maybe you are looking for
-
Is there some preferences setting to be able to control the ordering of choices for the right-click menus?
-
Wireless Network Printing Issue
Hi there, I use an Airport Express to put a wireless arm onto our offices mac-only network. Everything was a-ok but, over the weekend, the express seems to have reset itself it changing its name back to 'Apple Network 43124' I reconfigured and everyt
-
[SOLVED] want to start either wifi or ether at boot for all users
I've just installed arch x64 on my Acer Aspire 5720ZG laptop and need to get networking setup so that it starts automatically with a choice of either wired or wireless, for all users. Currently I have only managed to get wifi to start with NetworkMan
-
Just got a new mac pro and can't manage to set a password and keep it. It keeps telling me I have the wrong password. I want to start over and I can't even get back in to do this bc it won't take any of my passwords. How can I start over completel
-
I have recently obtained a DP 2.3GHz G5 XServe. Before it gets used as a server (if ever), I wish to generally play around with it, try things out, etc., while learning. As part of this whole process, I would like to try running it as a normal comput