Suppress Rows

if I use the following:
query.setSuppressRows(DataDirector.NA_SUPPRESSION);
the report should hide the rows that have Not available values (empty cells)..
..so it does,but also replicates not empty rows (many times as is the number of measures of the report)
so for example I see replicated rows:
QTY COST VALUE
product1 2 20 2
product1 2 20 2
product1 2 20 2
product2 3 30 4
product2 3 30 4
product2 3 30 4

Here is the code to set the NA/zero suppression on the Query:
try
Query query = ((Query)crosstab.getDataSource());
query.setSuppressRows(DataDirector.NA_ZERO_SUPPRESSION);
query.setSuppressColumns(DataDirector.NA_ZERO_SUPPRESSION);
query.refresh(false);
catch (Exception e)

Similar Messages

  • Smartview - HypExecuteQuery with suppress rows 'No Data/Missing'

    Hello,
    I'm executing a MDX query by executing the command  'HypExecuteQuery' and I set the options suppress rows 'No Data/Missing'.
    But everytime, the query is working successully but without suppressing missing data.
    Does someone know it the suppress missing rows is compatible with the hypExecuteQuery or 'Execute MDX' ?
    SmartView 11.1.2.5.210
    Office 2010
    Thanks in advance for your answer
    Best Regards
    Benjamin

    Hello,
    The solution is as follows :
    SELECT
         NON EMPTY {[MEMBER_NAME]} ON ROWS,
         NON EMPTY{[MEMBER_NAME]} ON COLUMNS
    FROM <APP>.<DB>

  • How to suppress row when one column has zero  using condition

    Hi Experts,
    How do I suppress row when one column has zero.
    I read it is possible using conditions.
    How ?
    Thankyou.

    Check this
    1. for Query Properties, go to the Display tab and Supress Zeros is "Active"
    2. select the Structure, right-click, select Properties, then click "on" Also Use Zero Suppression for Structure Elements
    http://help.sap.com/saphelp_nw04/helpdata/en/a4/dd3841d132d92be10000000a1550b0/frameset.htm
    Hope it Helps
    Chetan
    @CP..

  • HR (Planning database) Does the account type matter when suppressing rows?

    Does the account type matter when using the Advanced Options row suppression?
    The report will suppress all the 0 rows if the suppression is based on a column with a Planning acct type "Revenue", but it doesn't do anything if the suppression is based on a column with a Planning acct type "saved assumption."
    Just wondering if this is why I can't get the report to suppress the rows. Everything else seems to be the same in the report.
    Thanks in advance for any assistance on this.

    user11232292 wrote:
    Does the account type matter when using the Advanced Options row suppression? Yes. If you click on the Row > Advanced Options > Setup, you will notice the Account Type under the Suppress Row If drop-down.
    Can you tell us how your Conditional Suppression is set up? If this report consists of account types Revenue and Saved Assumption only, and your conditional suppression works just on Revenue account types, you can insert a second condition for the Saved Assumption account types.
    Let me know if this helps or if you have any other questions.
    Cheers,
    Mehmet

  • Cross Tab keeps suppressing rows with no data

    I have a Crystal Report that is using a Cross Tab.  I have 2 rows in the cross tab the first row is the Month name and the second row is the Day Number of the month, and the report will print the Month Name on the left followed by all the Calendar Day Numbers in the month.
    The problem is that when there is no data for a Day Number row the entire row is not shown.  So you might have day number 1, 2, 3 and then jumps to maybe 6.  I found that the ones the cross tab was not showing did not contain any data.  I just need the calendar day number to at least print so the days read sequentially instead of jumping to 6 or another number.
    Is there any way to show the rows even if they don't contain any data?
    I have right clicked and gone into the Cross Tab expert and there isn't anything checked to suppress rows.  I don't understand why its still suppressing rows!
    Is there a global report option that I missed that says "suppress rows when there are no records"?
    Thank you all in advance,
    I am using Crystal Reports XIR2 with Service Pack 4

    I am still not getting all rows to show up on the report.   The rows that are not showing up contain no data in the cross tab but the row still needs to show.
    The only reason I got it to work before was because I selected all values for the columns parameter so it brought back everything in the database that was why it was able to show all values.
    I have two tables one is a date database and contains all the dates till 2012.  The other is the product data which contains the product code and qty that the cross tab summarizes.
    I have done a left outer join from the product data to the date database, and I am still not able to get all the dates to list for the selected time range. 
    I was able to get the dates to show up when I right clicked the link and modified the link properties.  I chose Left Outer Join and then under Link Type I selected ">" in the database expert dialog.  This brought back all the dates but the data in the report was all the same.  Probably just the first record repeated all down the page.
    Any ideas how to fix this problem?

  • Supress Missing Blocks : Suppressing rows that contains data

    Hi,
    In Hyperion Planning 11.1.2.2, on a webform if I do supress missing blocks, it suppresses rows that contains data also (for 3 particular members of the dimension selected in the row).
    This webform is otherwise a huge report & if I do not check on supress missing blocks, the application hangs on trying to open this report (webform).
    Summarizing, on selecting supress missing blocks, it should bring me data for 90 members but it is currently displaying results for 87 members.
    Thanks in Advance.
    Pawan.
    [email protected]__

    Are you definitely sure there are no blocks for those members, maybe there is data but it is just set as #missing and the blocks have not been removed.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Calculating Suppressed Rows

    Row 13 is System-defined member list Lev0,Entity. Column A is Available Units, Column B is Occupied Units, Column C is B/A.
    Row 14 is a formula row. Column A is [13], column B is [13], Column C is B/A. Simple enough.
    Now I want to exclude all communities 99% and lower.
    I suppress Row 13 if data in Column C <= .99.
    Column A shows 2,113 units, Colum B shows 2,105 units – looking good.
    Then column C shows up being 80.7%, which is what it was before the suppression. Column C should be 99.6%.
    I even tried Conditional Formatting Row 13 to replace values with 0 if Column C <= .99. It still didn’t work. Does anyone have any words of wisdom for me, please?
    I will be doing this for 4 more tiers of occupancy. 95 - 99, 90 - 95, 85 - 90, and less than 85
    Edited by: user10679176 on May 1, 2009 9:37 AM

    Thanks for responding, Kelly. I did try both those suggestions, to no avail.
    14,B/14,A gave me the same result - 80.7%
    When I tried to make row 15, A&B equalling 14, it gave me the complete totals for A&B as if there were no suppression, while C remained at 80.7%.
    In the manual, it specifically states that suppressed rows are not figured in calculations. I'm stymied.
    Dave

  • Suppressing rows in the next mail alert  (EBS)

    Hi All,
    I am working on an alert and looking to suppress those rows from appearing in the alert which were processed in the last alert.
    i.e. Everytime the alert runs, it should NOT pickup the rows shown in the last alert.
    I know there is a flag called ''suppress duplicates'' in alert sets page, however it doesnt seem to be working.
    (I am not sure how to use this)
    Can anyone help please.
    Thanks in advance.
    -Nil
    Edited by: nimTree Consulting on Jun 10, 2009 11:01 AM

    Hi,
    I know there is a flag called ''suppress duplicates'' in alert sets page, however it doesnt seem to be working.
    (I am not sure how to use this)This feature would work for a detail action (not for a summary action).
    Note: 1056367.6 - Alert Sends Multiple Messages for Single Action w/ Suppress duplicate Enabled
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1056367.6
    Can anyone help please.Review the following document and see if it helps.
    Note: 76318.1 - How to suppress Duplicate Values in Reports
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=76318.1
    Regards,
    Hussein

  • Summarize rows including suppressed rows

    Hello everyone,
    I am designing a report (picklist) in Crystal Reports version XI.
    In the details section, the report has some rows with same item number and same quantities. The user wants the rows with the same item to be summarized, meaning the report should only print a single row for each item, then add the quantities.
    So far i have managed to suppress  and the report is printing a single row for each item. The only problem is totalling the quantities, no method seems to help achieve the expected result.
    I have tried to using s running total designed as follows;
    #RT_AmountPlanned
    field to summarize: PPSONEPRDMATERIALS.U_PlanAmou
    Summary Type: Sum
    Evaluate : using the formula
    formula = PreviousValue({_PPSONE_PRDMATERIALS.U_ItmArtNo}) ={_PPSONE_PRDMATERIALS.U_ItmArtNo} or NextValue ({_PPSONE_PRDMATERIALS.U_ItmArtNo})={_PPSONE_PRDMATERIALS.U_ItmArtNo}
    Reset
    On change at group - Group Header #1:_PPSONE-RVPRDWRKPLAN.U_ProdNo
    I have also tried a formular field in two ways
    Number 1:
    Global dpSumAmountPlanedForMaterialPositionsOfProductionOrder as number
                                Global lpPreviousProductionNumber as number
                                Dim bNewProductionorderFound as boolean
                                Dim bSameMaterialItemFound as boolean
        bNewProductionorderFound = lpPreviousProductionNumber <> {_PPSONE_RVPRDWRKPLAN.U_ProdNo}
        bSameMaterialItemFound=PreviousValue ({_PPSONE_PRDMATERIALS.U_ItmArtNo})={_PPSONE_PRDMATERIALS.U_ItmArtNo}}
        If bNewProductionorderFound then
            dpSumAmountPlanedForMaterialPositionsOfProductionOrder = 0
        end if
        if bSameMaterialItemFound then
        dpSumAmountPlanedForMaterialPositionsOfProductionOrder = dpSumAmountPlanedForMaterialPositionsOfProductionOrder _
                                                               + {_PPSONE_PRDMATERIALS.U_PlanAmou}
        Else
        dpSumAmountPlanedForMaterialPositionsOfProductionOrder={_PPSONE_PRDMATERIALS.U_PlanAmou}
        End if
        lpPreviousProductionNumber={_PPSONE_RVPRDWRKPLAN.U_ProdNo}
    formula = dpSumAmountPlanedForMaterialPositionsOfProductionOrder
    Number 2
    dim szArticleNumber as string
    dim szPreviousArticleNumber as string
    dim bArticleNumberHasChanged as boolean
    dim nPlannedAmount as number
    do while true
        szArticleNumber = {_PPSONE_PRDMATERIALS.U_ItmArtNo}
        if szArticleNumber = szPreviousArticleNumber then
            bArticleNumberHasChanged = true
         end if
        if not bArticleNumberHasChanged then
            nPlannedAmount = nPlannedAmount + {_PPSONE_PRDMATERIALS.U_PlanAmou}
        else
            nPlannedAmount = {_PPSONE_PRDMATERIALS.U_PlanAmou}
        end if
        szPreviousArticleNumber = szArticleNumber
    Exit Do
    loop
    Formula = nPlannedAmount
    Is it because the records are suppresed first ?

    Thank you for your reply and sorry for my complicated explanations. The report has confidential information, so I replaced to some fake data but I believe you can still see what I am trying to do..
    Main Report
    Subreport 2
    Output1
    Output2: the following page
         --> more rows are printed..
    We have two problems;
    1. The column header in Output2 is supposed to be pronted right below the last row in Output2, however, a page break is automatically inserted. But even in the same output document, it works for some group when it has a few rows..
    2. Since Crystal Reports prints more rows in one page than MS Excel does, Column header is not be printed at the top of the page.
    I tried the way you advised me but it did not work..

  • Suppress Rows in Hyperion Financial Reporting

    Hi,
    we have a report in which we have
    Employee Name,Position,Cost Center in Row and Expenses (Account) in Column.
    The cost centers members are not getting suppressed.
    ex:
    Empname, Position, CostCenter , Alloc, Expenses
    Dianel POS345, CostCenter1 0.2 60000
    Costcenter2 0.4 50000
    CostCenter1 0.2 60000
    Costcenter2 0.4 50000
    Here Cost Center 1 and 2 are repeating.But we just want something like this
    Empname, Position, CostCenter , Alloc, Expenses
    Dianel POS345, CostCenter1 0.2 60000
    Costcenter2 0.4 50000
    Please help me in solving this.
    Thanks
    gg

    Thanks a lot it worked.
    The work aroound is when you select members select both @decendants(member) And @level0(Entity) using the AND union operator.
    Thanks
    GG

  • Planning Form: Suppress row based on condition

    Dear All,
    Is it possible to do this in hyperion planning. for example:
    - i have member A
    - in the data form, i want to show row only when member A have value equal to 1. other is suppressed.
    - in another form, i want to show only when A = 2, other is suppresed.
    did anybody have this experience, or is there any other way to do this?
    Thanks in advance.
    Regards,
    Feri

    Hi, i assumed as answered because in fact, the Planning dataform don't have that functionality, but in the new version (11.1.2.2) you might want to try the filter functionality.
    It was a long time ago, but if i'm not mistaken, previously i solve this problem by separating the member for each condition.
    example:
    member A: have all data
    (copy the data from member A to member B and C with condition)
    member B: contain data for condition 1
    member C: contain data for condition 2
    then you can select which condition that you need to show.

  • Suppressing rows based on a condition

    I have report, where I have to remove certain rows out of the report, based on the certain condition.
    Note that, there are two characteristics in the rows, and one key figure in the columns. If the first characteristic value equals that of the second characteristic in the rows, I want to remove that row from display.
    Row1              R1    R2      K1
    Row2              R3    R3      K1
    Row3              R2    R3      K1
    Row4              R3    R2      K1
    In the above example, I need to remove Row2, because both characteristics have same value, which is R3. I want to suppress those records, and just show Row1, Row3 and Row4.
    Row1              R1    R2      K1
    Row2              R3    R3      K1  ->  remove this row
    Row3              R2    R3      K1
    Row4              R3    R2      K1
    My problem is conditions only work on the key figures, not characteristics. I tried the replacement variables, but it is not working.
    Any ideas?

    Hi,
    You can achieve the solution if your 2 characteristic's data type is NUMC.
    If it is NUMC, then try the below steps:
    1. Create a formula in the Key Figures structure.
    2. In the formula, create a formula variable, and on the formula variable select the processing type as Replacement Path. After that choose the first characteristic on the Characteristics selection.
    3. Repeat step 2 again for second characteristic.
    4. Now the two formula variables contains two characteristic. Select both of them and subtract it.
    5. You will get the values 0 and not equel to 0.
    6. Create a condition and suppress zero values of the formula key figure.
    If it is not NUMC, then i guess you have to stage the data to another location. At the time of transformation you have to supress the records.
    Vivek

  • Suppress Row Num from XML output

    Hi there,
    Is possible to generate the output following without using style sheet ?
    a) remove <ROW num="10">
    b) to change the tag Code <COMM NULL="TRUE"/> to <COMM><COMM/>
    Thanks
    Jeremy Lee
    =====
    declare
    queryCtx DBMS_XMLquery.ctxType;
    result CLOB;
    begin
    delete from temp_clob_tab;
    commit;
    result := empty_clob();
    -- set up the query context...!
    -- queryCtx := DBMS_XMLQuery.newContext('select * from testxml');
    queryCtx := DBMS_XMLQuery.newContext('select empno ,ename,comm from emp WHERE comm is null');
    -- modify encoding format
    DBMS_XMLQuery.setEncodingTag(queryCtx, '"WINDOWS-1252"');
    --DBMS_XMLQUERY.setencodingtag(queryCtx 'UTF-8');
    -- DBMS_XMLGEN.SETNULLHANDLING(queryctx,2);
    dbms_xmlquery.SETROWSETTAG(queryCTX,'ROOT');
    dbms_xmlquery.usenullattributeindicator(queryCtx, true);
    -- get the result..!
    result := DBMS_XMLQuery.getXML(queryCtx);
    INSERT INTO temp_clob_tab VALUES(result);
    -- Now you can use the result to put it in tables/send as messages..
    ShowClobContents(result);
    DBMS_XMLQuery.closeContext(queryCtx); -- you must close the query handle..
    end;
    ================================================================
    | </ROW>
    | <ROW num="9">
    | <EMPNO>7902</EMPNO>
    | <ENAME>FORD</ENAME>
    | <COMM NULL="TRUE"/>
    | </ROW>
    | <ROW num="10">
    | <EMPNO>7934</EMPNO>
    | <ENAME>MILLER</ENAME>
    | <COMM NULL="TRUE"/>
    | </ROW>
    | </ROOT>

    Hi Ramesh,
    Thanks for your reply. If I tried using DBMS_XMLGEN, I get the following output which is closer to the output that I want. How do i show the null value as <COMM></COMM> ?
    Thanks
    Regards
    Jeremy Lee
    DECLARE
         ctx DBMS_XMLGEN.ctxHandle;
         xml CLOB;
    BEGIN
    delete from temp_clob_tab;
    commit;
         ctx := dbms_xmlgen.newcontext('select * from emp where comm is null');
         dbms_xmlgen.setrowsettag(ctx, 'Root');
    dbms_xmlgen.setrowtag(ctx, 'ROW');
    DBMS_XMLGEN.SETNULLHANDLING(ctx,2);
    -- DBMS_XMLGEN.setEncodingTag(ctx, '"iso-8859-1"');
    -- dbms_XMLGEN.usenullattributeindicator(ctx, true);
    xml := dbms_xmlgen.getxml(ctx);
    INSERT INTO temp_clob_tab VALUES(xml);
         -- dbms_output.put_line(substr(xml,1,1000));
    DBMS_XMLGEN.closeContext(ctx);
    END;
    ===================================================================
    <ROW>
    <EMPNO>7934</EMPNO>
    <ENAME>MILLER</ENAME>
    <JOB>CLERK</JOB>
    <MGR>7782</MGR>
    <HIREDATE>23-JAN-82</HIREDATE>
    <SAL>1300</SAL>
    <COMM/>
    <DEPTNO>10</DEPTNO>
    </ROW>
    Regards
    Jeremy Lee

  • Suppress Row Num from XML

    Hi there,
    Is possible to generate the output following without using style sheet ?
    a) remove <ROW num="10">
    b) to change the tag Code <COMM NULL="TRUE"/> to <COMM><COMM/>
    Thanks
    Jeremy Lee
    =====
    declare
    queryCtx DBMS_XMLquery.ctxType;
    result CLOB;
    begin
    delete from temp_clob_tab;
    commit;
    result := empty_clob();
    -- set up the query context...!
    -- queryCtx := DBMS_XMLQuery.newContext('select * from testxml');
    queryCtx := DBMS_XMLQuery.newContext('select empno ,ename,comm from emp WHERE comm is null');
    -- modify encoding format
    DBMS_XMLQuery.setEncodingTag(queryCtx, '"WINDOWS-1252"');
    --DBMS_XMLQUERY.setencodingtag(queryCtx 'UTF-8');
    -- DBMS_XMLGEN.SETNULLHANDLING(queryctx,2);
    dbms_xmlquery.SETROWSETTAG(queryCTX,'ROOT');
    dbms_xmlquery.usenullattributeindicator(queryCtx, true);
    -- get the result..!
    result := DBMS_XMLQuery.getXML(queryCtx);
    INSERT INTO temp_clob_tab VALUES(result);
    -- Now you can use the result to put it in tables/send as messages..
    ShowClobContents(result);
    DBMS_XMLQuery.closeContext(queryCtx); -- you must close the query handle..
    end;
    ================================================================
    | </ROW>
    | <ROW num="9">
    | <EMPNO>7902</EMPNO>
    | <ENAME>FORD</ENAME>
    | <COMM NULL="TRUE"/>
    | </ROW>
    | <ROW num="10">
    | <EMPNO>7934</EMPNO>
    | <ENAME>MILLER</ENAME>
    | <COMM NULL="TRUE"/>
    | </ROW>
    | </ROOT>

    Dup of {thread:id=2159004}

  • Dynamic Row Suppression based on grid POV

    Hi,
    I need to suppress rows based on the grid POV. The report is set up to have accounts in the rows and the user is able to select a specific account in the grid POV. Based on the grid selection, half of the accounts in the rows either need to be suppressed or not.
    One solution already available is to use advanced suppression on each row but this option will take too long. I'd like to find a solution using UDA's or some other way. Any ideas?

    Im not sure there is any simple way to get dynamic row selection based on what is selected in the page.
    If I were designing the form based on what you have stated, I would probably stick both Account and Year in the page, and the 400 products in rows. This would require the user to select the different combinations of Year / Account, but would mean only 12 columns (instead of 72).
    Alternatively you could stick Account in rows too - meaning 800 rows, but less combinations to select in Page....all depends what is deemed acceptable to the user.
    Probably other approaches that may be better than above (put Product in the Page for fun!!)
    Thanks
    JB

Maybe you are looking for

  • Up and Down Arrow Keys Not Working

    I have had the HP Pavilion g6t-1b00 CTO Notebook PC for a year or two now. I've been having a couple of problems with internet connectivity and putting my computer on "sleep". However, few days ago, my keyboard randomly started acting weirdly. When I

  • Web Service Tester

    <span style="font-size: 10pt; font-family: Tahoma">Hello,</span> <p style="margin: 0in 0in 0pt" class="MsoNormal"><span style="font-size: 10pt; font-family: Tahoma">I'm attaching to this post a small utility called WSTester. It's a browser of web ser

  • Bug in Report Painter.

    I have a question. I am working with the special ledger in FICO module. When I do a report with the society characteristic in the General Data Selection, I get my report well with my accountable account and its description. <b>Example 1....</b> Accou

  • Populate non database items with lov

    Hi, Let's say that I have one database block with 2 columns ID and NAME. Only ID it is a not displayed database column, and NAME it is a displayed text item with an lov which retrieve data for both columns. How can I do, to populate the non database

  • Unified CCX 8.0.2

    I am trying to remove an agent from UCCX and keep getting this message: " Agent capability cannot be modified in Cisco Unified CCX." I have already removed the users device from the application user 'rmcm' in CM  v8.0.3. What am I missing?