Dashboard Prompt (All Choices) using Narrative View

Using Narrative View I can display LOVs of Prompt but when the (All Choices) selected, how to display using Narrative View?

In Your criteria Create a column with foruma like the below
CASE WHEN '@{psitename}{All}' = '' THEN 'ALL' else '@{psitename}{All}' end
And now in your narrative of the report, Add @2 if the above column is in second place of criteria. Add this narrative in you compound layout. Hide the column if you dont want show it in table view.
This code works in 3 cases.
1. If variable is null then it shows default value - All
2. If variable is selected to all choices then it shows ALL
3. If you select any site, that shows site name.
let me know if does not work for you..
- Madan

Similar Messages

  • 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
    Radhika

    Hi 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

  • XMLP Parameter And BIEE Dashboard Prompt "All Values"

    Hi Gurus,
    I want to insert a XMLP Report in the BIEE Dashboard and use a Dashboard Prompt as parameter in the Report.
    There is a way to use the "All Values" value of the prompt?
    I write a XMLP data model as:
    select dim_1.Attribute as Dim from BIEESubjectArea where dim_1.Attribute = :Parameter;
    Parameter is return by the BIEE Dashboard.
    It works for all different value of the Parameter but not if I select the "All Values"
    There is a way to make it works?
    Regards,
    Daniele

    Hello Daniele,
    When 'All Values' is selected (for Show), it basically displays all values avaliable for the parameter. Are you talking about 'All Choices' option? Selecting 'All Choices' will pass null values and you would have to modify your answers filter to accomodate that.
    Take a look at the following: http://108obiee.blogspot.com/2009/04/detecting-all-choices-from-dashboard.html
    Hope that helps!

  • Using Narrative View how to show multiple rows as one row

    My answer result set Returns 3 rows
    Year Rev
    2005 $100
    2006 $200
    2007 $300
    I want to display in a single line like
    2005 $100 2006 $200 $2007 300
    How do I achieve the above?

    obieefan,
    Add narrative view to compund layout and in the narrative area add @1@2...
    @1 refers to year column
    @2 refers to dollar amount column.
    mark posts promptly
    J
    -bifacts
    http://www.obinotes.com
    Edited by: bifacts on Nov 12, 2010 9:26 PM

  • When I try to set a default for viewing all folders using the view options, it fails to apply this view to all folders. What am I doing wrong?

    I open the 'view options', select the mode of viewing I want, click the 'always open in' and push the use as defaults button... this, by all accounts, should work to apply this mode of viewing to ALL my folders and subfolders... yet it does not.

    I've had to work on this a little before it "stuck" to my preference; it appears that if you open a folder within a folder and set the option, it will apply to that and any within that, but not up a level. So you need to make sure you have it set at the top folder level and you have it set like this:
    Also, if you have a folder in the dock, you will need to either control click it or - in my case I want column view - you need to Command click the folder and it'll open in column view. I've not liked this "feature" since it was changed in Snow Leopard; previously, you could just click on the folder and it would open the way you had it set.

  • Changing 'All Column Values' in dashboard prompt

    In OBIEE 11g, how to modify the dashboard prompt All label value? I do not want to change value in XML file , because it will impact all dashboard prompt value.
    Is it there better method to implement this problem?
    For example:
    In dashboard prompt-->edit -->options--->tick 'Include "All Column Values" choice in the list', so I can view '(All Column Values)' value in prompt. Customers want to changed this value,such as 'all values'. Is it possible? Thanks.

    Hi,
    Can do it using Union All is prompt SQL and presentation variable in report.
    Refer : http://www.varanasisaichand.com/2010/01/editing-all-choices-in-dashboard.html
    Regards,
    Srikanth

  • The current xml is invalid upon using external charts in narrative view

    Hi,
    I always get following message when embedding amcharts or google charts using narrative view. Once saved, it is not possible to any more to edit the narrative view. However, the report works fine, the chart is shown, but not editable.
    cheers,
    Mark
         Error Displaying Results
    The current xml is invalid with the following errors: Bad xml instance! <?xml version="1.0"?> <saw:report xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlVersion="200810080"><saw:criteria xsi:type="saw:simpleCriteria" subjectArea="&quot;QC4Agility&quot;" withinHierarchy="true"><saw:columns><saw:column xsi:type="saw:regularColumn" columnID="c5f655b89c322bce7"><saw:columnFormula><sawx:expr xsi:type="sawx:sqlExpression">&quot;Dim - RUN&quot;.&quot;RUN Status&quot;</sawx:expr></saw:columnFormula></saw:column><saw:column xsi:type="saw:regularColumn" columnID="c9de76acdb49ee65f"><saw:columnFormula><sawx:expr xsi:type="sawx:sqlExpression">&quot;Fact - req_test_run&quot;.&quot;# REQs&quot;</sawx:expr></saw:columnFormula></saw:column><saw:column xsi:type="saw:regularColumn" columnID="c9fe9f1713d290812"><saw:columnFormula><sawx:expr xsi:type="sawx:sqlExpression">&quot;Fact - req_test_run&quot;.&quot;# TESTs&quot;</sawx:expr></saw:columnFormula></saw:column></saw:columns><saw:filter><sawx:expr xsi:type="sawx:logical" op="and"><sawx:expr xsi:type="sawx:comparison" op="equal"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Dim - REQ&quot;.&quot;REQ Target release&quot;</sawx:expr><sawx:expr xsi:type="xsd:string">1.0</sawx:expr></sawx:expr><sawx:expr xsi:type="sawx:comparison" op="lessOrEqual"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Dim - REQ&quot;.&quot;REQ nCycle&quot;</sawx:expr><sawx:expr xsi:type="sawx:variable" op="server">CurrentCycle</sawx:expr></sawx:expr><sawx:expr xsi:type="sawx:comparison" op="notNull"><sawx:expr xsi:type="sawx:sqlExpression">&quot;Dim - RUN&quot;.&quot;RUN Status&quot;</sawx:expr></sawx:expr></sawx:expr></saw:filter></saw:criteria><saw:views currentView="0"><saw:view xsi:type="saw:compoundView" name="compoundView!1"><saw:cvTable><saw:cvRow><saw:cvCell viewName="titleView!1"><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:cvCell></saw:cvRow><saw:cvRow><saw:cvCell viewName="tableView!1"><saw:displayFormat><saw:formatSpec/></saw:displayFormat></saw:cvCell></saw:cvRow><saw:cvRow><saw:cvCell viewName="dvtchart!1"/></saw:cvRow><saw:cvRow><saw:cvCell viewName="narrativeView!1"/></saw:cvRow></saw:cvTable></saw:view><saw:view xsi:type="saw:titleView" name="titleView!1"/><saw:view xsi:type="saw:tableView" name="tableView!1"><saw:edges><saw:edge axis="page" showColumnHeader="true"/><saw:edge axis="section"/><saw:edge axis="row" showColumnHeader="true"><saw:edgeLayers><saw:edgeLayer type="column" columnID="c5f655b89c322bce7"/><saw:edgeLayer type="column" columnID="c9de76acdb49ee65f"/><saw:edgeLayer type="column" columnID="c9fe9f1713d290812"/></saw:edgeLayers></saw:edge><saw:edge axis="column"/></saw:edges></saw:view><saw:view xsi:type="saw:dvtchart" name="dvtchart!1"><saw:display type="pie" subtype="default" renderFormat="flash" mode="online" xAxisLiveScrolling="false" yAxisLiveScrolling="false" clientEventEnabled="false" animateOnDisplay="true"><saw:style barStyle="default" lineStyle="default" scatterStyle="default" fillStyle="default" bubblePercentSize="100" effect="2d"/></saw:display><saw:canvasFormat height="330" width="640" showGradient="true"><saw:dataLabels display="always" label="nameValue" position="below" transparentBackground="true" valueAs="default" abbreviation="default"><saw:textFormat fontSize="14"/><saw:dataFormat xsi:type="saw:number" commas="false" negativeType="minus" minDigits="0" maxDigits="0"/></saw:dataLabels><saw:gridlines default="true"><saw:horizontal><saw:major visible="false"/><saw:minor visible="false"/></saw:horizontal><saw:vertical><saw:major visible="false"/><saw:minor visible="false"/></saw:vertical></saw:gridlines><saw:title mode="auto"><saw:caption/></saw:title></saw:canvasFormat><saw:selections><saw:categories><saw:category><saw:columnRef columnID="c5f655b89c322bce7"/></saw:category></saw:categories><saw:measures showMeasureLabelsOnCategory="false"><saw:column measureType="pie"><saw:columnRef columnID="c9de76acdb49ee65f"/></saw:column></saw:measures><saw:seriesGenerators><saw:seriesGenerator/><saw:measureLabels/></saw:seriesGenerators></saw:selections><saw:legendFormat position="none" transparentFill="true"><saw:textFormat/></saw:legendFormat><saw:seriesFormats><saw:seriesFormatGroup name="pie"><saw:seriesFormatRule><saw:seriesCondition columnID="c5f655b89c322bce7" position="0"><saw:condition><sawx:expr xsi:type="sawx:comparison" op="equal"><saw:columnRef columnID="c5f655b89c322bce7"/><sawx:expr xsi:type="xsd:string">Failed</sawx:expr></sawx:expr></saw:condition></saw:seriesCondition><saw:visualFormats><saw:visualFormat color="#FF0000"/></saw:visualFormats></saw:seriesFormatRule><saw:seriesFormatRule><saw:seriesCondition columnID="c5f655b89c322bce7" position="1"><saw:condition><sawx:expr xsi:type="sawx:comparison" op="equal"><saw:columnRef columnID="c5f655b89c322bce7"/><sawx:expr xsi:type="xsd:string">Passed</sawx:expr></sawx:expr></saw:condition></saw:seriesCondition><saw:visualFormats><saw:visualFormat color="#B0C060"/></saw:visualFormats></saw:seriesFormatRule></saw:seriesFormatGroup></saw:seriesFormats></saw:view><saw:view xsi:type="saw:narrativeView" name="narrativeView!1"><saw:prefix><saw:caption fmt="html"><saw:text/></saw:caption></saw:prefix></saw:view></saw:views><parsererror xmlns="http://www.w3.org/1999/xhtml" style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"><h3>This page contains the following errors:</h3><div style="font-family:monospace;font-size:12px">error on line 6 at column 430: Sequence &#39;]]&gt;&#39; not allowed in content </div><h3>Below is a rendering of the page up to the first error.</h3></parsererror></saw:report> Line:2, Col:5482, Unknown element 'parsererror' Line:2, Col:5482, Attribute 'style' is not declared for element 'parsererror' Line:3, Col:98, Element 'parsererror' is not valid for content model: '((criteria,views,prompts,listOptions),segmentOptions)'
    Error Details
    Error Codes: EIRWWH9E
    Location: saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
    narrative view used for test:
    Prefix
    <script type="text/javascript" src="http://extra.amcharts.com/public/swfobject.js"></script>
    <div id="amcharts_1308229514469">You need to upgrade your Flash Player</div>
    <script type="text/javascript">
         var so = new SWFObject("http://extra.amcharts.com/public/ampie.swf", "ampie", "500", "400", "8", "#FFFFFF");
         so.addVariable("path", "ampie/");
         so.addVariable("chart_settings", encodeURIComponent("<settings><precision>0</precision><background><alpha>100</alpha><border_alpha>20</border_alpha></background><legend><align>center</align></legend><pie><y>50%</y><start_angle>0</start_angle><outline_color>FF0000</outline_color></pie><data_labels><show><![CDATA[<b>{title}, {percents}%</b> ({value})]]></show><max_width>150</max_width></data_labels><labels><label lid='0'><text>DIR</text><x>10</x><text_color>000000</text_color><text_size>28</text_size><align>center</align></label><label lid='1'><text>S&amp;E</text><y>220</y><text_color>FFFFFF</text_color><text_size>28</text_size><align>center</align></label></labels></settings>"));
         so.addVariable("chart_data", encodeURIComponent("<pie>
    *Narrative*
    <slice title='United States'>19544</slice>
    *Postfix*
    </pie>"));
         so.write("amcharts_1308229514469");
    </script>

    I think it's a problem with your CDATA section. Take that bit out and test again to prove whether it's the cause.
    Paul

  • NULL and Unspecified in Dashboard prompts after upgrading 10g to 11g OBIEE

    Hi All,
    We are working on OBI upgradation project from 10g to 11.1.1.6.5. We are facing one issue in Dashboard prompt level. If we can create Dashboard prompt on a column, its giving "NULL", "Unspecified" additionally. But, in 10g there are no extra values.
    And the 10g, 11g instances are pointing to the same database and there are no NULL, Unspecified values in Database level.
    Through some blogs and articles we found some solutions n are below.
    To remove NULL:
    -->Go to the Physical Column properties in Physical Layer and Disable the Nullable option by uncheck the box.
    -->Go to the Database Features in Physical Layer and disable value to NULL_SUPPORTED.
    -->Go to Edit Dashboard Prompt, in Choice List Values drop-down list select SQL Results.
    To remove Unspecified:
    -->Go to Edit Dashboard Prompt, in Choice List Values drop-down list select SQL Results, then write the SQL statements as columnname is not equals to "Unspecfied" ( In this way we can able to remove Null's also.)
    -->Go to Content tab of LTS, in Where clause write an SQL query to restrict Unspecified values.
    Note: CHeck with ETL, because if they maintains the Default value is Null when the Datatype is Character and they can maintain 9999 or #### if the datatype is Numeric. And check the Physical query and debug it carefully.
    But, we have very big Repository and we have huge no.of Dashboard prompts. So, its not an easy thing to manage by using above solutions. Correct me if there are any mistakes in above.
    Any ideas on this...?
    Appreciate your help on this..!
    Thanks in Advance,
    Raghu Nagadasari

    Hi Frnds,
    As of now, i found the only solution for the above mentioned issue that how to avoid NULL in dashboard prompt level:
    Go to the Physical Column properties in Physical Layer and Disable the Nullable option by uncheck the box.
    We have done this manually for all tables.
    Appreciate if u have any other ideas.!!
    Thanks,
    Raghu Nagadasari

  • Dashboard Prompt -- One Column Setting Multiple Presentation Variables

    Hi everyone,
    I've been playing with dashboard prompts, trying to get a deeper understanding of how the function.
    I created three dashboard prompts, all on the same column, account number. Each prompt defaults to a different value i.e. 1,2 and 3 respectively. Each prompt sets up a different presentation variable. PVAR1, PVAR2 and PVAR3 respectively.
    I created a report that referenced the three variables i.e. '@{PVAR1}', '@{PVAR2}', '@{PVAR3}'.
    I put all three prompts and the one report in a dashboard.
    When I view it, all of the prompts have the same value, value 2, however, only PVAR3 is setup. PVAR1 and PVAR2 are blank.
    Why aren't all three presentation variables set to the same value? Why is only one populated?
    Thanks for the help!
    -Joe

    Hi Joe,
    Thanks for posting this interesting question, I played around and found the same issue.
    This is my finding and hoping that this makes sense, The PV variables are set only when you hit a Go button. As there are 3 prompts in the question and all the prompts are build on the same column hence the values of the columns are the same, but only one variable is set. In my opinion the last prompt which got executed.
    I tried the similar thing with one more prompt with one Go button and VAR1 and VAR2 values got set but VAR3 was still black. But the 2 prompts had the same values.
    I believe since its the same column on which these prompts are build hence the issue of setting the values.
    Hope this helps,
    Sunil S Ranka
    Blog :: http://sranka.wordpress.com
    "Superior BI is the antidote to Business Failure"

  • Getting the dashboard prompt value

    Hello,
    I there a way on how can i get the dashboard prompt value when using other operators beside equal/is in. It seems that you can only set a presentation variable using the equal/is in operator.
    Also how can i get prompt value when using multi-select control?

    Hi. Yes, presentation variable is only for is equal to/is in.
    But no need to use other operators ( is less than or equal to, etc) if you want to write data in presentation variable, use equal/is in if you want to show data that is for example less and set presentation variable and in the report instead if IS PROMPTED write advanced SQL filter like:
    TABLE.COLUMN <= '@{pv}'
    You asked also how can to get prompt value when using multi-select control?
    No way to do that. But what do you need that information for. Lets say that you are able to do that and you put multiple values from multi-select into variable, where do you need to present that data? In the report? No need for that because the report is already filtered by it.
    Also check this one:
    Using multiple values row wise session variables in dashboard prompts and requests
    http://108obiee.blogspot.com/2009/10/using-multiple-values-row-wise-session.html
    Regards
    Goran
    http://108obiee.blogspot.com

  • Dashboard prompts for passing parameters to BIP reports

    We have BIP reports that we want to display on a dashboard.
    These reports are driven by parameters, which we need to display on the dashboard.
    From what I understand from the documentation, Dashboard prompts can be used for that with the presentation variable having the same name as the BIP variable.
    however, i am not able to get this to work.
    Our reports are not using any subject area and are BIP reports based on SQL query data sets.
    Our parameter is also based on a SQL query.
    Has anyone done this before? Any help will be appreciated.
    Thanks
    -anupma

    Check this
    https://blogs.oracle.com/xmlpublisher/entry/running_bip_reports_in_biee_wi

  • 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,
    Ramil

    Hi,
    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"

  • (All Choices) is not working in dashboard prompt

    Hi,
    I created a dashboard prompt with Drop-down list control using SQL Results. Now, when I execute it, I noticed that when (All Choices) is selected in the drop-down list, it doesn't work but if a particular item is selected, it is working fine..
    Help please..
    Thanks in advance :)

    Hi,
    check once this post...[http://108obiee.blogspot.com/2009/04/detecting-all-choices-from-dashboard.html]
    Think it can help you.
    Kr,
    A

  • 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,
    Sathyan

    Hi 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

  • "All Choices" in dashboard prompt

    Hello gurus,
    How can I rename the "All Choices" in the Dashboard prompt?
    Example: change to "All Countries"
    Thank you,
    Felicity

    hello,
    write union all select statement to get 'All Countries' in dashboard prompt as explained in above blog.. and assign a presentation variable: var_Country
    In filter section of report criteria...
    CountryColumn Is Prompted
    OR
    '@{var_Country}' = 'All Countries'
    By doing that your filter section (if you want to show in compound layout), will not look to be cluttered with case when..

Maybe you are looking for

  • Best use of disk drives for data transfer

    I have three different data "disk" drives on my system and I timed transferring 13 GB of data between. The drives are a standard 7500 RPM disk, a pair of 7500 RPM disks in RAID 0, and a solid state flash drive. The times in minutes and and seconds we

  • EAX enabled, two programs open, no sou

    Hey guys, I was wondering if anyone could help me with an issue of mine. I have a Soundblaster Audigy 2 ZS. Whenever I start up a game (such as World of Warcraft in this instance)and have EAX settings enabled (like the CMSS3D surround sound feature)

  • AP do not join WLC

    Hi , i have the problem that one AP in one location doesnt join the WLC. i checked DHCP scope options , time on WLC and AP etc. I also check all this issues: http://www.cisco.com/en/US/products/ps6366/products_tech_note09186a00808f8599.shtml I only s

  • Urgent Reset Question--???  --Help???

    I know if I reset my Ipod to correct a Problem I will lose all my Music. My Question is will all my library of songs reload, or will I have to re-buy all my music? Thanks for your help! Dell   Windows XP Pro  

  • CS5 upgrade re install problems

    Hi I have a new macbook pro and I am trying to re install my photoshop CS5,which is an upgrade from CS2,on this from the upgrade disc. As this is an upgrade disc I require the original CS2 to install. I am told I cannot use my copy of CS2 from my old