Regarding Narrative View
Hi All,
We are unable to see the check box "Contains HTML Markup" in Narrative View.
Can anyone tell why it is not showing up?
Thanks and Regards,
-Vency
No Ally.. In 'Static Text' view also it is not there... Also, checked it in HTML Text Dashboard page properties component, here also that option is not present.
-Vency
Similar Messages
-
Problem with javascript in narrative view
Hi gurús!
I'm trying to put some conditional logic in a narrative view of my analysis. I found some tips, and wrote that:
<script>
if('@{FIN01TIME}{ }'=='Period')
document.write("[b]Fiscal Year : [/b]@1 [b]Fiscal Quarter : [/b]@2 [b]Fiscal Period : [/b]@3 [b]Roll Up : [/b]@{FIN01ND}{ } [b]Cost Center : [/b]@{FIN01CC}{ } [b]Currency : [/b]@{FIN01CURR}{ }")
if('@{FIN01TIME}{ }'=='Quarter')
document.write("[b]Fiscal Year : [/b]@1 [b]Fiscal Quarter : [/b]@2 [b]Roll Up : [/b]@{FIN01ND}{ } [b]Cost Center : [/b]@{FIN01CC}{ } [b]Currency : [/b]@{FIN01CURR}{ }")
if('@{FIN01TIME}{ }'=='Year')
document.write("[b]Fiscal Year : [/b]@1 [b]Roll Up : [/b]@{FIN01ND}{ } [b]Cost Center : [/b]@{FIN01CC}{ } [b]Currency : [/b]@{FIN01CURR}{ }")
</script>
All works good, but the problem happens when I "click" on paging buttons of my analysis (see attached image: javascript_problem_paging.png). After click, it leaves me to a blank page with only narrative view content. Also, displays "error on page" warning in status bar (see attached image: javascript_problem_afterclick.png)
I believe that this issue happens with "onclick" event of javascript. I tried to disable it, but still not works.
Any help will be appreciated.
Thanks for your time!
Regards,
FabianHi all!
I get my own answer, jeje.
Instead of use "document.write..." I put another narrative view with a <div> control and set it's content by "document.getElementById(..).innerHTML = "(same HTML code)""
It works perfect! I hope that this achievement helps somebody else.
Regards,
Fabian -
Issue filtering a report (based on narrative view) with a dashboard prompt.
I used HTML and java-script codes in narrative view to solve the issue of "linking different reports on selecting values from a drop-down". A new issue has cropped up due to that implementation. The issue is that i can't attach a dashboard prompt to such a report. This means, when i put this report on a dashboard page with a dashboard prompt to help filter the report, the report does not gets filtered (it does not seems to be connected to the dashboard prompt).
Has anyone faced this issue before? If yes, please let me know how to tackle it at the earliest.
Regards,
RamilHi,
sorry , i could not solve the problem. the below case statement i put in the formula of a date column but i got some syntax error.One more thing is case statement is appearing in the select query not in where condition. Do u mean to say if i will put the same column as is prompted then it will come in where condition.
Could u plz help me where i am doing wrong .
case when '@{Period}'='Weekly' then Alerts."Creation Date and Time" between '@{PStartDate -7}' and '@{PStartDate}' end
[nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <between>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: SELECT Alerts."Business Domain(s)", Alerts."Closing Action Type", Alerts.Closer, case when ''='Weekly' then Alerts."Creation Date and Time" between '' and '' end FROM "Common Productivity Reports for Alerts" -
How to display presentation variable in a narrative view
Is there any way that we can display the prompt value stored in a presentation variable in the narrative view?
Hi,
use this synatx @{PRESENTATION_VARIABLE}{'Default'}
Regards,
Gianluca -
Hi..
How could I view the current year by default in narrative view. I have used the following code
Year @{pvYear}*{year(current_year)*
Here pvYear is my presentation variable. At first time it shows Year year(current_year) in my report. When I use the prompt its shows my selected year.
Right now I have hard coded as
Year @{pvYear}{2009}
Thanks
MohanThese are the step you have to follow
create one dummy column in the report and write the following formula
*case when @{year}=null then year(current_date) else @{year} end* and refer that column in the narrative view
and in the dashboar prompt defualt to drop down select repository variable and give the current year repository variable there
or choose SQL results and write the following formula
* SELECT case when 1=0 then "- Actual Start Date"."Start Year" else Year(current_date) end FROM Activities*
hope it helps you
Regards
Naresh -
Is it possible to use a condition in a narrative view.
I have a summary report in which if the user clicks Month I should get in the list report's narrative view as Data for that month.
same thing goes for year and quarter. Is it possible?Hi,
>I have a summary report in which if the user clicks Month I should get in the list report's narrative view as Data for that month.
Can you be clear on this.
User clicks Month value in month column?
So are you navigating to any other page when he clicks on that value?
If you are navigating to drill report,then pull one dummy column in that report criteria and hide it.Write formula to fetch date in fx of this dummy column,make month column as prompted in the drill report.Show that date fetched in narrative view as @n,n is position of that hidden column in criteria(@1 if its position is 1 from left).
Regards,
Srikanth -
Narrative View chnage how data is viewed
When I select a narrative view, and enter @1 and @2 in the body, I am seeing the data structured this way:
Jan 10% Feb 20% Mar 25%
I want the data to look like this:
Jan Feb Mar
10% 20% 25%
Can this be done? Thanks.You can make use of HTML table tags
in prefix section ---> <table>
in narrative -->
<tr>
<td> ....
</td>
in postfix (close the table) ---> </table>
Make sure that you check the check box for 'Contains HTML Markup'
Regards,
Raghu -
How to set page break for Narrative view???
Hi All,
I have created a report in Narrative view using HTML code. I am stuck how to set page break based on a column in Narrative view. If anybody is aware of the issue pls let me know how to overcome this situation. Or if this can be done using HTML code itself pls let me know how to do it.
Thanks & Regards
ThenmozhiHi Honey,
I am not sure on ur requirement but you can achieve page break with a column using pivot view by dragging that column into section area and editing section properties to Insert Page break option. -
I want to display the narrative view as All Choices
Hi Experts,
If ‘All choices’ option is selected, I want to display the narrative view as All Choices.
How do I achieve it?
Waiting for your reply....
Regards,
SathyanHi Sathyan,
Set a presentation variable for that prompt.
and in request, go to the column formula,
CASE WHEN '@{pv_var}' IS NULL THEN 'ALL CHOICES' ELSE col_name END
Regards,
Raghu -
Problem in displaying multiple column values using Narrative View
Hi All,
I have a requirement where in I need to display column 1 of an Answers report as a header and all values of column 2 below tht.
There are multiple values from column 2 for every value in column 1
Example:
Group:
Grp (This is column 1)
Activity:
Act1
Act2
Act3 (These are values from column 2)
I have used narrative view for this which looks like:
Group: @1
Activity:@2[br/]
But this displays the value of column1 along with every value of column 2. I want column 1 value to be displayed only once.
Thanks in advance
RadhikaHi see this link it may helpful
Re: Narrative view not showing up in the report
Re: how to transpose columns to rows in OBIEE
Regards
Naresh -
Grand totals and calculation on total in Narrative view
Hi There,
Is it possible to do calculations on the total values computed in the table in Narrative view.
Iis there anyother way.
Regards
AshishHi,
You told that you need to do manipulation on grand total so,add dummy columns and put grand total calculations on them and do manipulations on them to get manipulated value.
Do you want to show manipulated values in narrative view?
Regards,
Srikanth -
Data in a narrative view.
Sorry if this is simple. Just want to display the multiple values from a report prompt, not dashboard prompt, in the report. My effort has taken me to the narrative view and am using @12 to display the values in the column which has been filtered. But it is listing the values many times for each row. Can I use the narrative to display only distinct @12s or is there a better way to get the prompt values into the report. Thanks
You can do this with pivot table, it is not possible with Narrative.
1. Create pivot view for same report
2. exclude all the columns other than the column you want to show
3. Put the column in measures
4. duplicate the column, drag the duplicate column in to columns and hide
5. drag measure labels into Rows
6. apply aggregation to First on column in measures.
it works, I will blog it shortly with screen shots soon. -
Hi Gurus,
Can you please help me with narrative views in OBIEE (11.1.1.5)?
I have a table that lists customer sales., e.g.
Customer Sales($mn) Rank
Cust1 800 1
Cust2 450 2
Cust3 350 3
Cust4 300 4
Cust5 40 5
Cust6 30 6
Cust7 20 7
Cust8 10 8
Total 2000
The requirement is to build a narrative view that uses different columns and totals. In this case, the narrative view should say:
Top *3* customers provide *80%* of the revenue.
(n = 3)
(80% = sum(sales) where rank in top n / total sales) = (800+450+350)/2000*100
I can't find a way to incorporate formulas. I can call the sales column (@2) but not able to put the calculation in the narrative view. Has anyone done such a thing before or knows how to do it?
Thank you!!Thank you, HM... that worked great!!
I have another quick follow up - is there a way to refer to individual values in the result set in a narrative? For example, based on the same table:
Customer $mn Rank
Cust1 800 1
Cust2 450 2
Cust3 350 3
Cust4 300 4
Cust5 40 5
Cust6 30 6
Cust7 20 7
Cust8 10 8
Total 2000
I want to create another narrative that is the ratio of sales of the first and third ranked customer; i.e., the narrative I am trying to build is:
No. 3 has to increase sales by *2.28* times to equal No. 1.
(2.28 = 800/350)
Is that possible, given that my table is sorted by rank? -
Pagination in a Narrative view?
Is there a way to use pagination controls in a Narrative view?
I'm looking for either an out-of-the-box way to turn this on (maybe I'm just not seeing it?), or if that's not supported, then any ideas on how it might be otherwise implemented.
Is this do-able at all? Am I just not seeing the place to active this?
Thanks very much.Thank you, HM... that worked great!!
I have another quick follow up - is there a way to refer to individual values in the result set in a narrative? For example, based on the same table:
Customer $mn Rank
Cust1 800 1
Cust2 450 2
Cust3 350 3
Cust4 300 4
Cust5 40 5
Cust6 30 6
Cust7 20 7
Cust8 10 8
Total 2000
I want to create another narrative that is the ratio of sales of the first and third ranked customer; i.e., the narrative I am trying to build is:
No. 3 has to increase sales by *2.28* times to equal No. 1.
(2.28 = 800/350)
Is that possible, given that my table is sorted by rank? -
Script result not showing up in narrative view
I'm making a org chart as a narrative view.
If I do not tick "Contains HTML Markup" the result of the script is displayed. If I cut-n-past that content into a HTML file it display the result I'm looking for. However if I tick "Contains HTML Markup" the narrative view displays as empty.I have Attached two screenshots displaying this.
Any ideas what I'm not doing right? Have I forgotten some config to enable scripts in narrative view?
this is the script I'm using
Prefix:
<script type='text/javascript' src='https://www.google.com/jsapi'></script>
<script type='text/javascript'>
if(document.URL.indexOf("saw.dll?Answers") == -1) {
google.load('visualization', '1', {packages:['orgchart']});
google.setOnLoadCallback(drawOrgChart);
function drawOrgChart() {
if(document.URL.indexOf("saw.dll?Answers") == -1) {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Name');
data.addColumn('string', 'Manager');
data.addColumn('string', 'ToolTip');
var myOrgArray=[];
var tempStr = "";
Narrative:
myOrgArray.push(["@1","@3","@2"]);
Postfix
data.addRows(myOrgArray);
var chart = new google.visualization.OrgChart(document.getElementById('div_orgchart'));
chart.draw(data, {allowHtml:true});
</script>
<div id='div_orgchart'></div>Yes, sorry, client is obviously sufficient as well.
Just tried your code and same behaviour here and it doesn't do squat either. Can't deep-dive into that code right now but it's definitely code-related issue rather than a browser one for example.
Thought about trying d3js? Would be easier to reproduce for me as I use that more often than Google's data-munching pipe that pushes all your data through Google Analytics
Edit: Clicked too quickly. Wanted to point you to the SampleApp dashboard page which hosts the example I meant: http://slc02oka.oracle.com:7780/analytics/saw.dll?Dashboard&PortalPath=%2Fshared%2F02.%20Visualizations%2F_portal%2F2.32…
Username Prodney
Password Admin123
Edit 2: Jesus I really should stop clicking "Save Reply" just to not lose it. Simply show your analysis on a dashboard and you're fine. It'll work.
Maybe you are looking for
-
GL Account text mismatch! - Help. FS00/MX60
We have a GL Account set up with a specific text in FS00, and this text is not the same as that being shown when we run the MX60 report. Please point us in the right direction to check where the report is pulling a different text for this GL account?
-
Advice on migrate from MacBook 4,1 to MacBookPro 8,1 & mobileMe to iCloud
Hi all, I just bought a MBP 8,1 to upgrade from my MacBook 4,1 (white). I'd like to know what the best way is to migrate my files & stuff. How well does the Migration Assistant work? My main concern is with Mail, Calendar, Address Book, iPhoto, iMovi
-
How to stop and resume smart card reader handle using OCF framework
I need to stop the reader handle and transfer the handle to other application and after reply from that application, i have to resume the reader handle. I tried Smartcard.shutdown and then I used SmartCard.start but it doesnt help. Can anyone help me
-
Reg CRM_MKTTG_SEG_MEM_EX
Hi All, Please let me know when this BADI will trigger.I am expecting this BADI to trigger when I am creating target group in the segment builder transaction crmd_mktseg. When I select the target group and when I click on import file is this BADI wil
-
Mozilla claims that they are dedicated to protecting our online privacy, rights and freedoms, yet they are apparently doing business with Cisco Systems Inc. Cisco is a U.S. military contractor for the U.S. Department of Defense (D.O.D.). They work wi