Crosstab - Data point (aggr & non-aggr items) problem

Dear Gurus,
I need your experice on this plz !! ( I am new to Discoverer)
I need to create one crosstab report which should display on the left side: (country) , on the Topside: (Operator)
And on the Data point: Rate_per_Min, (Sum (Duration_Min)),(Sum(Cost)).
now the problem that the crosstab is by default do the sum of (Rate_per_Min), but I dont want to get the sum,,, I want it to display rate_per_Min normally without doing the Summation. and if the is more than one rate it should present that in different row with respect to the same Country (leftside)
Can Any one Advice plz...
thanks in advance..
Neo

Hi Neo,
Have you tried this?
Top Row: Datapoints ONLY
Left Columns: Country, Operator -- It's generally a bad idea to have many columns going to the right. It makes the data unreadable from a user perspective and causes too many columns to be displayed which will probably degrade performance at some point. This is why I suggest putting Operator here instead of in the Top Row. I am guessing Operator may refer to people which can grow to be many different people. As far as the calculations suggested below, they should work whether operator is at the top or the left.
Datapoints might be calculated as follows:
Duration_CALC = SUM(Duration)
Cost_CALC =SUM(Rate_Per_Min times Duration_CALC)
Rate_Per_Min_CHAR = TO_CHAR(Rate_Per_Min) == This forces a character to display in the datapoint area but still looks like a number but isn't treated as a number. That is, SUM should be ignored and individual rows should be displayed. I think this will allow multiple rows to appear on the report and the two CALC SUMs to calculate per each row shown. This might confuse users though, because this will look like a number column when it isn't.
As I stated before, there are probably many ways to handle this. This is just another possibility.
To your point on aggregation, yes,that's a tricky subject in Discoverer. There have been many posts that have addressed this issue but I didn't look them up for you. This is also covered fairly well in the user guide - see this site: http://www.oracle.com/technology/documentation/discoverer.html . Metalink should return some hits as well.
You sounded anxious in your first post. I hope this is moving you towards a solution.
Regards,
Nancy

Similar Messages

  • First Date on sales Order Line item problem

    I am having a problem with understanding why am I getting different First Date at the line Item every time I create an order using VA01.
    Our lead time for order type OR is set to 3 days in the TVAK table and field VLAUF.
    If I go to VA01 and enter a sales order OR, the date should be today's date (04/02/2014) + 3 work days = 04/07/2014 because 04/05/2014 is a Saturday.
    Today when I calculate the order it brings in the first date as 04/05/2014 in some cases.
    But if I put in the Sales Org in the VA01 screen along with the order type OR, the first date comes in as 04/07/2014.
    Can someone please  explain it?

    """""Users may or may not enter the sales org when creating an order"""""
    You cannot create a sales order without the sales organization.....
    Even though you missed system will always redetermine after entering the Sold to party number in sales order from your master data...
    Phanikumar

  • 'Strange' naming restrictions none databound items in search

    I have a none databound item, which I want to use for an advanced search
    I want this to map to a variable in the ViewObject. I provided the query bind parameters for this in the JHS group under bindparameters.
    The attribute on the ViewObject is called ‘weekNummer’.
    Now what I did was create a group in JHS which is called ‘Weekoverzicht’
    I added a new item on the JHS group (WeekNr), since the attribute is not databound I don’t fill the attribute name. The attribute is a choice populated by a domain.
    Now when I first tried this page it failed, claiming the attrribute ‘WeekoverzichtWeekNr’ Does not exist.
    Which is true ofcourse, I was looking for a way to point the none databound item to the attribute weekNummer. I could not find this option, so I decided to run it and see what happend.
    What I did next is rename the attribute on the ViewObject to ‘WeekoverzichtWeekNr’ and reflect this in the query and bind parameters.
    Now it works fine but the naming convention is a bit weird, It has to be named <groupname><itemname> which is a form of tight coupling I’m not really happy with.
    Basically an option to ‘bind’ none databound items to an attribute directly would be very nice.
    Was this intended or do I just fail at using JHS?
    Anton

    The generated jspx is the following:
    Note that I added the binding post gen for supplying a dynamic default search value which I mentioned in another thread on this forum.
    <af:selectOneChoice id="SearchWeekoverzichtNummer" value="#{searchWeekoverzicht.criteria.WeekoverzichtNummer}" binding="#{WeekoverzichtBacking.currentWeekYear}">
    <af:forEach var="row2"  items="#{bindings.WeekData.rangeSet}" >
      <af:selectItem id="SiAsWeekoverzichtNummer" label="#{row2.Weekstring}" value="#{row2.Weeknummer}"/>
    </af:forEach>
    </af:selectOneChoice>  The corresponding generated bean code is the following.
    <managed-bean>
      <managed-bean-name>searchWeekoverzicht</managed-bean-name>
      <managed-bean-class>oracle.jheadstart.controller.jsf.bean.JhsSearchBean</managed-bean-class>
      <managed-bean-scope>session</managed-bean-scope>
      <managed-property>
        <property-name>bindings</property-name>
        <value>#{data.WeekoverzichtPageDef}</value>
      </managed-property>
      <managed-property>
        <property-name>searchBinding</property-name>
        <value>#{data.WeekoverzichtPageDef.advancedSearchWeekoverzicht}</value>
      </managed-property>
      <managed-property>
        <property-name>searchItem</property-name>
        <value>WeekoverzichtNummer</value>
      </managed-property>
      <managed-property>
        <property-name>dataCollection</property-name>
        <value>CasWeekOverzicht</value>
      </managed-property>
      <managed-property>
        <property-name>autoquery</property-name>
        <value>false</value>
      </managed-property>
        <managed-property>
        <property-name>findModeIters</property-name>
          <list-entries>
            <value>#{data.WeekoverzichtPageDef.WeekoverzichtIterator}</value>
                </list-entries>
      </managed-property>
          <managed-property>
        <property-name>operators</property-name>
          <map-entries>
         </map-entries>
        </managed-property>
    </managed-bean>Where the searchItem tag holds the value which I need to name my bind variable on the view object.
    I think I called it attribute on the ViewObject earlier which is wrong ofcourse, its bind variable.
    I know where to find them, but I always forget the names...
    I can live with it, although its not 'pretty'

  • Interpolated Data-Connecting Data Points

    Does anyone know how to connect data points that are not sequential? For example, if I have a column with 15 cells and data in cells 1, 5, 8, 10, and 15. When I chart that data, I want those points to be connected with a line, rather than plotted as individual points. In Excel, you select interpolated from the main preference menu under charts. I've searched interpolation and have not found anything. I'm wondering if this function is called something different in Numbers?

    The first method I posted works well if you don't need the "blank" categories/rows taking up space on your chart. But if you need to see the "blank" categories/rows, I have a table that I think will do a straight-line interpolation for you. I'm not sure it is error free but, if not, it'll be obvious when you chart it. I'm also not sure it was the simplest way to do it but a lot of the complexity was a result of my making it easy to add new rows to the bottom. I tend to brute force things so if someone has a simpler solution, I hope they post it.
    Copy the table to your spreadsheet. Copy your data to the X and Y columns and your category labels to Column A. If you only have Y data then the X's must be a numeric series (like what's in the table now). Plot your X-Y (or Y-only) data as one series and the interpolated column as another series. Change the interpolated data points to "none" and change the line color if you want to (which I did not do below).
    http://files.me.com/pwb3/zk3o46.numbers.zip

  • How to query non database items

    hi every one
    I have database block has database items and non database items
    i want to make query in that non database items to retrieve data by that non database items and database items
    thinks

    Hi Every one
    I want to use the non databsae item in query to retireve data by it
    Example
    In table emp
    emp_id
    emp_name
    Dept_id
    But in Form
    Emp_name
    Dept_name
    When endtr data open lov to retireve Emp name and emp id
    and when enter department name in table enter dept id but in form user see dept name in form .
    but if he try to use dept name in query he can't because it non database item .
    How can i use this item in my query to retireve data by dept name ?

  • Add Tooltip to Data Point

    Hi,
    I was wondering is it possible to add a Tooltip containing text (not the (X,Y) values) to a datapoint. I'm using VS2010.

    This example uses a structure to associate a text string with each data point.
    Imports System.Windows.Forms.DataVisualization.Charting
    Public Class Form2
    Structure myData
    Public y As Single
    Public text As String
    End Structure
    Private MyDataList As New List(Of myData)
    Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Dim d As myData
    For i = 1 To 12
    d.y = 5 * Math.Sin(i / 2)
    d.text = "Text Data: " & i.ToString
    MyDataList.Add(d)
    Next
    Label1.Text = "Select a Point"
    'setup the chart
    With Chart1.ChartAreas(0)
    .AxisX.Title = "Time"
    .AxisX.MajorGrid.LineColor = Color.LightBlue
    .AxisX.Minimum = 0
    .AxisX.Maximum = 14
    .AxisX.Interval = 2
    .AxisX.LabelStyle.IsEndLabelVisible = False
    .AxisY.Title = "Value"
    .AxisY.MajorGrid.LineColor = Color.LightGray
    .AxisY.Minimum = -6
    .AxisY.Maximum = 6
    .AxisY.Interval = 2
    .BackColor = Color.AntiqueWhite
    .BackSecondaryColor = Color.White
    .BackGradientStyle = GradientStyle.HorizontalCenter
    .BorderColor = Color.Blue
    .BorderDashStyle = ChartDashStyle.Solid
    .BorderWidth = 1
    .ShadowOffset = 2
    End With
    Chart1.Series.Clear()
    Chart1.Series.Add("Monthy Data")
    With Chart1.Series(0)
    .ChartType = DataVisualization.Charting.SeriesChartType.Line
    .BorderWidth = 2
    .Color = Color.Blue
    .MarkerStyle = DataVisualization.Charting.MarkerStyle.Circle
    .MarkerSize = 8
    .IsVisibleInLegend = False
    For m = 1 To 12
    .Points.AddXY(m, MyDataList(m - 1).y)
    Next
    End With
    End Sub
    Private Sub Chart1_MouseDown(sender As Object, e As MouseEventArgs) Handles Chart1.MouseDown
    Dim result As HitTestResult = Chart1.HitTest(e.X, e.Y)
    If result.ChartElementType = ChartElementType.DataPoint Then
    Chart1.Series(0).Points(result.PointIndex).XValue.ToString()
    Label1.Text = MyDataList(result.PointIndex).text
    Else
    If result.ChartElementType <> ChartElementType.Nothing Then
    Dim elementType As String = result.ChartElementType.ToString()
    Label1.Text = "Selected Element is: " & elementType
    End If
    End If
    End Sub
    Private Sub Chart1_MouseMove(sender As Object, e As MouseEventArgs) Handles Chart1.MouseMove
    Dim result As HitTestResult = Chart1.HitTest(e.X, e.Y)
    ' If a Data Point or a Legend item is selected.
    If result.ChartElementType = ChartElementType.DataPoint Or result.ChartElementType = ChartElementType.LegendItem Then
    ' Set cursor type
    Me.Cursor = Cursors.Hand
    Else
    If result.ChartElementType <> ChartElementType.Nothing And result.ChartElementType <> ChartElementType.PlottingArea Then
    ' Set cursor type
    Me.Cursor = Cursors.Hand
    Else
    ' Set default cursor
    Me.Cursor = Cursors.Default
    End If
    End If
    End Sub
    End Class

  • Workbook having non-aggregated items

    When I created a workbook for a client using Discover 4.1 user edition I encountered a problem stated "join configuration can not be resolved. Reason: more than 1 detailed folders uses non - aggregated items. How can I resolved this issue??
    Thanks

    The Administrator should try to set up the joins such that the relationships are defined in terms of going from the Dimension to the Fact. For Relational Schemas, try to define the joins so they originate from the "one" side to the "many" side - assuming a 1-m relationship. This has provided some measure of success in resolving the join/non-aggregate items problem, but I must admit that it doesn't appear to be a Total solution. I suspect there's more to it than what I've just described, because I still encounter the error under certain conditions. I'm usually able to select from the available joins I've defined such that I can build workbooks with the elements the client wants to see. But ideally, you shouldn't have to go through the process of identifying the "correct" join definitions - especially if the clients are attempting to build their own workbooks. If anyone has additional information that would better clarify the problem/resolution, I'd be happy to hear about it.

  • Stacked 100% bar chart - Problem with datatips for zero value data points

    I have a stacked 100% bar chart that shows datatips in Flex 4.   However, I don't want it to show datatips for
    data points with zero values.   Flex 4 shows the datatip for a zero value data point on the left side of a bar if the data point is not the first in the series.
    Here's the code that illustrates this problem.    Of particular concern is the July bar.    Because of the zero value data point problem, it's not possible to see the datatip for "aaa".
    Any ideas on how we can hide/remove the datatips for zero value data points ?        Thanks.
    <?xml version="1.0"?>
    <s:Application
    xmlns:fx="
    http://ns.adobe.com/mxml/2009"xmlns:mx="
    library://ns.adobe.com/flex/mx"xmlns:s="
    library://ns.adobe.com/flex/spark"creationComplete="initApp()"
    height="
    1050" width="600">
    <s:layout>
    <s:VerticalLayout/>
    </s:layout>
    <fx:Script><![CDATA[ 
    import mx.collections.ArrayCollection;[
    Bindable] 
    private var yearlyData:ArrayCollection = new ArrayCollection([{month:
    "Aug", a:1, b:10, c:1, d:10, e:0},{month:
    "July", a:1, b:10, c:10, d:10, e:0},{month:
    "June", a:10, b:10, c:10, d:10, e:0},{month:
    "May", a:10, b:10, c:10, d:0, e:10},{month:
    "April", a:10, b:10, c:0, d:10, e:10},{month:
    "March", a:10, b:0, c:10, d:10, e:10},{month:
    "February", a:0, b:10, c:10, d:10, e:10},{month:
    "January", a:10, b:10, c:10, d:10, e:10}]);
    private function initApp():void {}
    ]]>
    </fx:Script>
    <s:Panel title="Stacked Bar Chart - Problems with DataTips for Zero Value Items" id="panel1">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <mx:BarChart id="myChart" type="stacked"dataProvider="
    {yearlyData}" showDataTips="true">
    <mx:verticalAxis>
     <mx:CategoryAxis categoryField="month"/>
     </mx:verticalAxis>
     <mx:series>
     <mx:BarSeries
    xField="a"displayName="
    aaa"/>
     <mx:BarSeries
    xField="b"displayName="
    bbb"/>
     <mx:BarSeries
    xField="c"displayName="
    ccc"/>
     <mx:BarSeries
    xField="d"displayName="
    ddd"/>
     <mx:BarSeries
    xField="e"displayName="
    eee"/>
     </mx:series>
     </mx:BarChart>
     <mx:Legend dataProvider="{myChart}"/>
     </s:Panel>
     <s:RichText width="700">
     <s:br></s:br>
     <s:p fontWeight="bold">The problem:</s:p>
     <s:p>Datatips for zero value data points appear on left side of bar (if data point is not the first point in series).</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">For example:</s:p>
     <s:p>1) For "June", eee = 0, mouse over the left side of the bar to see a datatip for "eee". Not good.</s:p>
     <s:br></s:br>
     <s:p>2) For "July", eee = 0 and aaa = 1, can't see the datatip for "aaa", instead "eee" shows. Real bad.</s:p>
     <s:br></s:br>
     <s:p>3) For "Feb", aaa = 0, datatip for "aaa" (first point) does not show. This is good.</s:p>
     <s:br></s:br>
     <s:p>4) For "Mar", bbb = 0, datatip for "bbb" shows on the left side of the bar. Not good.</s:p>
     <s:br></s:br>
     <s:p fontWeight="bold">Challenge:</s:p>
     <s:p>How can we hide/remove datatips for zero value data points?</s:p>
     <s:br></s:br>
     </s:RichText></s:Application>

    FYI.
    Still have the issue after upgrading to the latest Flex Builder 4.0.1 with SDK 4.1.0 build 16076.   
    Posted this as a bug in the Adobe Flex Bug and Issue Management system.     JIRA
    http://bugs.adobe.com/jira/browse/FLEXDMV-2478
    Which is a clone of a similar issue with Flex 3 ...
    http://bugs.adobe.com/jira/browse/FLEXDMV-1984

  • How to delete the Data Points label with a crosstab layout

    Hi, just a question.
    I created a report which uses a crosstab layout; so...I have the Company Name on the left, Status Code above and the Count(tickets) as Data Points.
    As soon as I put the Count(tickets) inside the report, the label "Data Points: Incident Id Count appears above just at the bottom of the Status Code
    Is there a way to avoid this tedious label ?
    As workaround, I changed the Data Points' format heading (text and background) in such a way to see only a Grey space...but this is not so useful (from the customer side...)
    I also looked for inside the crosstab layout properties...but I didn't found nothing.....
    Any help will be appreciate
    Alex

    Well, I think you are out of luck. You are basically saying you want to control when you have a column heading and when you don't want to have a column heading. Most of us users do want column headings in our reports. In fact I have a hard time trying to figure out why you don't want a column heading. How are the report users going to know what the numbers in the column mean if you don't have a heading on the column? Maybe the initial users of the report know, but what happens when they leave and someone else takes over their duties? I would suggest putting in an enhancement request for Discoverer to give you the option to not display a column heading, if you really want something like this. This needs to be at the workbook level, I am thinking.
    John Dickey

  • Schedule line confirmation date for 3rd party sales( non stock item)

    Hi ,
    While creating an sales order i have a stock  item and 4 non stock items . All the non stok items are similar to 3rd party sales as they are services . While created the sales order for the no stock item the confirmed schedule date is given as 12 days in the future or in one case after month .
    Can  someone please help me in understanding how the dates are being calculated . I havent created any PO for the non stock items.
    I would like the confirmed date to be picked as the system date.

    Hi,
    There can be multiple reasons for this.
    You have not mentioned the material type. Anyhow, first check Material Master 
    Purchasing view> GR Processing Time field
    Sales / general Plant > Set up time and processing time field
    If MRP views are maintained
    In MRP2 View > Scheduling.
    In case you do not want availability check to be carried out
    Untick Availbility check and TOR check boxes in VOV6 for the schedule lines determined for these materials.
    Hope this helps.
    Regards,
    Sharan

  • Delivery date for Non stock items

    Hi,
    While creating Maintenance order for Non stock items in component screen planned delivery time fld comes. Here
    I put 10 days. But system creates PR with delivery date as today's date ie order creation date.
    Actually delivery date should be 20.09.2009.
    Waiting for your valuable inputs.
    Thanks
    Prasad

    Hi,
    The requisition delivery date is dependent on the operation start date. System does not consider the planned delivery time when calculating this delivery date.
    The delivery date is based on the following calculations:
    - The start date of the operation
    - Minus  Goods receipt processing time of the component
    - Plus or Minus  Lead time offset for the component in the order
    The above values can be adjusted to manipulate delivery date.
    As mentioned, It is also possible to influence this date by implementing exit COZF0002.
    -Paul

  • Problem in  BOM or component allocation for the Non- codified Item in a PO.

    Hi All,
    Please advise how to explode a BOM or Assign component in a Purchase order with Item category (L) for a Operation oriented material for which no material code is created from a production order .
    Actually in my scenario, no raw material component will send to the Sub -Contract Vendor. Only Assembled operation material lets say operation 20 from a routing ( which is not having material code ) from an In - house production from a shopfloor has to be sent to the vendor to create a operation 30 material , which is also not having a material code." How to explode a BOM or component allocation for the Non- codified Item in a PO".
    Kindly give me the IMG settings for the above scenario.
    regards,
    YK

    Hi Prasobh,
    Tnx for your suggestion. But, the client external processing routing is not constant activity . Based on the Operation bottlenecks client is sending the operation as external Processing. For Eg., If on first order operation 20 be external , Then in second order operation 20 need not be external. operation 30 may go out for external processing. Client does not want a material code for each operation.
    Give your valuable suggestion.
    regards,
    YK

  • Problem with non-database item

    I have a 10g rel 2 form that has a post-query trigger that populates a non-database item. The non-database item has a when-validate-item trigger which I only want to fire when the user changes something in that field not at query time because it causes the form status to be changed. How can I either prevent this trigger from firing in query mode or test within the trigger that I'm in query mode so that the logic won't get executed?

    Put this at the top of your when-validate trigger:
      If :system.mode = 'QUERY' then
        return;
      End if;I have found that post-query activity often causes ALL when-validate triggers at the item and block level to run. So you may need those three lines in every when-validate trigger.

  • Error: there are non exicisable item with cenvat tax code

    I am getting an error message there are non exicisable item with cenvat tax code while trying to add po for pick and pack from sales order. I request all of you to help me with it.
    I have already checked if the item and ware house is exicisable in the check box of the master data.
    Best regards,
    Sandesh.Sreyamsh

    Thanks mahendra and rahul,
    Unfortunately my issue is not solved yet, the tax is not manually created it was created by sap during new company creation. I checked by adding other tax type in sales order but every time when I try to create sales bom it gives the above error.
    @ Rahul the tax is under cenvat type and the Items has been added under exercise transaction. here is what im trying to do
    I created a sales order for 4 of my items.
    Then i try to create po for two of my as pick and pack items by checking Purchase orders indicator under logistics tab of sales order.
    At this point i am getting the above said error.
    All the items i am trying to add is exisable and tax is also of cenvat type.
    Please help me out of this as im stuch very badly in this issue.
    Regards,
    Sandesh.Sreyamsh

  • Is it possible to add value item and non stock item in one billing?

    Is it possible to add value item and non stock item in one billing?

    Hi,
    Yes,it is possible .Take example of service scenario,where material used in servicing and service charges(labour) can be billed in single invoice.
    Billing document type,Customer and other header data should be same.
    Reward points if useful
    Regards,
    Amrish Purohit

Maybe you are looking for