Need help - Hide row of a recursive grouping if textbox value is empty

Hard to explain, but I will do my best.
I have a simple report that has a resource (accounting) recursive grouping.  The group and the recursion is working correctly.  The only dollar values I have to display are at the lowest level of the hierarchy so instead of having a simple SUM("POSTED_TOTAL_AMT")
field to show the rollup totals I did the following =Sum(Fields!POSTED_TOTAL_AMT.Value, "TREE_NODE", Recursive).
TREE   NODE
POSTED   TOTAL AMT
ALL_RESOURCES
24163945.66
BANK
BENALL
7027062.56
BENWL
3490587.96
BENFT
279969.6
BENLD
3210618.36
COMAB
1357934.08
INCWL
2178540.52
CASH_FLOW
CHRTY
COGS-ENS
Everything I have read shows you how to hide a row based on a dataset field but I need to hide the row based on the textbox expression.  For reference here is the expression for the values showing on the report: =Sum(Fields!POSTED_TOTAL_AMT.Value, "TREE_NODE",
Recursive)
I added this into the row visibility: =iif(IsNothing(Fields!POSTED_TOTAL_AMT2.Value),True,False)
But when I run the report I get the following error:
System.Web.Services.Protocols.SoapException: The Hidden expression for the grouping ‘TREE_NODE’ refers to the field ‘POSTED_TOTAL_AMT2’.  Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the
specified dataset scope. Letters in the names of fields must use the correct case.

Hi BlackHills_SD,
According to your description, when you use the iif expression to set visibility of the row, you got the error message.
When we write expressions, we will find that the term scope is used in multiple contexts. Scope can specify the data to use for evaluating an expression, the set of text boxes on a rendered page, the set of report items that can be shown or hidden based
on a toggle. It seems that POSTED_TOTAL_AMT2 is not in the same dataset as TREE_NODE. We can refer to the following steps to troubleshoot the problem:
Right-click the report and click Insert to add a text box.
Right-click inside of the text box, then click Expression.
Click Datasets, click First(POSTED_TOTAL_AMT2), scope of POSTED_TOTAL_AMT2 will be listed.
For more information about Understanding Expression Scope, please refer to the following document:
https://technet.microsoft.com/en-us/library/dd255256%28v=sql.105%29.aspx?f=255&MSPPError=-2147217396
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support

Similar Messages

  • Need to hide rows in the Query results with blank values

    Hi All,
    We have a requirement like this for Stock Report, we need to display both movements and balance in that report. We display the movement data directly from the Standard cube with input as Fiscal period/year.  When we do like this, we are not able to get the opening balance as fiscal period was in char restrictions pane.
    We have created a dummy keyfigure restricted to Fiscal period ( so that the global filter is not applied and get the inventory data irrespective of fiscal period input ). We have created 3 variables of processing type customer exit and acheived calculating opening balance, current movement and closing balance.
    If FP input is 009.2010 to 010.2010, it will get whatever Qty moved before 009.2010 ( 001.1990 - 009.2010 in exit ) as opening balance and closing balance ( 001.1990 - 010.2010 )  and the Qty KF restricted with another exit varibale ( 009.2010 to 010.2010 ).
    Hope everyone understood the scenario and issue here is, though I give the input 009.2010 - 010.2010 , I get the rows displayed for different periods ( this is because I am retreiving data for all the fiscal periods but restricting it based on input ). How to restrict/hide these rows.
    Your inputs and suggestions are valued.
    Thanks,
    Chandra.

    Hi,
    Try creating a query level field which would populate as "X" (with the IF condition ) if the record falls in the period which you have given for input variable (009.2010 - 010.2010). Then place a query level filter for this field where only records with value "1" for this field is displayed.
    Hope this helps.
    Happy to help further.
    Regards
    Venky

  • Need to hide row when table has 1 entry in adobe

    Dear Experts,
    I have made select statement in Initialization and in context i have called Table EKPO and under that EKET based on EBELP where clause. Then I have called Sub form for both Tables and made as EKPO(Role Body Row) EKET(Role Table for subform1, Role Body row for subform2)
    Eg: Table EKPO
                  Table EKET
    Need to hide if EKET has one row for that, I want to know number of rows in table, if row 1 then need to hide otherwise need to show in adobe.
    Sharrad Dixit
    dixitasharad at gmail

    Hi A,
    I hope as per your previous post, you might have already set the presentation variable. You can write the column formula now as:
    case when @{variables.country} = 'All Choices' then sum(revenue) by year else <your previous case to hide the USA column} end.
    Hope this helps.
    Thank you,
    Dhar

  • Need to hide row in a pivot table

    Hi All,
    I have a requirement
    which has country, year, dept, revenue as the column
    Prompt is on country
    created the report in pivot table
    row wise data is present in the table
    If i select country in prompt
    INDIA
    1999     IT      50000
         NON_IT     40000
    USA
    1999     IT     100000
         NON_IT 700000 (WANT TO HIDE IT)
    CHINA
    1999 IT 40000
    NON_IT 60000
    if i select ALL CHOICE IN PROMPT
    1999 IT 1000000 (SUM OF ALL COUNTRY)
    NON_IT (IT SHOULD BE HIDDEN)
    please let me know if we can achieve it
    thanks a lot
    A

    Hi A,
    I hope as per your previous post, you might have already set the presentation variable. You can write the column formula now as:
    case when @{variables.country} = 'All Choices' then sum(revenue) by year else <your previous case to hide the USA column} end.
    Hope this helps.
    Thank you,
    Dhar

  • Newbie Needs Help:Hide/Show Object

    Hi
    I am brand new to using Flash and need some help to set up
    and script a very basic movie:
    it would have 2 white circles at opposite sides of the screen
    that would alternately show and hide,one then the other, every .5
    seconds, for 30 seconds, then stop.
    I have tried every way I can figure out (plus read in
    tutorials) and can not get this to work.
    Being so new to Flash, it would be very helpful if someone
    could provide a step-by-step walk-through. This will help me learn
    as well as be able to create this animation.
    Kind Regards,
    saratogacoach

    Sara,
    I think I understand your dilema correctly. Just to clarify,
    you want these dots to appear and reappear on their own, not with a
    push of a button or an action of any kind, correct? Assuming so,
    here's what you need to do.
    1. Draw the cirles on your stage.
    2. Turn the cirles into movie clip symbols (select the
    cirlce, hit F8 and choose movie clip and name it).
    3. Once the object is a movie clip double click on the circle
    to enter the movie timeline.
    4. Here you will see a blank timeline with your circle in it.
    Now apply a keyframe at the points you want it to appear and
    disappear. Alternate deleting the cirlce and pasting the cirle to
    simulate the dissappear and reappear animation. Once you've done
    this enough to cover 30 seconds worth apply a new layer called
    actions. at the final keyframe on the actions layer pull up the
    actions menu and apply a stop tag.
    Now the movie will start and play for the duration of the
    animation and stop at the end.
    Let me know if this all makes sense and if you need further
    clarifications.
    Good Luck!

  • Need help understanding about materials, batch, mat. group, etc.

    Hello Experts,
    Please englighten on materials, material batch, material group, restricted stock,
    unrestricted stock, etc. How do we create materials? what is a material batch?group? Any help would be appreciated. Thanks a lot guys and take care!

    viraylab,
    Here r the links for MM
    http://www.sapgenie.com/abap/tables_mm.htm
    http://www.sap-img.com/sap-download/sap-tables.zip
    http://www.allsaplinks.com/material_management.html
    http://www.training-classes.com/course_hierarchy/courses/2614_SAP_R_3_MM_Invoice_Verification_-_Rel_4_x.php
    http://www.sapfriends.com/sapstuff.html
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMWMLVS/MMWMLVS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf
    http://www.erpgenie.com/sap/sapfunc/mm.htm
    Don't forget to reward if useful....

  • I need help  I occasionally participate in focus groups and at I am required to have a webcam. If I purchase a iPad will I be able to continue to participate vs purchasing a laptop?

    I am trying to decide rather I should get a laptop or iPad. I have a iPhone 5 and have used Apple products in the past. I wasn't sure if I went ahead with a iPad if I would still be able to use a webcam to communicate with people for future focus groups. Any help would be greatly appreciated!! Thanks!

    See I wasn't sure if I could use Skype on the iPad. Thank you so much for your help. I found a great deal on a Dell laptop but love the portability of a iPad plus many other things.

  • Need Help ::  Current row attribute value returning null

      Hi Frds,
    I am facing the problem that
    Current row attribute value returning null............ even though value is there..... plz.. he
    This is the code in PFR
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("queryBtn")!= null)
        String  pPersonId = pageContext.getParameter("ctrlPersonId");
         String rowReference = pageContext.getParameter(EVENT_SOURCE_ROW_REFERENCE);
         OptionsVORowImpl curRow = (     OptionsVORowImpl) am.findRowByRef(rowReference);
        String dtlsItem =  (String)curRow.getFlexValue();   /*  this is returning null value */
    /*  here creating  the hashmap and calling the page with the hashmap*/
    Thanks & Regards,
    jaya
    Message was edited by: 9d452cf7-d17f-4d1e-8e0e-b22539ea8810

    Hi Jaya,
    You want to catch Flexfield values?
    Try below code for catch value.
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("queryBtn")!= null)
    OADescriptiveFlexBean dfb = (OADescriptiveFlexBean)webBean.findChildRecursive("flexDFF"); //get the DFF bean
    OAWebBean dffbean = (OAWebBean)dfb.findChildRecursive("flexDFF0"); //get the field that applies to the attribute1 column that is being rendered
    OAMessageStyledTextBean Stylebean = (OAMessageStyledTextBean)dffbean;
    String dtlsItem  = (String)Stylebean.getText(pageContext);
    /*  here creating  the hashmap and calling the page with the hashmap*/
    Thanks,
    Dilip

  • Need help summing row values based on several elements

    Hello All,
    I need to print two values in the trailer. The sum of all negative quantities where 1 - Trade Date is equal to settle date or record id = 2 and the sum of all position quanties with the same two conditions. Below you can see my xsl but my numbers are coming out incorrect. BTW, the results that are being parsed are coming from a database query return.
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text" omit-xml-declaration="yes"/>
    <xsl:template match="/">
    <xsl:apply-templates select="result"/>
    </xsl:template>
    <xsl:template match="result">
    <xsl:apply-templates select="entry"/>
    <xsl:call-template name="trailer"/>
    </xsl:template>
    <!-- Data definition -->
    <xsl:template match="entry">
    <!-- Acct # -->
    <xsl:value-of select="substring(ClientAccountNumber, 1, 6)"/>
    <!-- Trade Date -->
    <xsl:value-of select="substring(TRADE_DATE, 3, 6)"/>
    <!-- Settle Date -->
    <xsl:value-of select="substring(SettleDate, 3, 6)"/>
    <!-- Quantity -->
    <xsl:value-of select='format-number(NetQuantity, "0000000000000.0000")
    <!-- Record Id -->
    <xsl:value-of select="RecordId"/>
    </xsl:template>
    <!-- Trailer definition -->
    <xsl:template name="trailer">
    <xsl:value-of select="count(//entry[NetQuantity>0 and TRADE_DATE = SettleDate or TRANS_REC_ID_C ='02'])"/>
    <xsl:value-of select='format-number(sum(//entry[./LongQuantity>0][./TRADE_DATE = SettleDate][./TRANS_REC_ID_C<3]/LongQuantity), "0000000000000.0000")'/>
    <xsl:with-param name="padVar" select='format-number(sum(//entry[./ShortQuantity>0][./TRADE_DATE = SettleDate][./TRANS_REC_ID_C<3]/ShortQuantity), "0000000000000.0000")'/>
    </xsl:template>

    Hello All,
    I need to print two values in the trailer. The sum of all negative quantities where 1 - Trade Date is equal to settle date or record id = 2 and the sum of all position quanties with the same two conditions. Below you can see my xsl but my numbers are coming out incorrect. BTW, the results that are being parsed are coming from a database query return.
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text" omit-xml-declaration="yes"/>
    <xsl:template match="/">
    <xsl:apply-templates select="result"/>
    </xsl:template>
    <xsl:template match="result">
    <xsl:apply-templates select="entry"/>
    <xsl:call-template name="trailer"/>
    </xsl:template>
    <!-- Data definition -->
    <xsl:template match="entry">
    <!-- Acct # -->
    <xsl:value-of select="substring(ClientAccountNumber, 1, 6)"/>
    <!-- Trade Date -->
    <xsl:value-of select="substring(TRADE_DATE, 3, 6)"/>
    <!-- Settle Date -->
    <xsl:value-of select="substring(SettleDate, 3, 6)"/>
    <!-- Quantity -->
    <xsl:value-of select='format-number(NetQuantity, "0000000000000.0000")
    <!-- Record Id -->
    <xsl:value-of select="RecordId"/>
    </xsl:template>
    <!-- Trailer definition -->
    <xsl:template name="trailer">
    <xsl:value-of select="count(//entry[NetQuantity>0 and TRADE_DATE = SettleDate or TRANS_REC_ID_C ='02'])"/>
    <xsl:value-of select='format-number(sum(//entry[./LongQuantity>0][./TRADE_DATE = SettleDate][./TRANS_REC_ID_C<3]/LongQuantity), "0000000000000.0000")'/>
    <xsl:with-param name="padVar" select='format-number(sum(//entry[./ShortQuantity>0][./TRADE_DATE = SettleDate][./TRANS_REC_ID_C<3]/ShortQuantity), "0000000000000.0000")'/>
    </xsl:template>

  • Need help with LikeFilter for querying the keyset instead of value

    Hi,
    I'm looking for help with the LikeFilter.
    I need to query the cache to get all entries with key starting with a particular string.
    I could see samples using LikeFilter for querying the values in the cache but not the keyset.
    Can someone help?
    E.g:
    Cache Entries:
    abc123 - value1
    abc234 - value2
    bcd123 - value3
    I want to get all entries with key starting with 'abc'.
    thanks,
    rama.

    NJ, thanks for the quick reply.
    I tried something similar (as below) but this code gives me 'java.lang.NoClassDefFoundError: com/tangosol/util/ValueExtractor'.
    KeyExtractor extractor = new KeyExtractor("getKey");
    Filter filter = new LikeFilter(extractor, id+":%",'-',false);
    -rama.
    Edited by: 911950 on Feb 2, 2012 1:18 PM

  • Need help with IQ02 - using a FM do update a value in this transaction

    Hi,
    I am trying to change the Aquisition value (as in transaction  IQ02) using either of following FM:
    ITOB_SERIALNO_MODIFY_SINGLE
    SERIALNUMBER_LIST_UPDATE
    However the changed value of field (ANSWT) is not getting reflected in database.
    I tried ABAP4_COMMIT_WORK, but it didnt work.
    I also tried, BAPI_TRANSACTION_COMMIT but getting a express document message 'Update was terminated.'
    Kindly help me with this. The only thing I need to do is to change the ANSWT (Aquisition value) field.
    Thanks.
    Sanjay
    PS: Help will be rewarded

    It's a bit dangerous to use SAP function modules that are not released to the user to update SAP data because they may not be a complete LUW. IE you may have to run other FMS either before or after. Try to find a BAPI. Maybe BAPI_MATERIAL_MAINTAINDATA_RT is what you need.
    Rob

  • Data Merge - Is there a way to selectively hide rows/columns from layouts based on cell values?

    I'm using data merge to generate pages from a product spreadsheet. The complication is, some columns should exist for some products (like "qty per bundle") but need to be hidden for others. Is there a way for InDesign to automatically include or remove rows for some pages but not others, based on something like "qty = 0"?

    For logic-based data merge, I use Em Software's product InData.
    Depending upon the design, ID's merge can remove blank fields thereby removing there paragraph or position on a line. Unless, of course, you have static text along with it. Which I almost always do. that's why I use Em Software's solution. It has a trial version. One needs to get familiar with the language statements. But for me it was worth the price and learning curve.
    And there are other plug-ins but for "simple" merging they are overkill in my circumstances (and so cost more).
    Mike

  • Need Help: How to configure/set-up custom interchange code values in B2B

    Hello All,
    Hope everybody is doing well.
    We are currently facing a problem in implementing Inbound 850 Purchase Orders in B2B from one of our Trading Partners (Customer).
    The Customer will be sending us EDI ANSI X12 ver 4010 Purchase Order files, but in the file they are sending a custom GS08 (8th element of GS Segment having Version/Release/Industry Identifier Code) value i.e. "004010RIFMAT".
    The above value is not present in the Standard Code values when we define an ECS using B2B Document Editor.
    Hence the document is failing in B2B since it is not able to identify the Trading Partner.
    If anyone has faced similar issues, I would appreciate if you could let me know on how to configure the same in B2B. Please let me know the steps in detail.
    Thanks In Advance.
    Regards,
    Dibya

    Hello Dibya,
    Can you create a new group ecs with appropriate codelist for GS08 and use it while modelling B2B flow. Make sure to undeploy and validate the agreement.
    Rgds,Ramesh.

  • Need help for report Variable to restrict the key figure value...

    Hai gurus,
    Now i have data in the cube as follows...
    Reuisition     HR INTW date     LM INTW DATE     TEL INTW DATE     HR Count     LM Count     TEL Count
    a1              01.01.2010     02.01.2010             01.04.2010                 1                1                 1
    a2              02.02.2010     03.02.2010             02.02.2010                 1                1               1
    a3              03.03.2010     04.03.2010             03.03.2010                 1                1               1
    when i execute the report it shd ask the prompts with Date interval as in the below...
    HR INTW date
    LM INTW DATE
    TEL INTW DATE
    if i dont give any interval in the variable prompt it should display all the recors as follows
    Reuisition     HR Count     LM Count     TEL Count
    a1               1                  1               1
    a2               1                  1                     1
    a3               1                   1             1
    If i give LM INTW DATE interval as    01.01.2010 to 31.02.2010
    then it should display all the other counts as in the output_1 , but for LM count for a3 it should show 0.
    Reuisition     HR Count     LM Count     TEL Count
    a1               1                  1               1
    a2               1                  1                     1
    a3               1                 0                  1
    that means wherever i restrict the data depending on the variable that only that interval key figure value shd be in the report..
    for this scenario, which variable i need to use... and how i need to restict the KFig value in the report...
    Right now i am getting like this but it is restricting the records,,, where it should not restrict the records...in the report..
    Please guide me for the same...
    If any concerns about the scenario please let me know...
    Regards,
    VJ

    hi chowdary ,
    could you tell me the var. creation in detail and  with which reference object i need to create ...
    whether i need to take LM_DATE / 0DATE while creating variable...
    and i kept this variables it in filter section, based on the LM_DATE Object.
    i have tried both.. y'day when i take 0DATE it giving me some results...
    But at the same time it is restricting the records..
    i think it could be a problem with var.. properties?
    need more inputs pls.
    Regards,
    VJ

  • Need Help in Field Symbol for Dynamically passing  table field value

    Hi All,
    In my internal table I am having data.
    I am dynamically forming table field name and substitute for the another table field name to pass DATA.
    but I am getting the Variable name insted of Value ie Data.
    I am using Field Symbol for this.
    data:
    Field-symbols <TS> type any.
    field1 type string.
    LOOP AT TABLEFIELDS INTO WA_TABLEFIELDS.
                READ TABLE  TEST  WITH KEY NAME = WA_TABLEFIELDS-FIELDNAME.
                IF SY-SUBRC = 0.
                  CONCATENATE 'WA_' WA_TABLEFIELDS-TABNAME '-' WA_TABLEFIELDS-FIELDNAME INTO  Field1.
                  Assign Field1 to <TS>.
                    ALL_VAL-VALUE = <TS>
    "After substituting the <TS>  into ALL_VAL-VALUE  field I need a DATA to be passed but the variable name is appending"*    
             APPEND ALL_VAL.
                ENDIF.
              ENDLOOP.
    kindly how to pass the value into the table.
    Thanks in advance.
    San

    Hi,
    pls assign a break point in
    CONCATENATE 'WA_' WA_TABLEFIELDS-TABNAME '-' WA_TABLEFIELDS-FIELDNAME INTO Field1.
    Assign Field1 to <TS>.
    ALL_VAL-VALUE = <TS>
       " Put a break point here and check for the value in <TS>.
    if <TS> contains value then create a work area for ALL_VAL AND PASS the Field-Symbol to that and then  append thw wa into the table...
    Hope this works out!!
    thanks

Maybe you are looking for

  • Itunes is messed up

    so my itunes hasn't been working for a while. It won't transfer any new songs to my ipod, in fact for a while it wouldn't even recognize my ipod. Now it recognizes it but it told me that itunes wasn't installed properly. so I unintstalled it and re-i

  • How do I create a list of available times?

    I frequently receive emails asking me when I'm free for a meeting.  I'd like to reply with a list of available times between specified dates.  How do I do this with existing Mac software or commercial products?  I've seen such listings from Outlook.

  • The iPod cannot be synced. An unknown error occurred (-54).

    Every time I plug my iPod into my PC, I get the -54 sync error. I do not know why. I am ON THE PHONE, with Apple Support, right now - they have no idea how to fix it. Any suggestions? I saw a MAC solution, a while back, on how to unlock files. Does a

  • HT5137 my iMessage will not activate

    my imessage will not activate, can someone please help me with this?

  • I cant upload a verification file to my website

    im not quite sure how to upload a verification file that is required unto my website here at http://www.tarantulapets.com