Wrong Grand total

In our database we 've data for a lot of departments. The department number is in almost every table part of the key. Each department has shops
In the login initialization block we decide which department we want to see information of.
When I make a small request eg. shop, turnover, I see all the shops from the department initialized in the ini. block.
But, when we want to make a grand total (in the same request) by pressing the summation sign on top, this grand total is the sum of all shops of all departments together. (not the only one department which is selected in the initalization block)
Is this a BUG?

Could you add dept =(dept from init block) in the fact table LTS content tab and see?

Similar Messages

  • Wrong Grand Total in 11g

    Please list out the solutions available to solve the Grand total issue.
    These are the problems Im facing.
    If I enable Grand total I find some rows missing in the report.
    sometimes if i apply any calculations in report(fx) grand total is wrong and again some rows missing.
    These same issues I faced in BISE1 and it is still continuing.
    Any solutions?

    Hi sneha,
    sometimes if i apply any calculations in report(fx) grand total is wrong and again some rows missing.Strange behaviour of missing rows,dint come across this......tell us the exact problem
    These same issues I faced in BISE1 and it is still continuing.How did you solve this issue in BISE1.
    By,
    KK

  • Table grand total

    hi, in physical layer, there are 4 physical tables.
    they are:
    region, area, city, value
    their relationship:
    region 1:n area
    area 1:n city
    city 1:n value
    in the Answer, if region and city are selected.
    it gives the correct results.
    the sql issued includes region.
    the "grand total" (the grand total imagebutton on the menu bar) of the table is also enabled.
    I found that the total result is not correct.
    I fount that the sql issued does not include the region.
    so it gives the wrong grand total result.
    are there any settings to correct it?
    thank you very much!

    hi,
    can u please uncheck the option Report-Based Total(when applicable), and then see the result.

  • Grand total showing wrong results

    Hello,
    I am having one prblem,using obiee 11g.
    Have a pivot table with 3 columns, one is month and other are showing numbers.
    For month we show the 2 number columns
    when i click grand total its showing the wrong total for the second number column.
    I really don't understand why its happening?
    Any help?
    Thanks

    Hi,
    Set Aggregation Rule as Server Complex Aggregate may solve your problem, ie goto
    Column -> Edit Formula -> Aggregation Rule -> Server Complex Aggregate
    Thanks,
    Balaa...

  • Measure Grand total is wrong

    Hi, 
    I found it is wrong for grand total of measure / calculated field? Here is my sample and data: 
    Here is the data:
    TotalForecast:=CALCULATE(SUM([Qty]), Table1[Data Type]="Forecast")
    TotalSales:=CALCULATE(SUM([Qty]), Table1[Data Type]="Sales")
    Diff:=[TotalSales]-[TotalForecast]
    ActualDemand:=if([Diff]<0,[TotalForecast],[TotalSales])
    Is there something wrong for my expression?
    Thanks
    Wilson

    The "problem" is that measures actually calculate individually for each cell in a pivot.  What that means is that technically the grand total row in a pivot is not related to the rows above it.  Intuitively, it seems like it is related
    because often times the grand total is what you expect.  This can be a little confusing at first but there are some blog posts out there that do a good job of explaining the concept.
    Your current measure is looking at the Diff only as it pertains to the grand total row.  It sees 9 and therefore returns the value of TotalSales.
    The quickest fix is probably just to add one more measure that forces your current measure to evaluate itself in the proper context:
    ActualDemand2:=
    SUMX(
    VALUES(Table1[Product Type]),
    [ActualDemand]
    In PowerPivot functions that end in "x" are called iterators.  They let you change the granularity of a calculation by cycling thru the individual rows of a table you specify.
    In this case, the table I am using is VALUES(Table1[Product Type]), which is a single column table containing the unique values of the Product Type.
    Now your measure evaluates the sum for each Product Type (which ends up being the 4 results showing in your pivot table above for each Product) and adds those 4 results together for Grand Total.

  • Wrong SSAS Grand Total Value Monthly Value base on Weekly Value

    Dear All, 
    I Have calculated measures in my cube base on Weekly and Base on Monthly and different
    Template Base .
    For grand Total Weekly is fine but for Monthly is bad one.
    Say calculated Measure Name "Weekly" with Syntax
    CREATE MEMBER CURRENTCUBE.[Measures].[Weekly]
     AS IIF(isempty([Measures].[Actual Quantity MTD]) or [Measures].[Actual Quantity MTD]=0 or isempty([Measures].[Original Plan Quantity  MTD])   , null ,
    IIF([Measures].[Original Plan Quantity MTD] =0 or isempty([Measures].[Original Plan Quantity MTD]),null,   
    IIF( 
     ([Measures].[Actual Quantity MTD]-[Measures].[Original Plan Quantity MTD]) > 0 , 1 ,[Measures].[Actual Quantity MTD]/ [Measures].[Original Plan Quantity MTD] ))) 
    The Result is good
    here the picture
    http://hpics.li/9fd22f2
    https://drive.google.com/open?id=0ByY5H-XcydgiWGp0RzdWYWp0M2c&authuser=0
    and for Monthly Calculation  it was AVG of Weekly base on Time, Plant, and PSL Dimension 
    My calculated Monthly Measure Name "Monthly" with Syntax
    CREATE MEMBER CURRENTCUBE.[Measures].[Monthly]
     AS AVG ( 
    DESCENDANTS([PSL].[PSL Description])*
    DESCENDANTS([Plant].[Plant])*
    DESCENDANTS([Finish Date].[Calendar],[Finish Date].[Calendar].[Month Year]) 
    , AVG(([Finish Date].[Calendar].CURRENTMEMBER.CHILDREN), [Measures].[Weekly]))
    The Result is Bad on Grand total 
    here the Picture link 
    http://hpics.li/5233b50
    https://drive.google.com/open?id=0ByY5H-XcydgicEhtT1FpekRsbW8&authuser=0
    Please help me why for the Result doesn't same. What do i Miss
    Thank You 
    Yan

    Hi Yan,
    According to your description, you create a calculated measure in your cube, the problem is that grand Total for Monthly is incorrect, right?
    In your scenario, the issue can be caused by that you used "*" and "/" in your calculated measure. In SSAS, one of the most common issues faced in mdx is grand total or sub total not coming properly when some arithmetic operations like
    measure1 [* or + or - or /] measure2 is used, please refer to the link below to see the details.
    http://vnu10.blogspot.jp/2011/01/mdx-grand-total-sub-total.html
    Regards,

  • SAP query in Grand Totalling in SQ01 wrongly calculation

    Dear All,
    I have created a  SAP query for getting few ledger accounts data in the clients specified format.
    But I am having a problem, that debit and credit amounts are getting added in the 'Total' field.
    The credit amounts are not getting substracted from the debit amount.
    For eg :
    CoCd     G/L          Year     DocumentNo      Amount in LC     Crcy     D/C
    1000     4071101020          2007     9600000002     3,300.00          H
    1000     4071101021          2007     9600001413     40,000.00          S
    1000     4071101022          2007     8000000000     2,020,012.80     H     
    Grand Total                                                                2,063,312.80     
    Where as total should be -1,983,312.80, where 'H' is credit and 'S' is debit.
    rgds

    Hiya,
    You may need to:
    1. Either group by the Debit/Credit Indicator (SHKZG), create two subtotals for each and then subtract one from the other, or,
    2. Multiply the Credits by -1 (again use the Debit / Credit Indicator to sort this for you) and then get a total field.
    This is an inbuilt problem with queries (SQ01, SQVI, etc.).
    Cheers.

  • How to create a Grand Total on a Multiple Page Document

    I have created a form that is 4 pages long. I created the form in WordPerfect and then converted it to pdf. Then I opened it into Adobe Professional 8. I had it automatically converted into LiveCyle. I would like to just add the total of the four pages to a grand total on page one but whenever I use FormCalc is says it doesn't recognized page 2. Have I done something wrong or am I missing a step somewhere. In the Hierarachy area it sees the form and the four pages. For some reason it doesn't seem to recognize it as one whole form. I'm not sure what the deal is. I have now created a subtotal for each individual page and each page will total separetly. But I can not get a grand total.
    I just purchased Adobe LiveCycle Designer book by J.P. Terry. It doesn't say anything about this. AHHHH! I need some help.

    Hi Carolin,
    You can check Purchase Order. It is a sample that Adobe delivers with LiveCycle Designer. It has a script that takes care about a calculation trough a multiple pages form.
    You should find the sample under :\Program Files\Adobe\......\Designer ES\8.2\EN\Samples\Forms\Purchase Order\Dynamic Interactive\Forms

  • Grand total values are not matching with Detail report

    Report has grand totals and when I drill to the detail report, grand total values are NOT matching with parent report totals, I did some analysis but I'm clueless on this issue.
    Please provide your thoughts and insight on this issue..
    Thanks

    is your summary and detail reports hitting different facts, like summary hitting aggregate and detail report hitting it's corresponding detail level fact..?
    if then,
    From Front-end:
    Fix the filter values in detail report that are passing from master report then try delete each columns then check the grand total. If you found your values is matching by deleting particular column then you need to investigate what is the issue around with that dimension table..
    From Database side:
    1. check first aggregate table has proper aggregate data of it's detail..
    2. Take the detail report obiee generated query and try to comment each dimension table and it's corresponding joins to the facts, (before, this delete all the dimensional columns and other measures from select statement and put only that measure where you are getting wrong value, so that you need not to comment all the select and group by columns which saves your time.. ). Need to check by commenting each dimensional wid and it's table from clause, if you found that values is matching then there is some problem with wid columns data population in your ETL.
    Is that BI-Apps project?
    btw, whtz ur name?

  • Navigation of Grand total in pivot table

    I’m currently working in report development Oracle BI wherein I need to develop a report using pivot table. I need to do summation at both row and column level and when clicked on the Grand Total level it should display entire resultset. According to the data clicked the filter condition is passed on to next level of report, but it displays no results at total level as the filter is passed as the same name ‘Grand Total’(column heading) instead of the actual values.
    Any pointers on this would be helpful to us.

    i am experiencing the same proble.I hope you are creating calculated item and you are clciking on measure value corresponding to calculated item.In that case it will pass calculated item name to child report .Correct me if i am wrong.
    I think it is not possible in that case to pass correct filters.Wait for others comments.
    Regards,
    Sandeep

  • Grand Total is Incorrect

    Hi,
    I am having some problems using Grand Total on calculated columns (presentation calculations) with a TOP 25 page filter.
    I basically have my calculated columns filtered by the Current Week repository variable, and then I want to add a filter to show only the top 25. That all works fine, but the grand total on my report is showing the total of all records, not just the top 25. If I add a normal (non-calculated) column from my subject area, the grand total works fine with the top 25 filter.
    Is there any explanation or workaround for this?

    Hello!
    I had the same problem, and this fix solve one part of my problem with grand totals.
    The other one is not solved:
    We have a strong request to compare total_year measures against part_year measures (dinamicaly navigated with dashboard prompt).
    I have a report in dashboard which includes 3 measures:
    - plan_year_total (which is created in admin as measure of sales and at time_dimension logical level is year - and this works ok)
    - sales_part_of_the year (which is navigated through dashboard prompt between)
    - plan_part_of_the_year (which is navigated through dashboard prompt between)
    Problem is when I want to show share in grand total row like:
    plan_year_total / sales_part_of_the year
    It gives out totaly wrong result.
    Is there any other idea or workaround?
    Gorazd

  • Hide column result in pivot grand total row

    Hello
    Do you know if it is possible to hide the result of a particular column in a pivot grand total row?
    I have several columns to which makes sense use a grand total row (as in a sum) but for others (such as average) it does not make sense in the light of the client business rules.
    Any help on this matter is highly appreciated :)
    Thanks in advance,
    J Marques

    I have a measure that represents the average time according to the dimensions it uses - and that works properly.
    However, the grand total for that column shows me the average of the average times above. This is not correct that is why I want to hide it.As said by kishore, In pivot go to that time average time column -> Aggregation rule -> None, This won't affect the column avg value.
    The grant total value will not come.
    By setting this, are you getting wrong values?
    Thanks,
    Vino

  • Percentage calculation at Grand Total Level

    Hello,
    I have issue in calculating the percentage at grand total level. I have three measures (A count, B count and Total count). These measures are defined in rpd with aggregation rule as sum. In answers i am calculating A % as 100*A count/Total Count. I have defined the aggregation rule for this percentage column as default. I am able to get correct % results for sub total level but getting wrong percentage values when Grand Total level is added. Going through some posts in this forum, people have suggested to enable this tag in instance config file.
    <ReportAggregateEnabled>true</ReportAggregateEnabled>
    After adding this tag, i am able to get correct results. The issue is when there is no data i am able to see table view with all columns having blank values even though i have defined the no result view.
    Please Help

    HI,
    For your CKF set exception aggregation as summation based on the last most characteristic in the row in the reference(as per the example it is product)
    Regds,
    Shashank

  • Currency wise grand totals IN ALV

    Hi friends,
    I  have problem  in alv report, my requirement is want to display the
    currency wise grand totals in ALV Report.if any having this idea please
    address the solution.
    yours
    ramakrishna.Y

    if i am not wrong then ithink you are talking about subtotal as per currency .
    then you have to use sort fnality..
    you have to write your fieldcat for currency value field
    wfieldcat-do_sum = 'X'.
    data : isort type slis_t_sortinfo_alv,
             wsort type slis_sortinfo_alv.
    wsort-spos = 1.
    wsort-up = 'X'.
    wsort-fieldname = ' YOUR CURRency key field in caps'.
    wsort-group = 'UL'.
    append wsort to isort.
    you have to pass that to reuse alv fm it_sort = isort.
    regards
    shiba dutta

  • Grand total for user

    Hello,
    Using obiee 11g,
    I am trying to build a report where i am trying do a count(distinct un),so i created a logical column for that and using that in my answers.
    The un i am showing for over months.IS works fine except that the grand total shows wrong.
    Grand total just adds the months total and not just do a count distinct for un.
    Aggregation rule is set as default.
    Would like to know how to do this?
    Thanks

    Hello,
    Its not working that way.
    Let me explain my case in detail.Problem is only in case of GRAND TOTAl.
    I am showing different cases,users and export for each month.
    So cases and users are used everywhere so i created a logical column in the RPD.
    count(distinct caseid) and count(distinct userid) as cid and uid and using that in my answers.
    export count since not used everywhere initially i took that column into my answers and then did a count(xportcount) in my answers
    so i have now
    cid-uid-count(xportcount) as 3 columns in my answers.But here the problem is my Grand total for uid comes wrong.
    Instead of doing a distinct users for all the months selected it just shows the grand total as sum for users
    Like jan-16 users feb -17 users then the total is 16+17 and not the distinct users from jan and feb.
    Grand total for case and exportcount is correct because i need a sum in that case so aggregation rule as deault works fine here.
    Here the problem which i feel is the count distinct which i am doing for caseid and uid and not exportcount.
    In my second scenario i did like created a separted column count(exportcount) in the rpd, then used that in my answers.
    But still no use
    In my third sceanario i created a count(distinct exportcount) in the rpd and using that in my answers
    now it feels it works fine.
    I wnat to know is this the way BI works.
    I am bit confused now.
    Is there a way other then this to do.
    I wanted first,second sceanario also to work but doesnt feel like working is there a way to make it work?
    Thanks

Maybe you are looking for