Weighted Average in Pivot View

Hi,
Can you please throw some light on the below scenario based on weighted average:
For Ex:
Cloumn1---Column2-----Column3
R1-----------Line Item1--10
R1-----------Line Item2--20
R2-----------Line Item3--30
R2-----------Line Item4--40
Now i am trying to achieve weighted average based on the group by of Column1.
10+20=30==>30/2=15
30+40=70==>70/2=35
Before raising this thread, i had a look at the below URL:
http://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/weighted-average-for-fact-column-values-1242947
Can you please let me know how we can achieve this in the pivot view(OBIEE 10.1.3.4.1).
Your help is highly appreciated.
Thanks in Advance
Siva

Hi,
Try-
AVG(measure_col by column1)
And try making in the column formula -Aggregation Rule (Totals Row)-->Average
And also try making the aggregation rule in the pivot table of the column as-->Average
Hope this helped/ answered.
Regards
MuRam
Edited by: MuRam on Jun 11, 2012 4:46 AM

Similar Messages

  • Help on Pivot View

    Hi Experts,
    I have a requirement where i have to use the pivot view to get the particular days employee transactions happening in the system.
    I have a measure called Total which is sum of new joinees to the company.
    I have a calculated item WTD-Net in the measure field of pivot where i need to calculate the week to date average.
    i.e. For Monday the formula is Total *(7/7)
    Tuedsay = Total*(6/7)
    Wednesday= Total*(5/7)...............
    Sunday = Total*(1/7)
    How can i acheive this.
    In the new caluclted item i can give only formula for one day.
    Please help me
    Or the other way i thought of getting the solution was
    Create seven pivots respectively for seven days.
    And when user selects the day in the prompt then he/she shud be able to see only the particular days dashboard.
    That is if he selects Monday then he shud see the transactions only for Thursday and the WTD-Net he will see for thursday will be Total*(4/7)
    Appreciate your immediate response.
    Regards,
    Veena A
    Edited by: mithuu on May 11, 2009 2:10 AM

    use
    1.00*(7- mod(12+dayofweek(Time.Date), 7))/7

  • SSM - Doing a Weighted Average in Time Series Consolidation

    Hi,
    We have a requirement wherein the Yearly/ YTD View of a scorecard has to be a weighted average of the Quarterly Values.
    Please let me know if there is any way to implement this while doing a time series consolidation.
    Thanks,
    Peeyush

    Hi Peeyush,
    You can use the following standard methods for time consolidation:
    SUM,
    FIRST DATA VALUE,
    LAST DATA VALUE,
    INCLUSIVE AVERAGE,
    EXCLUSIVE AVERAGE,
    WEIGHTED ON ANOTHER MEASURE
    The command in IDQL to set the time consolidation for a measure  to WEIGHTED is the FOLLOWING:
    SET VAR kpi1 WEIGHTED kpi2
    You can also use the Measure Properties dialog box (in the tab 'Numeric') to set this property. You may need to first issue the command SET SHORT in IDQL in order to correctly choose a variable selected from the dropdown list.
    If the measure kpi1 is monthly, for example, then the quarterly and yearly values will now display as weighted average with kpi2.
    Hope this helps!
    Best regards!
    Ricardo

  • CR with Weighted Averages into Live Office

    hello all,
    has anyone got weighted average summaries working in live office. it works for me fine in CR, just does not come out in LO when i load the CR. the records are present with a blank/null in the field where it should be. CR runs fine, and it's latest instance can be viewed with the data in it. so how comes LO cannot see the data.
    i know there is an FP3 or something out, but not sure if it will fix this. i am reluctant to run the FP due to the lack of SAP support.
    if there is someone that has done this and can show me how, that would be a great help.
    thanks
    g

    Hi,
    Some additional info: It seems .unx is not fully supported with LiveOffice 4.0 - an enhancement has been registered on Ideas Place: https://cw.sdn.sap.com/cw/ideas/3578
    I have also seen it that WEBI on BICS never pulls the prompts (SAP Variables) through into Live Office.  There is a documentation fix in process to explicitly mention this limitation.
    Regards,
    Henry

  • Issue in pagination of pivotal view (10 rows per page)???

    Hi All,
    I’m implementing pagination in pivotal view, report has to show 10 records per page.
    Report has to show for 8 weeks data per employee and 10 employees information per page, however report is displaying data for more than 10 employees and for a week single week, in second page its showing for 2 week and so on ….
    I used all the following functions however issue persists.
    1. FLOOR(RCOUNT(1) /10)
    2. CEILING((RCOUNT(1))/10.0)
    3. TRUNCATE((RCOUNT(1)-1)/10, 0) +1
    4. CASE when rcount(1)<11 then '1-10' when rcount(1)<21 then '11-20' when rcount(1)<31 then '21-30' else '30+' end
    Any suggestions
    Thanks,
    SMA

    Look in criteria add one more column
    in FX write this formula
    Go to the formula window of this column and enter the formula shown below
    CASE WHEN RCOUNT(1) < 11 THEN ‘1-10′
    WHEN RCOUNT(1) < 21 THEN ‘11-20′
    WHEN RCOUNT(1) < 31 THEN ‘21-30′
    ELSE ‘30+’ END
    Once this is done, drag and drop this column into the Pages section of your pivot table. Now you can paginate through your pivot table report.
    let us know if its solve your problem
    Thanks

  • A better way to Re-Order the Sort in Pivot view ?

    Hello,
    Question first- Is there a better way to do this?
    Background- Have a simple pivot table w/ requirements to put the Status column in order that makes sense to the business not alphabetical.
    Example, # of Service Req with Status needs to be listed as Assigned, Accepted, Completed, Closed, Re-assigned.
    My solution was to create a column iin table view, use a CASE statement to say when Accepted =1 etc. I then sorted ASC, hid the column in table view and then pivot view I added Status column and hid the new CASE column. I am getting the results I expected but I was wondering if there was a better way to do this?
    Thanks- Neally

    As far as the Presentation Layer is concernd (i.e., in Answers) your way is the best I can think of. The only way you can sort a list of values apart from a way the system could automatically determine (e.g., alphabetically, chronologically, numerically, etc.) is to create your own definition. Without human intervention or customized rules, there is no way any system would know that "C" should come before "S" (as in "Assigned" and "Accepted", or that "O" should come before "L" as in "Completed" and "Closed").
    Since the system knows how to order numbers (e.g., 1,2,3, etc.), it makes sense to create your "rule" (using your CASE statement) to assign each status level to the appropriate "number" in the sequence.
    That's what I would do. The only addition I can add is you could do this in the rpd by adding an "order" column to your LOVs in the table and exposing that as a column in the Presentation Layer. Then you can use that order column as the sort.

  • Reg: Excluded Section in Pivot view

    Hi,,
    can any one telme..
    how exactly the 'Excluded Section' in the pivot view, will effect the entire report.
    In one of my report when i place one column in excluded section, one set of data is coming, when i remove that column in the Excluded section , data is effecting and its changing...why this is happening??

    Even if the column is excluded in pivot, it will be there in the query sent to database. If you exclude an attribute, and if it changes the granularity of the report, you have to make sure you set aggregations properly in pivot measures, otherwise you can get unexpected results, and individual row level or even grand totals.
    Edited by: A. Kumar on Apr 2, 2013 1:26 PM

  • Exclude the value 0 records in the pivot view obiee 10g

    HI,
    I have a requirement.,i have report circuit and outage time by month in a pivot view.If one circuit have a '0' outage time in all months then i want to exclude the record from the display.Is there anyway to display the data like this....
    thanks,
    prassu

    circuit   April may jun
       1          0   0     10   
       2         0     0     0
       3         0     4    1
    my question is  for circuit 2 all months we have outage 0.so i want to exclude the record , if we select Quarter 2.
    And  exclude 3 if we  select April....etc

  • Download to Excel is hiding rows in a pivot view

    Hello ,
    When downloading a report to excel from OBIEE Dashboard , certain rows are getting hidden . For instance , I have total 15 rows in my pivot view and when I download that report into excel format , the rows from 8-13 are not showing up . After 7th row I see 14th row .
    But when I download the same report from Answers I can see all rows in the pivot view .
    I tried looking at the formatting options of the pivot view and everything is normal . This is happening only with this particular report , other reports in dashboard download normally .
    Please let me know if anybody has ideas .
    Thank you
    Karthik

    karthik,
    From where ur downloading to excel ...use the download option available at "preview " button ,if you are using the same go with report links download button option
    Last option create a new report (without any filters in case if u have)
    Thanks,
    Saichand.v

  • Can't see Pivot view in Navigated report.

    Hello all-
    I have a main page report and a navigated report which is linked to one column of main page report.
    I used Pivot views for boh the reports.
    However, I could see Pivot results on dashboard for main report but, When I navigate to the second report, it is not being shown in Pivot view ( I need Totals which can be obtained through pivot view).
    Where do I need to check?
    Thanks

    Insted of giving navigation to a report give navigation to a page.Create a separate page for the navigated report(pivot) and hide the page.Then try it will work.

  • Issue in calculating sum on a column at the end of the report in Pivot view

    Hi,
    I have some columns like Hierarchy column A, Non Hierarchical columns B, C and a measure D.
    In Pivot view under rows I have placed columns A,B and C in Columns and D in measures. If I try to calculate sum of values at the end of report by using option Sum At the End on columns we are getting an error that grouping by function should be in the select clause of the query.
    If I duplicate the column C and put it in rows then I am able to see totals at the end but values are displayed in multiple rows and it won't meet our requirement.
    Any suggestion or workarounds on this will be helpful.
    Thanks,
    Vj

    Hi,
    let me explain it better..
    Col A: GL Segment Hierarchy which will display Level1 to Level n Names
    Col B: Level n Code.
    Col C: Fiscal Period
    Col D: Amount
    Now col A and B are in Rows, col c in columns and col D in measures in a pivot view.
    Issue is we are unable to have total of measure values at the end of report by using sum at the end.

  • Rows per Page for PIVOT view.

    Hi,
    Is there any way we can show limited no of rows in pivot. Rows per Page for PIVOT view.
    on the click on next one should move to the next page.
    Thanks

    Pagination in Pivot Solves your problem at UI Level only.
    Below is the link that guide you how to implement Pagination in Pivot:
    [http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/]
    Hope it helps you..
    -Vency

  • Row count in Pivotal View (10 rows per page)

    Hi
    I tried following options to restrict row count in Pivotal view of a report, however the out put is inconsistent in pivotal view.
    1. CEILING((RCOUNT(1))/10.0)
    2. TRUNCATE((RCOUNT(1)-1)/10, 0) +1
    3. Even Case statement also
    Appreciate the help extended

    just a note now its ok..i think its a transactional database ....some how the data has changed it modified the query and ur getting correct results am i correct ?
    think of a solution to get a bug free report ;)
    thanks,
    Saichand.v

  • How to download the pivot view to the excel sheet with all features

    Hi,
    Using discoverer, my co-worker is able to download the pivot view to excel sheet with all enabled features, like pivot table in excel.
    Is this can be done in obiee? if this feature is present in obiee, plz will you explain me how to do in obiee? its urgent.
    Thanks,

    Hi abc,
    I don't think BI office plug-in supports you the pivot table features of MS Excel.
    Even if you import a pivot table from BI, it is rather treated just as a table in Excel
    Regards,
    Raghu

  • Page Totals in Pivot View

    How to generate page totals in pivot view?
    Can you please help me ASAP?
    Regards,
    Sanx

    I want to achieve this http://gerardnico.com/wiki/dat/obiee/answer_xml but with the version 11.1.1.6.6 .

Maybe you are looking for

  • Case Cracks on white MacBooks

    Hi all, Can anyone out there tell me if the early 2008 (the latest white 2.4GHz MacBooks) have been subject to the case cracks as the earlier whites were? Are there any other problems that seem specific to the newer white models? Thanks for any comme

  • Hard Drive Ejection Problem

    I have a 2 tb western digital external hard drive that ejects from my mac almost as soon as I put it in. I formatted through the mac disk utility with 2 partitions... one htfs for time machine and one fat for transfers between windows and mac. Now ev

  • Files Need to be Picked from the Webservice.

    Hi Gurus, Have a requirement , Need to Pick the Files from the Webpage . Please suggest me what adapter i have to use and what congifurations need to be done over here. Thanks and Regards, Ram.

  • The 955X Platinum is in the mail!! ----Photos are Up!

      Update 3/22/06    Check out the New Photos I just got up!    Well I finally order the 955X P., Got it off newegg.com for like $173    I was going to buy the 945P Platinum but the 955X just caught my eye, oh and it was only $14 bucks more than the 9

  • How do o chang the payment method from credit card to voucher

    Need help!!