Dimensional Hierarchy - Estimate Levels - Consistency Error

Hi,
I have created Time dimension hierarchy. Fiscal Yr-Fiscal Qtr -Fiscal Wk- Fiscal Month.
When I check Estimate levels - Fiscal Yr and Fiscal Month are passed.
For Fiscal Qtr and Fiscal Wk -- throwed error. Consistency Failed.
What could be the reason?
In database I have only one table.
Thanks!!

Bear in mind that the "Estimate Levels" option is very buggy at the best of times. All it essentially does is a count distinct of the key values at each level so you can do this manually if you prefer.
The consistency messages you are seeing might be because the number of elements is lower than the number at the hierarchy level above. The number of distinct values should be lowest at the top of the hierarchy and increase with each subsequent child level. Personally, I would just set the numbers manually and forget the "Estimate Levels" option.
Paul

Similar Messages

  • "Estimate Levels" error messages

    Hi guys, 10.1.3.2 here.
    I tried to run "Estimate Levels" while online (right click on subj area - Estimate Levels).
    I got several errors (RPD validates fine):
    a) 14016 Queries requesting a grand total along with foreign keys from
    the fact table are not supported. - not really sure what this one is....
    b) 46008 - a general error has occured - "internal error" - then some filename with CPP extension (C++?) - SQORRqexpr.CPP line 1441 - this one even more weird
    c) a dimension from an alias table is not estimating correctly - hierarchy is built correctly with all the keys. an alias of the same source table validates just fine (different fields)...I get "Failed consistency check for this level" message, but after I set it manually it works - some values are NULL - so a possiblity?
    I'm started to have suspicions something is corrupted in RPD on UDML level....
    I'd really appreciate any tips or hints....
    Thanks
    Message was edited by:
    wildmight

    All messages in SAP are defined in a five character unique ID, broken up into the first two characters denoting the category, and the last three denoting the no. A common transaction to change any and all messages in the system is OBA5. This transaction gives you message control at the user level - meaning, e.g., suppose a message needs to be labeled as error for only SOME users. This transaction gives you that flexibility.
    The changes are transportable. Use with caution though.
    Remember to assign points if found useful.
    Regards
    Gulshan

  • " -- Failed consistency check for this level" when doing Estimate Levels

    Hello again,
    When you run "Estimate Levels" and you get "<-- Failed consistency check for this level"
    What does it really mean? Can this break, because of NULL values in logical keys? Or perhaps anything else? Thanks
    Thanks

    Thomas,
    since you've seen this before....did you have a problem doing "Estimate Levels" when you had measures in the hierarchy (usually they get there when you select a level for measure in its settings). I suspect the problem is in the measure - using FILTER function which references the dimension.
    Thanks

  • Number of elements - Dimensional Hierarchy

    Hi,
    In a *'Dimensional Hierarchy'*, while creating a new *'Parent level'*, a 'Logical Level' dialogue box prompts for entering *'Number of elements at this Level'*+. What is its significance ?
    What is achieved by+ *'Number of elements at this Level'* +?+
    Thanks in Advance & Regards,
    Deeba

    Hi deeba,
    Its not mandatory to specify the number of elements in hierarchy....if you wont mention also by default it takes the value of 1.....Above vino gave you the link for explanation.
    Hope it helps you...Award points and close the thread.
    By,
    KK

  • How to recover from database consistency errors?

    I have a SQL server cluster 2005. Due to the broken of SAN storage's controller and disks, one of my SharePoint content DB has corrupted and has been causing numerous error to the SharePoint. I have run the command "DBCC CHECKDB WITH NO_INFOMDGS"
    and the truncated output are as following:
    Table error: Object ID 53575229, index ID 1, partition ID 72057594038583296, alloc unit ID 72057594043564032 (type In-row data), page ID (3:21580503) contains an incorrect page ID in its page header. The PageId in the page header = (3:21580511).
    CHECKDB found 0 allocation errors and 6 consistency errors in table 'AllDocs' (object ID 53575229).
    Table error: Object ID 53575229, index ID 1, partition ID 72057594038583296, alloc unit ID 72057594043564032 (type In-row data), page ID (3:21580503) contains an incorrect page ID in its page header. The PageId in the page header = (3:21580511).
    CHECKDB found 0 allocation errors and 6 consistency errors in table 'AllDocs' (object ID 53575229).
    Object ID 1058102810, index ID 4, partition ID 72057594052411392, alloc unit ID 72057594058571776 (type In-row data): Page (3:21580478) could not be processed.  See other errors for details.
    CHECKDB found 0 allocation errors and 4 consistency errors in table 'EventCache' (object ID 1058102810).
    Table error: Object ID 1762105318, index ID 1, partition ID 72057594055819264, alloc unit ID 72057594062897152 (type LOB data). The off-row data node at page (3:21985593), slot 35, text ID 5702751551488 is not referenced.
    Msg 8964, Level 16, State 1, Line 1
    Table error: Object ID 1762105318, index ID 1, partition ID 72057594055819264, alloc unit ID 72057594062897152 (type LOB data). The off-row data node at page (3:21985594), slot 14, text ID 5702751354880 is not referenced.
    Msg 8986, Level 16, State 1, Line 1
    Too many errors found (201) for object ID 1762105318. To see all error messages rerun the statement using "WITH ALL_ERRORMSGS".
    CHECKDB found 0 allocation errors and 307 consistency errors in table 'AuditData' (object ID 1762105318).
    CHECKDB found 0 allocation errors and 363 consistency errors in database 'ALCIM_WSS_Content'.
    repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (WSS_Content).
    Error show in the event log:
    SQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 3:21580475; actual 0:0). It occurred during a read of page (3:21580475) in database ID 9 at offset 0x00002929576000 in file 'E:\Microsoft SQL Server\Data\MSSQL.1\MSSQL\DATA\WSS_Content_2.ndf'. 
    The last DB backup creatred was about a month ago so doing DB resotre will be my last choice. Is it possible I can recover the DB without data loss using "DBCC CHECKDB ('WSS_Content', REPAIR_REBUILD)"? Any alternative method to acheive my
    goal?
    Thank you.

    Hi,
    Check this part of the output that you have posted
    "repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (WSS_Content)."
    Which clearly states that your only option is "repair_allow_data_loss". This option should ONLY be tried as a last resort. If you have any chance of restoring the backup as Bass_player suggested that should be your way. Even if you run repair_allow_data_loss
    and it runs successfully and fixes the corruption, you still would be facing logical corruption with data, as we never know which all records repair_allow_data_loss removes.
    More over in case of SharePoint databases as far as I know, Microsoft Sharepoint Support never used to support those sharepoint databases which were repaired. They will only support a backup of the database in case of corruptions.
    I would suggest you to start working on a better disaster recovery plan in the mean while you are waiting for the backups :)
    HTH,
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.wordpress.com

  • Is Dimensional Hierarchy always created for a Dimension?

    Hi! In my data model there are dimensions but, they do not follow any hierarchy i.e. everything is at the same level. In such a case do I still need to define hierarchy? I know that a Dimensional Hierarchy will have at least two levels, Grand Total and Detail, what happens when everything is at Detail Level?

    there is no need to define any level based measures as everything will be at the primitive level.
    It is just like having no hierarchy defined, but only at grand total you can associate measures from multiple fact tables & get grand totals.
    let me know if that resolved your doubt!!
    Mark posts promptly
    J
    -bifacts
    http://www.obinotes.com
    Edited by: bifacts on Nov 9, 2010 10:55 PM

  • Dimensional Hierarchy - Organizational unit

    Hi all,
    I have the following queries related to Dimensional hierarchy.
    1. Why we associate logical columns in the dimensional hierarchy?
    2. For a particular organization unit there is no dimensional hierarchy, i mean data is at detailed level..
    How to display data? ....i mean is it required to build dimensional hierarchy.
    Please clarify.
    regards
    chandra kanth

    1. Why we associate logical columns in the dimensional hierarchy?
    Dimension hierarchies establish levels for data groupings and calculations in your report, they also provide paths for drill down.
    2. For a particular organization unit there is no dimensional hierarchy, i mean data is at detailed level..
    How to display data? ....i mean is it required to build dimensional hierarchy.
    Data will always be at granular level for any dimension in a typical data warehouse. In order to report the fact at higher level for business users we create this dimensional hierarchy in the BMM. So, if you want to create your report that shows measure at specific level of organization then create it, else no need.

  • Consistency error

    Hi
    Can anyone suggest how to resolve this issue without data loss.
    Executed as user: SCHLOGAU\sqladmin. Extent (1:1537432) in database ID 6 is marked allocated in the GAM, but no SGAM or IAM has allocated it. [SQLSTATE 42000] (Error 8905)  CHECKDB found 1 allocation errors and 0 consistency errors not associated with
    any single object. [SQLSTATE 01000] (Error 8954)  CHECKDB found 1 allocation errors and 0 consistency errors in database ''. [SQLSTATE 01000] (Error 8989)  repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (
    ). [SQLSTATE 01000] (Error 8958).  The step failed.

    T his applies to you? Not very encouraging, though...
    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=61284
    Also, here's some good techninfo, which mentions 8905 error:
    http://blogs.msdn.com/sqlserverstorageengine/archive/2006/07/18/670341.aspx
    REPAIR_REBUILD
    If the minimum repair level is REPAIR_REBUILD you have been lucky.
    The syntax is DBCC CHECKDB('Web1', REPAIR_REBUILD)
    REPAIR_ALLOW_DATA_LOSS
    This attempts to repair all errors. Sometimes the only way to repair an error is to deallocate the affected page and modify page links so that it looks like the page never existed. This has the desired effect of restoring the database's structural integrity
    but means that something has been deleted (hence the ALLOW_DATA_LOSS). There are likely to be issues with referential integrity, not to mention the important data that may now be missing.
    The syntax is
    DBCC CHECKDB('Web1', REPAIR_ALLOW_DATA_LOSS)
     Make sure you run DBCC CHECKCONSTRAINTS afterwards so you are aware of referential integrity issues and can take the appropriate action.
    Raju Rasagounder Sr MSSQL DBA

  • CHECKDB found 0 allocation errors and 1 consistency errors in table 'sys.syscolpars' (object ID 41)

    Msg 2511, Level 16, State 2, Line 1
    Table error: Object ID 41, index ID 1, partition ID 281474979397632, alloc unit ID 281474979397632 (type In-row data). Keys out of order on page (1:187), slots 9 and 10.
    CHECKDB found 0 allocation errors and 1 consistency errors in table 'sys.syscolpars' (object ID 41).
    CHECKDB found 0 allocation errors and 1 consistency errors in database 'db_name'.
    repair_rebuild is the minimum repair level for the errors found by DBCC CHECKDB (adv_tvs).
    Help required on the above error mentioned

    Hi Rapunzel,
    The minimum repair suggested is repair_rebuild you can try that. As per mssage there is corruption in your database and it can only be corrected by either repairing or Restoring from known good backup.For doing repair the database must be in single-user
    mode.
    Please read
    dbcc checkdb repair_rebuild option
    Since DBCC CHECKDB with any of the REPAIR options are completely logged and recoverable, Microsoft always recommends a user use CHECKDB with any REPAIR options within a transaction (execute BEGIN TRANSACTION before running the command) so that the user can
    confirm he/she wants to accept the results of the operation. Then the user can execute COMMIT TRANSACTION to commit all work done by the repair operation. If the user does not want to accept the results of the operation, he/she can execute a ROLLBACK TRANSACTION
    to undo the effects of the repair operations.
    REPAIR_REBUILD does not repair errors involving FILESTREAM data.
    How big is database. If it is small and backup also is corruption free you should consider restoring from backup
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Display dimensional hierarchy...

    Hi All,
    I have Time dimensional hierarchy.i want Display Month level to Date.
    Time Dimenssion haveing
    Year----quater--month---week--day--- lavel
    but i want display month-------week---Day
    it is possible to display Useing same hierarchy
    Thanks,

    Provide some more details.
    Like which OBIEE version you are using OBIEE10 or OBIEE 11g.
    Do you mean to say you want skip Quarter and drill down from Year to Month to Day. If yes, then at Year level in Hierarchy you can set preferred drill path as Month.
    If you are using presentation hierarchy in OBIEE 11g. You can delete the Quarter level from the presentation hierarchy itself.
    Thanks

  • Recover from consistency errors in table.

    Hi all,
    I'm having trouble correcting consistency error on a table. I've tried a complete rebuild of all the indexes on the table but the result stays the same and is as follows:
    Msg 8951, Level 16, State 1, Line 1
    Table error: table 'METINGEN_METINGEN' (ID 36299289). Data row does not have a matching index row in the index 'idx_METINGEN_METINGEN_METINGEN' (ID 7). Possible missing or invalid keys for the index row matching:
    Msg 8955, Level 16, State 1, Line 1
    Data row (1:109702270:2) identified by (AutoID = 2150390 and MSESSIEID = '0000021587' and SOURCETYPE = 'M' and MEET_DATUM = '2008-09-25 00:00:00.000' and MEET_TIJD = '08:43:41') with index values 'METING_ID = '' and AutoID = 2150390 and MSESSIEID = '0000021587' and SOURCETYPE = 'M' and MEET_DATUM = '2008-09-25 00:00:00.000' and MEET_TIJD = '08:43:41''.
    Msg 8952, Level 16, State 1, Line 1
    Table error: table 'METINGEN_METINGEN' (ID 36299289). Index row in index 'idx_METINGEN_METINGEN_METINGEN' (ID 7) does not match any data row. Possible extra or invalid keys for:
    Msg 8956, Level 16, State 1, Line 1
    Index row (1:103520455:62) with values (METING_ID = '' and AutoID = 2150390 and MSESSIEID = '퍠෶ and SOURCETYPE = '퓠' and MEET_DATUM = '2008-09-25 00:00:00.000' and MEET_TIJD = '푐෶) pointing to the data row identified by (AutoID = 2150390 and MSESSIEID = '퍠෶ and SOURCETYPE = '퓠' and MEET_DATUM = '2008-09-25 00:00:00.000' and MEET_TIJD = '푐෶).
    DBCC results for 'METINGEN_METINGEN'.
    There are 48684994 rows in 4416906 pages for object "METINGEN_METINGEN".
    CHECKTABLE found 0 allocation errors and 2 consistency errors in table 'METINGEN_METINGEN' (object ID 36299289).
    repair_rebuild is the minimum repair level for the errors found by DBCC CHECKTABLE (EVD_Ont.dbo.METINGEN_METINGEN).
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    and also i can't find what (ID 7) means..

    DBCC CHECKTABLE with the repair_rebuild is the next step i'm going to try.  Do you have an idea how long it should take? I mean, would it take as long as a checktable without the repair_rebuild?
    Its not dbcc checktable but dbcc checkdb. You can use below query
    Use db_name
    GO
    ALTER DATABASE db_name SET SINGLE_USER with rollback immediate
    GO
    DBCC CHECKDB('db_name', REPAIR_REBUILD)
    GO
    Time depends on size of database and amount of corruption checkdb has to fix
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Dimensional Hierarchy DOUBT

    Hello Experts
    I have an requirement were i have to create a report with time dimension and a hierarchy is defined for this time dimension from Year till Seconds .
    My Question is : I HAVE TO USE THE SAME DIMENSIONAL HIERARCHY AND WANT THE REPORT TO DRILL ONLY TILL THE DAY LEVEL (COULD ANYBODY PLEASE SUGGEST WHAT YOU HAVE DONE IF YOU FACED THESE EXPERIENCE BEFORE)

    Not much you can do here. If you data really is at the seconds level, and the hierarchy really needs to go from year clear down to seconds, then you might be out of luck - I don't know any way to allow users to drill to only a given level in one report, but a different level elsewhere.
    Having said that, maybe it would be easier to define a "date" dimension that has years -> quarters -> months -> days, and then have a "time of day" dimension that has hours, minutes, and seconds. Create drills within the dimensions, but don't create a drill between the dimensions (so if users ever want to drill from day to hours, they manually have to add in the hours component)
    I think 11g may (?) be able to help - I believe you can pick a hierarchy to drill through in that version, in which case you may be able to have one hierarchy that goes from years -> seconds, and another that drills from years -> days only. If so, that would meet your requirement (haven't played with 11g yet, so not certain this is possible)
    Thx,
    Scott

  • Drilldown in answers without creating dimensional hierarchy in BMM layer?

    Hello All,
    HELP! I have a main report like this:
    title: Region EAST (prompted field- user entered: North, South.... )
    heading: Departments Total Sales
    rows: Meat (01) 500,000.00
    Produce (02) 100,000.00
    Organic Items(03) 250,000.00
    Users wanted to ClLICK on either Meat, Produce or Organic Items field to get the detailed report on that particular dept. and would prefer to Click on the desired field than using department as a prompted field. :(
    I did try to use the navigate function on Departments column to get to the detail report, but the results came back with ALL departments. Is it possible to drill down in answers without creating the dimensional hierarchy in BMM layer? If so, please show me how to create the link that would navigate to the detailed report when users CLICK on desired department, ex: Meat (01)? BTW, detailed report may came from different resources (data is in the detailed table...) and I still need to pass the region variable to the detailed report.
    I really need a big help on this.
    Thanks All in advance!

    Hi Matt,
    thank you for looking into this problem.
    I did use the Navigate function on the 1st report, create a prompted filter on the depatment column (second report) but user can only click on the high lighted Department column header (on the first report) which navigated to the 2nd report and it displayed detail of all departments. Since users cannot click on a particular deptpartment, therefore I cannot pick up the value (01) for Meat department to pass thru the 2nd report. Is the Navigate function just works only when you click on the header column not on the data values in that column? do I need to set any other function to the department column on the 2nd report beside the filter?
    thanks for your help!

  • Consistency error:more fields found in XML structure than specified in conv

    Hi,
    I am doing a File 0 RFC- File in PI 7.1 and facing the following error:
    2009-12-07 09:45:05 Error        MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '20000000|3022|800.99|10.11.2009|Testing 22222|')', probably configuration error in file adapter (XML parser error)'
    2009-12-07 09:45:05 Error File processing failed with com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value '20000000|3022|800.99|10.11.2009|Testing 22222|')', probably configuration error in file adapter (XML parser error)'
    my output file record structure :
    DT_out
        itab_out                       0.........1
           item                          0...... unbounded
             STR                        0........1
    So i have given in the receiver FCC parameters as:
    Record structure : item
    Content conversion parameters:
    item.fieldFixedLengths               255
    item.endSeparator                      'nl'
    could anyone pls help me in solving this error at the earliest.
    thanks

    my problem has been solved by giving the FCC parameters as shown below:
    my output file record structure :
    DT_out
    itab_out 0.........1
    item 0...... unbounded
    STR 0........1
    So i have given in the receiver FCC parameters as:
    Record structure : item,ITAB_OUT
    Content conversion parameters:
    item.fieldFixedLengths 255
    item.endSeparator 'nl'
    ITAB_OUT.fieldFixedLengths 255
    ITAB_OUT.endSeparator 'nl'

  • Safari 2.0.1 (412.5): Excessive Level 3 Errors

    I have observed that Safari writes excessive level 3 error messages into the syslog (asl.log) file. Acrobat Reader 7.0x (latest 7.03), does the same thing, only far more prolific (think multiple thousands of lines).
    OS 10.4.2 with latest updates, etc. applied. Was occurring before latest patches.
    Here is a sample entry for both in order:
    Sep 30 10:59:12 margrethe /Applications/Safari.app/Contents/MacOS/Safari <Error>: Invalid color: colored pattern specified with unco
    lored pattern colorspace.
    Sep 30 22:31:21 margrethe /Applications/Adobe Reader 7.0/Adobe Reader 7.03.app/Contents/MacOS/Adobe Reader <Error>: Invalid color: c
    olored pattern specified with uncolored pattern colorspace.
    Simply launching Acrobat Reader will not cause the problem until opening a PDF.
    I know how to clean this crud out of the syslog. If someone knows what is causing this and if it is correctable through administration, please advise.
    I use these commands to shrink the syslog from 3M down to 100K and have them in my 500.daily file.
    syslog -p -k Sender Seq Safari -k Level Neq 3
    syslog -p -k Sender Seq Reader -k Level Neq 3
    Thanks,
    /chuck

    Hi, Charles.
    Don't know about Safari, but Adobe Reader has a problem, acknowledged by Adobe on their support site. They blame it on some "incompatibility" between Adobe Reader and OS X 10.4... No hint of when or if they'll do anything about it.
    I downloaded and installed latest updates to Reader (7.03 if memory serves me right), but it made no difference...
    Good luck!

Maybe you are looking for