Column display all values

I have a report that display's sales totals for a particular year and quarter. I have the report in a pivot table where the year and quarter are above the sales total. Therefore, 2009 1 is over a $50,000 sales total. However, if there is only one record for one year and one quarter then it only displays that one record. I need to display the range of year and quarter for 5 quarters into the previous year. i.e. if my currently year and quarter is 2009 1 then it will display 5 quarters back to 2008 1 such as:
2008 2008 2008 2008 2009
1 2 3 4 1
$0.00 $0.00 $0.00 $0.00 $50,000.00
Is this possible? thanks
Edited by: CoreAMXSiebel on Apr 20, 2009 10:58 PM

I'm not entirely sure what you mean. I think you are saying that I need an SQL statement that gets the current quarter and then parses out the other 5? I do have a filter that concats the the year and the quarter and then grabs anything that is the current year and quarter greater than or equal to the prior year.
i.e. CONCAT(LEFT(CAST("- Custom Object 2 Custom Metrics".S_INDEXED_NUM_0 AS CHAR), 4),"Custom Object 2".INDEXED_PICK_CD_2) >= CONCAT(RTRIM(CAST(YEAR(TIMESTAMPADD(SQL_TSI_YEAR, -1, CURRENT_DATE)) AS CHAR)),CAST(QUARTER(CURRENT_DATE) AS CHAR))
However this only works and pulls a year and quarter if there is a sales total value for that year and quarter. So if there is only one record with the year 2009 and quarter 1 then it only shows year 2009 and quarter 1.

Similar Messages

  • Presentation Variable - Display 'All Values' in Report Title

    If I create a Dashboard Prompt and then set it equal to a Presentation Variable, I then display this Presentation variable in the report title. For the Dashboard Prompt I allow them the 'All Values' choice, in fact, this is the default.
    The issue is displaying this in the Report Title, when it is 'All Value' nothing is display in the title, when they select a value such as 'Region D' then it works and this value will dispaly.
    I looked at the documentation and it says you can use a default value, however, setting up that still does not work. It still is blank.
    Has anyone seen this issue or know of a workaround? I'd like to have something like 'All Vales' display or is there a condition I could write to set this.
    Thanks

    Hi Guys,
    I have did the following in order to achieve your requirement:
    As usual, create a request with a column prompted and a dashboard prompt containing that column and set the Presentation Variable (ex: varDept)... bla bla..
    Placed them on the Dashboard to generate your issue, discussed...
    Now, what I have did is:
    1. Created one more Request with the column used on Prompt and specified the Formula to it as:
    CASE WHEN '@{Dept}'||'A'='A' THEN 'All Departments' ELSE '@{Dept}' END
    Note: Take 2 same columns (and hide one) because we are using above formula which does not contains the Column from any table.
    2. Created Narrative View and referenced the above Column.. @2 (in my case).. and specify 1 in 'Rows to Display' field. Do the formatting as required viz., specifying Font size, family....
    3. Place this request in between the Prompt and First Request..
    Now, you can able to see 'All Departments' if 'All Choices' is selected.
    Hope this idea will helps you guys..
    Regards,
    -Vency

  • Displaying All Values from a Multiple Value Parameter

    Hi,
    Using XI, I have a parameter field that allows the user to enter multiple values Eg. 01, 02, 13, 14.  I want to create a formula to display all the values the user has selected. 
    Is there a way to do this? 
    Thanks,
    Brian

    join({?Parameter},",")
    creates a string with the items in your parameter separated by commas

  • How to display all value of metadata from nodes collection model in content presenter template

    Hi All,
    first of all the new look of OTN is great.
    coming to problem i am facing (i dont know whr to ask here or in portal forum).
    i am creating a content presenter template to display list of items.
    now as per requirement i need to create a drop down to filter the list.
    now while check- in a file author would choose a value in one metadata field lets say xCategory(which is a single select list).
    i have to display similar category list on portal to allow user to filter list.
    i could hv used view of xCategory but problem is files are targeted to role using ACL. so u see i cant display all category to all users.
    also customer wants this whole thing to be Dynamic i.e. they can add value of xCategory later that to could be only for specific role (on portal it should be role specific , author can see whole list not a problem there).
    so what i think is if content is given as search result so the category. so now if i can get the all xCategory metedata from 'nodes' collection model in template i can create drop down with out having any additional bean.
    somthing like this
    #{nodes.xCategory} (but this one is not correct).
    please suggest me any solution.
    thanks
    -somesh

    Hi,
    you can do all of what you said with JSF. ADF Faces provides drag and drop functionality (have a look at the Web Developer Guide) that allow you to move nodes within a tree. The drag and drop framework sends an event notification to the server with a reference to the changed node.You can also have context menus on a tree node to help users creating, deleting and editing a tree nodes. JavaScript isn't required at all, even if you wanted to drag and drop a row in a table on top of a tree node to create a new tree node.
    I just finished a book project in which we explained this usecase. As soon as I find the time, I'll follow up with a blog entry on this as it seems to be a common requirement. However, as mentioned, the web developer guide on OTN explains drag and drop in ADF Faces pretty well.
    However, if you choose the "Search" link above, choose JDeveloper and ADF as the product to search for and type drag and drop as the search string, then you get lots of code sample posted in the past to this forum
    Frank

  • Filter not displaying all values

    When I attempt to filter a product code. the drop down list (under heading Expression) displays about 100 codes when in reality there are about 2000 values.
    I have changed the Maximum Rows per Page under Search Bar to 2000, but this still does not display all the codes.
    Is there a setting I am missing?

    I think that your description of the problem doesn't help a lot. Are you using interactive reports?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Report Painter -  Report not displaying all values

    Hi All,
    We are executing a report for Manufacturing variances by Product group which is created through report painter.
    In the output of the report in rows product wise data is displayed and columns are volume, price .. are there.
    Out of 8 products displayed in the report for one product volume is being displayed blank. But when I double click it is displaying actual line items,
    Can you please let me know why for one product it is showing blank inspite of data existing.
    Thanks
    Satish

    So the  report is actually showing undeterminable values..
    this is the prblem
    Ex in the report
    Col1    500 USD
    Col 2   200 USD
    Col 3   300 USD
    Col4    100 EUR
    Col5    300 USD
    In this case the system cannot show the total figure for the amount row because one of the amount is in EUR. So it shows a Black X in the EUR cell.
    That is the reason why you wont get this problem for one single company code but get this for multiple company codes.
    To avoid this use controlling area currency as the key figure so that all will be translated into one currency. Or unit of measure if you are dealing with quantities.
    Thanks
    Naveen

  • Report not displaying all values

    Experts,
      I am accessing BW report through portals .I have a variable  with drop down box in my report .When i click on the drop down box ,it is not showing only 200 values .
    but user want to see all  500 values in that drop down box.Is there any way to increase max no of hits.
    Any advice appreciated .
    Thanks
    Mano

    Manohar,
        try this code and let me know... directly insert  this code in HTML or In the properties of the Drop Down Web Item you could see "Maximum Number of the Displayed Values" assign this 0 in the Properties.
    or insert the cod ein HTML block:
    <object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="GET_ITEM"/>
         <param name="NAME" value="DROPDOWNBOX_1"/>
         <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
         <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
         <b><param name="MAXVALUES" value="0"/></b>
    ITEM:            DROPDOWNBOX_1
    </object>
    all the best.
    try this code and let me know.
    Regards,
    Nagesh Ganisetti.

  • Placing a cursor in multiplot graph to display all values at the cusor location

    We are currently using NI based DAq system which uses LABVIEW 7.1.We would like to know whether it is possible in LABVIEW 7.1 to place a cursor in a graph having multiplot that will disply all the values of parameters at the cursor location?

    If I understand the question correctly, yes, LabVIEW can display many parameters of a cursor, including the cursor position (in X and Y coordinates), the array index of the point to which the cursor is locked, the line and point style and thickness, etc. You can also read or set how a cursor locks and whether a cursor is visible or not as well as other properties of cursors. All of this is done using property nodes in LabVIEW and can be done with multiple plots and multiple cursors.
    TylerS
    Applications Engineer
    National Instruments

  • Parameters not displaying all values

    Hi,
    I have a parameter on a Discoverer report for selecting where the absence category is in a list of values. However, the list of values that you are able to select from is not complete, it's only a partial list. But if you type the values in manually it works fine.
    Does anyone have any idea why the list of values is excluding many of the entries?
    Thanks,
    Dan

    I think that your description of the problem doesn't help a lot. Are you using interactive reports?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to Add a New Filter Value in BEx WAD to Display All Result

    Hi experts,
    I want to add a new filter value in BEx WAD to display all data records. The scenario is as follows:
    The status field can have two values: Active ("A) and Inactive ("I").
    But the requirement is to have a third value to display all the data records (Active + Inactive). E.g. the value can be "G". The purpose is to increase the understandability for report users.
    Does anyone have an idea?
    Regards,
    Joon

    Hi Vineet,
    thanks for your reply. The problem is that there are only 2 values available for this Characteristic: "A" or "I".
    The requirement is to have a third value "G" (instead of the default "All Value") due to historical reason, because all future report users have been working with R/3 reports for quite some time and they are accustomed to using "G" for displaying all values.
    Is there any possibility to realize this?
    Thanks,
    Joon

  • Additional Field Infoset - how to display multiple values

    Hi all,
    I have created an extra field in an infoset and I can succesfully retrieve the value I need (with coding), only now I loop over a selection and then the last value that is retrieved is being displayed. How can you display all values of the selection, so you get several lines in the output?
    Many thanks!
    Nathalie

    I have a item list box and i have 3 enteries in it .If suppose i click on the first entry with out the action being called it displays the message but the same case is not getting happened with multiple value selection..means when i am clicking all the three fields none of the value is getting displayed. There is no action or no button created in for displaying the value which u click on.Can you tell me how to go on with this???

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

  • To display all the Nodes in a Binary Search Trees

    Hi,
    I want to traverse through all the nodes in a binary tree. I know that there are traversals like Preorder,Postorder,Inorder. But I am not able to write a recursive code for performing this operation. Can anyone please help me or give me an idea how to write a code to do any one of these traversal.
    Thanks a lot in advance.

    Hi,
    hmm .. how is a tree-node defined? - As so you have not posted a node-class, I will help you by demonstrating it for inOrder by normal language:
    The Idea is as follows:
    You have a root, that references to a tree-node. This tree-node has a value and 2 references to other tree-nodes, let's say they are named left and right. Because left an right are references to tree-nodes in the same way root is a reference to the tree-node, this fact can be used for recursive action on the tree.
    if you like to display all values in the tree, what do you have to do in a node?
    1. display the tree the left reference is pointing to
    2. display the value-Field
    3. display the tree the right reference is pointing to
    that is inOrder, assuming all lesser values are in the left tree and all greater are in the right tree.
    How to display the left and right trees?
    The same way you display this node, but this time you use the left / right reference as the node.
    So do it in pseudo-coding:
    void DisplayTree(NodeClass aNode) {
    if (aNode == null) return;
    DisplayTree(aNode.left);
    DisplayValue(aNode.value);
    DisplayTree(aNode.right);
    That is it - figure it out and try to write a program after this - good luck. To write one for pre-order and post-order should be easy if you have this one for inOrder.
    greetings Marsian

  • Finding all values in a given range

    @test.sql
    accept 1 num prompt 'enter begin value '
    accept 2 num prompt 'enter end value '
    How to display all values between the 'begin' and 'end' values ?
    I am using Ora 8i.

    Hi,
    In Oracle 8 (or earlier):
    SELECT  ROWNUM + &1 - 1
    FROM    all_objects
    WHERE   ROWNUM  <= &2 + 1 - &1
    ;Assuming the difference between &1 and &2 is no greater than the number of rows in all_objects (usually a few thousand). If you need more rows, cross-join all_object to itself.
    This will work in any version, but starting in Oracle 9 there's a better way.

  • Display all columns but only unique values in one column

    My table looks like this;
    ApprovalKey (PK)
    ApprovalCCN (Links to main table)
    ApprovalName
    ApprovalDate
    ApprovalMsg
    ApprovalResult
    Typical data would look like;
    Key CCN ApprovalName ApprovalDate ApprovalMsg ApprovalResult
    1 1 John Smith 12/12/2014 16:20:22 Testing the message False
    2 1 Andy Brown 12/12/2014 16:20:27 testing the decline False
    3 1 John Smith 12/12/2014 16:20:46 More testing True
    4 1 Andy Brown 12/12/2014 16:25:13 testing True
    5 2 Andy Brown 12/12/2014 16:25:26 testing the accept True
    6 2 John Smith 12/12/2014 16:34:04 testing, 1 2 True
    When I view data from linked table (matched via ApprovalCCN) It should display data from this table but only the latest unique entry from ApprovalName.
    eg, table from above has 4 entries for ApprovalCCN=1 but should only show the following;
    Key CCN ApprovalName ApprovalDate ApprovalMsg ApprovalResult
    3 1 John Smith 12/12/2014 16:20:46 More testing True
    4 1 Andy Brown 12/12/2014 16:25:13 testing True
    Distinct ApprovalName doesn't return all values and I can't seem to get my head around Group By to view all columns
    Any help would be appreciated

    Here is my test data;
    7 30 John Smith 12/12/2014 16:20:22 Testing the message False
    8 30 Andy Brown 12/12/2014 16:20:27 testing the decline False
    9 30 John Smith 12/12/2014 16:20:46 More testing True
    10 30 Andy Brown 12/12/2014 16:25:13 testing True
    20 30 David Jones 12/12/2014 16:25:26 testing False
    21 30 David Jones 12/12/2014 16:34:04 Testing the message True
    25 30 Me 12/12/2014 16:35:05 testing the decline False
    26 28 You 12/12/2014 16:36:05 testing the decline False
    27 28 Me 12/12/2014 16:37:05 testing True
    28 28 John Smith 12/12/2014 16:38:05 testing the decline False
    29 28 David Jones 12/12/2014 16:39:05 testing the decline False
    30 30 David Jones 14/12/2014 17:39:44 True
    31 29 David Sawyer 14/12/2014 18:51:06 declining the offer False
    32 29 David Sawyer 14/12/2014 18:51:37 My message False
    33 29 David Sawyer 14/12/2014 18:52:01 another message False
    34 29 David Sawyer 14/12/2014 18:52:16 True
    35 29 David Sawyer 14/12/2014 18:52:25 True
    36 29 David Sawyer 14/12/2014 18:52:34 True
    If ApprovalCCN=30 I get the following;
    10 30 Andy Brown 2014-12-12 16:25:13.000 testing 1 1
    30 30 David Jones 2014-12-14 17:39:44.000 1 2
    9 30 John Smith 2014-12-12 16:20:46.000 More testing 1 1
    25 30 Me 2014-12-12 16:35:05.000 testing the decline 0 1
    All I need is 3 Approved, 1 Declined
    Apologies if I wasn't clear

Maybe you are looking for