How to hide one column in PIVOT(in Union )

Hi experts
I have one problem regarding my Pivot report.
I have to calculate MTD an YTD in my single report so i have calculated MTD in one criteria (UNION) YTD in second criteria.
In my MTD i have to show 4 column: A B C D
and in YTD I have to show only 3 column : A B C
So how to hide column D in YTD.
Thanks in advance
Regards
Frnds

Hi John
I have done :
1. when i do cast as null to my D column in second report. I am getting error
(Union for non compatible)
2. so i done the cast in first report also..
3. Done the union all
4.and done the HIDE for column D in Result Column..
But still i am seeing it in my report in YTD...
So please help me its very urgent for me..

Similar Messages

  • How to hide one column in Alv if it doesnt contain any value

    Hi,
      In alv Grid if one coulmn doesnt conatin any value.I doesnt want to display in ALV grid.Is dat possible. Plz help.

    Hello Anu
    When you prepare your fieldcatalog check the column of the output itab for its contents, e.g.:
    " Itab GT_FCAT contains fieldcatalog.
    " Itab GT_OUTTAB contains ALV list data.
    " Condition: column "MY_COLUMN" should contain at least single value > 0
      LOOP AT gt_outtab TRANSPORTING NO FIELDS
                     WHERE ( my_column > 0 ).
        EXIT.
      ENDLOOP.
      IF ( syst-subrc NE 0 ).  " Column "MY_COLUMN" contains no value > 0, then hide column
        READ TABLE gt_fcat INTO ls_fcat
                  WITH KEY fieldname = 'MY_COLUMN'.
        IF ( syst-subrc = 0 ).
          ls_fcat-no_out = 'X'.  " not displayed, but visible in layout
          ls_fcat-tech = 'X'.     " not displayed, not available in layout
          MODIFY GT_FCAT FROM ls_fcat INDEX syst-tabix.
        ENDIF.
      ENDIF.
    Regards
      Uwe

  • How to hide multiple columns in multicolumn listbox like as an excel sheet?

    Hello All,
    I have large amount of data that is to be displayed on multicolumn listbox. After displaying that, I want to hide or delete some columns from listbox in runtime.
    I know how to hide one column using active cell property node. But I want to hide multiple columns. I am using LabVIEW 2011. 
    Thanks in advance.
    Thanks & Regards,
    Manisha

    Thank you so much. 
    But I have total 12 columns and I don't want to delete columns serially. I want to delete inbetween columns, like in attached VI I want to delete column A & D only. 
    And in this user have to select it from frontpanel. I want this is to be done as in excel, like we select the entire column and either we hide it or delete it. One more thing I want to clear the data in multicolumn when I next time open my VI. How to do that?
    I hope am clear in explaining my problem.
    Thanks & Regards,
    Manisha
    Attachments:
    Delete Column.vi ‏10 KB

  • How to place one column under another column in obiee report?

    Hi all,
    I am new to obiee, so need some help from obiee experts. Can anyone tell me how to place one column data under another column in obiee report?
    i need the report to be as below
    category total_students Course_enrollment Test_attended pass_test
    total N % N % N %
    all students ##### ## ## ## ## ## ##
    Ethnicity
    Asian ###### ## ## ## ## ## ##
    African American ###### ## ## ## ## ## ##
    white ######
    Filipino ######
    Gender
    Male ##### ## ## ## ## ## ##
    Female ##### ## ## ## ## ## ##
    and similarly for other columns
    where ethnicity, gender are columns in the table and Course_enrollment, Test_attended, pass_test are calculated columns.
    Please help me to create a report as above if anyone knows how to do it.
    Edited by: Shailaja on Jul 19, 2010 12:23 AM

    Two ideas I can think of:
    1) Create multiple pivot tables and then display them one under the other
    2) Create multiple measure columns such as "male_amt", "female_amt", "white_amt", "asian_amt", "black_amt", etc. for all the columns you need. Then you could simple stack them in a single pivot table.
    Option #2 might give you the prettiest results - but also requires a lot more maintenance (for instance, if you reclassify ethnic groups, you'd have to go through the reports to add additional metric columns).
    Hope this helps,
    Scott

  • Hide one column when filter applied on dimension

    My client has his weird requirement. She wants to hide one measure in pivot table when the filter is used for one dimension. Is there any way this can be achieved by MDX?
     

    Hi,  Aleksandr,
    Sorry for the misleading. 
    However, what they want is not hide the unit level for the measure.  They wanted the entire [Measures].[YourMeasureName] to be null or blank when only some units of the unit level are select.
    Foe example, when I use filter in my pivot table to select only campus X, dept Y, branch Z, and Unit U1 (there are U1, U2, U3 in branch Z), the entire column [Measures].[YourMeasureName] disappear or null.
    I know it sounds crazy and confusing. But that's what they want.
    Any suggestion?
    Thank you!

  • How to add one column in existing search help.

    Hi Folks,
    My quesion is
    How to add one column in existing search help and also Now search help on that field is not an explicit search help. It should be implement using check table.
    Shivam

    Hi,
    If you want to add a field in Elementary search help, get the search help name for the and go to change mode and add the field in it.
    If you want to add a field in collective search help, go to included search helps tab and a new search help name and add the fields to it.
    I think this should help you to certain extent.
    Regards,
    Kranthi
    Edited by: Kranthi on Jan 14, 2010 11:15 AM

  • How to add one column to the standard t.code : CAT2.

    Hi,
    How to add one column to the standard t.code : CAT2.
    thanks

    Hi Chinna
    see the  enhancements by using SMOD <b>CATS0007</b> , or <b>CATS0012</b> and create a project using CMOD and you can implement your requirement.
    Hope This Info Helps YOU.
    <i>Reward Points If It Helps YOU.</i>
    Regards,
    Raghav

  • How to copy one column BLOB value into another column of another database.

    How to copy one column BLOB value into another column of another database.
    BLOB value contains word document.
    I thought of copy the BLOB value into a text file and then update the new column value by the same text in textfile. Will this work?
    Is there any other better way to do this?

    You're welcome
    BLOB fields contains binary data. I don't think you can do this
    Also if I view the BLOB as text. Can I copy it and insert into the new database.
    I think your options are as I said. Datapump or CTAS
    Best Regards

  • How to hide a column (clnt) in tableview using MVC?

    Hy,
    I would like, please if you cand help me: how to hide a column (clnt) in tableview using MVC for example on sflight table.
    Thanks

    Hi,
    You can use the below logic
    <htmlb:tableView id = "t1"
               visibleRowCount = "10"
               table = "<%= flights %>">
         <htmlb:tableViewColumns>
              <htmlb:tableViewColumn columnNamd = "carrid" />
              <htmlb:tableViewColumn columnNamd = "connid" />
              <htmlb:tableViewColumn columnNamd = "fldate" />
         </htmlb:tableViewColumns>
    </htmlb:tableView>
    define all the required columns using tableViewColumn tag.
    Regards,
    Ravi

  • How to hide ALV column in webdynpro

    Hi frnds,
                   I want to hide one columns in ALV output on webdynpro , give the procedure ...
    Thanks & Regards,
    Rajesh.j

    Procedure is :
    a) Get ALV Model reference
    b) Get list of ALV Columns
    c) Loop at each column and set visibility
    Code would be something like this
    I'm storing ALV model reference in view attributes wd_this->alv_config_table of type ref to CL_SALV_WD_CONFIG_TABLE.
    Data: lo_cmp_usage type ref to if_wd_component_usage.
      DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_column          TYPE REF TO cl_salv_wd_column,
            lt_column type salv_wd_t_column_ref,
            ls_column type salv_wd_s_column_ref.
    *create an instance of ALV component
      lo_cmp_usage =   wd_this->wd_cpuse_OVERVIEW_EARNED_ALV( ).
    * if not initialized, then initialize
      if lo_cmp_usage->has_active_component( ) is initial.
        lo_cmp_usage->create_component( ).
      endif.
    * get ALV component
      lr_salv_wd_table = wd_this->wd_cpifc_OVERVIEW_EARNED_ALV( ).
       wd_this->alv_config_table = lr_salv_wd_table->get_model( ).
      lr_column_settings ?= wd_this->alv_config_table.
      lt_column = lr_column_settings->get_columns( ).
      loop at lt_column into ls_column.
        CASE ls_column-id.
          when 'POST_YEAR'.
            ls_column-r_column->set_visible( if_wdl_core=>visibility_none ).
       ENDCASE.
    endloop.

  • How to hide the Columns and Views for Login user in SharePoint 2013

    Hi Friends,
    How to hide the Columns and Views for Login user in SharePoint 2013? Is it possible using OOB features? If not possible how can we hide the Columns and Views for Login user?
    Could you please help on this.
    Thanks,
    Tiru
    Tiru

    Hello Tirupal,
    There is no OOB way to do this.
    Please check this codeplex solution to achieve the same.
    https://sp2013columnpermission.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to hide ,unhide columns  in ALV List

    Hi all,
    How to hide ,unhide columns  in ALV List..
    Plz guide me.
    Thanks in advance..
    Albert

    Hi Joseph,
    Check the following thread:
    Hide Unhide columns of ALV grid Report.
    Regards,
    Archana

  • How to hide row column on condition in report

    Hello everyone,
    Can its is possible to hide a Column of a row in report.
    For one customer i am having Opening Balance n Closing Balance data.....i m breaking my report on customer wise (First Column). So I can see Customer only one time not 5..... now i want to see Opening Balance Data only in first row n Closing Balance Data only in last row.
    How can i achieve this, pls help!
    regards,
    UKJ

    Hi,
    I have no idea but try this:SELECT  SEGMENT1,
            VENDOR_NAME,
            VENDOR_SITE_CODE,
            INVOICE_NUMBER,
            INVOICE_DATE,
            INVOICE_TYPE_LOOKUP_CODE,
            PAY_DATE,
            DESCRIPTION,
            CHECK_DATE,
            CHECK_NUMBER,
            VOUCHER_NUM,
            SUM(debit) debit,
            null credit,
            op_bal,
            cl_bal
    from (
    SELECT  SEGMENT1,
            VENDOR_NAME,
            VENDOR_SITE_CODE,
            INVOICE_NUMBER,
            INVOICE_DATE,
            INVOICE_TYPE_LOOKUP_CODE,
            PAY_DATE,
            DESCRIPTION,
            CHECK_DATE,
            CHECK_NUMBER,
            VOUCHER_NUM,
            SUM(debit) debit,
            null credit,
            op_bal,
            cl_bal
            row_number () over (partition by VENDOR_NAME order by INVOICE_DATE) rnk
    from (
    SELECT  SEGMENT1,
            VENDOR_NAME,
            VENDOR_SITE_CODE,
            INVOICE_NUMBER,
            INVOICE_DATE,
            INVOICE_TYPE_LOOKUP_CODE,
            PAY_DATE,
            DESCRIPTION,
            CHECK_DATE,
            CHECK_NUMBER,
            VOUCHER_NUM,
            SUM(debit) debit,
            null credit,
            op_bal,
            cl_bal   
        FROM (   
    SELECT POV.SEGMENT1,
           POV.VENDOR_NAME,
           pov.vendor_id,
           POVS.VENDOR_SITE_CODE,
           hou.SET_OF_BOOKS_ID,
           API.INVOICE_NUM INVOICE_NUMBER,
           API.INVOICE_DATE,
           API.INVOICE_TYPE_LOOKUP_CODE,
           APPL.ACCOUNTING_DATE PAY_DATE,
           API.DESCRIPTION DESCRIPTION,
           TO_CHAR(APC.CHECK_DATE, 'dd-MON-yyyy') CHECK_DATE,
           APC.CHECK_NUMBER,
           APC.DOC_SEQUENCE_VALUE VOUCHER_NUM,
           API.INVOICE_AMOUNT,appl.amount,
           DECODE(API.INVOICE_TYPE_LOOKUP_CODE,'CREDIT',API.INVOICE_AMOUNT ,appl.amount) debit,
           null credit,
           jai_ap_rpt_apcr_pkg.compute_credit_balance(API.INVOICE_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) cr_amt,
           jai_ap_rpt_apcr_pkg.compute_debit_balance(API.INVOICE_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) dr_amt,
           jai_ap_rpt_apcr_pkg.compute_credit_balance(:P22_FROM_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) -
           jai_ap_rpt_apcr_pkg.compute_debit_balance(:P22_FROM_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) op_bal,
           jai_ap_rpt_apcr_pkg.compute_credit_balance(:P22_TO_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) -
           jai_ap_rpt_apcr_pkg.compute_debit_balance(:P22_TO_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) cl_bal
        FROM AP_INVOICES_ALL API,
             AP_INVOICE_LINES_ALL APIL,
             AP_INVOICE_DISTRIBUTIONS_ALL APD,
             PO_VENDORS POV,
             PO_VENDOR_SITES_ALL POVS,
             AP_INVOICE_PAYMENTS_ALL APPL,
             AP_CHECKS_ALL APC,
             hr_operating_units hou
       WHERE API.INVOICE_ID = APIL.INVOICE_ID
         AND API.INVOICE_ID = APD.INVOICE_ID
         AND API.VENDOR_ID = POV.VENDOR_ID
         AND API.VENDOR_SITE_ID = POVS.VENDOR_SITE_ID
         AND API.INVOICE_ID = APPL.INVOICE_ID
         AND APPL.CHECK_ID = APC.CHECK_ID
         AND APIL.line_number = apd.invoice_line_number
         AND APD.match_status_flag='A'
         AND API.org_id=hou.ORGANIZATION_ID
         AND APIL.LINE_TYPE_LOOKUP_CODE='ITEM'
         AND api.org_id = nvl(:p22_org_id,api.org_id)
         AND TRUNC(API.INVOICE_DATE) BETWEEN NVL (:P22_FROM_DATE,API.INVOICE_DATE)AND NVL(:P22_TO_DATE,API.INVOICE_DATE)
    GROUP BY SEGMENT1,
             VENDOR_NAME,
             VENDOR_SITE_CODE,
             INVOICE_NUMBER,
             INVOICE_DATE,
             INVOICE_TYPE_LOOKUP_CODE,
             PAY_DATE,
             DESCRIPTION,
             CHECK_DATE,
             CHECK_NUMBER,
             VOUCHER_NUM,
             op_bal,
             cl_bal
    UNION
    SELECT SEGMENT1,
           VENDOR_NAME,
           VENDOR_SITE_CODE,
           INVOICE_NUMBER,
           INVOICE_DATE,
           INVOICE_TYPE_LOOKUP_CODE,
           PAY_DATE,
           DESCRIPTION,
           CHECK_DATE,
           CHECK_NUMBER,
           VOUCHER_NUM,
           debit,
           SUM(credit) credit,       
           op_bal,
           cl_bal
         FROM (  
    SELECT POV.SEGMENT1,
           POV.VENDOR_NAME,
           POVS.VENDOR_SITE_CODE,
           API.INVOICE_NUM INVOICE_NUMBER,
           API.INVOICE_DATE,
           API.INVOICE_TYPE_LOOKUP_CODE,
           NULL PAY_DATE,
           API.DESCRIPTION DESCRIPTION,
           NULL CHECK_DATE,
           NULL CHECK_NUMBER,
           NULL VOUCHER_NUM,
           DECODE(API.INVOICE_TYPE_LOOKUP_CODE,'CREDIT',NULL ,abs(API.INVOICE_AMOUNT))  credit,
           DECODE(API.INVOICE_TYPE_LOOKUP_CODE,'CREDIT',abs(API.INVOICE_AMOUNT))  DEBIT,
           jai_ap_rpt_apcr_pkg.compute_credit_balance(API.INVOICE_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) -
           jai_ap_rpt_apcr_pkg.compute_debit_balance(API.INVOICE_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) op_bal,
           jai_ap_rpt_apcr_pkg.compute_credit_balance(:P22_TO_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) -
           jai_ap_rpt_apcr_pkg.compute_debit_balance(:P22_TO_DATE,pov.vendor_id,hou.SET_OF_BOOKS_ID,povs.VENDOR_SITE_CODE,:p22_org_id) cl_bal
       FROM AP_INVOICES_ALL API,
            AP_INVOICE_LINES_ALL APIL,
            AP_INVOICE_DISTRIBUTIONS_ALL APD,
            PO_VENDORS POV,
            PO_VENDOR_SITES_ALL POVS,
            hr_operating_units hou
       WHERE 1=1
        and api.org_id=apil.org_id
        and API.INVOICE_ID = APIL.INVOICE_ID
        AND API.INVOICE_ID = APD.INVOICE_ID
        AND API.VENDOR_ID = POV.VENDOR_ID
        AND API.VENDOR_SITE_ID = POVS.VENDOR_SITE_ID
        and api.org_id =apil.org_id
        and api.org_id=hou.ORGANIZATION_ID
        and apil.line_number = apd.invoice_line_number
        AND apd.match_status_flag='A'
        and apil.LINE_TYPE_LOOKUP_CODE='ITEM'      
        AND api.org_id = nvl(:p22_org_id,api.org_id)
        AND TRUNC(APD.ACCOUNTING_DATE) BETWEEN NVL (:P22_FROM_DATE,APD.ACCOUNTING_DATE) AND NVL (:P22_TO_DATE,APD.ACCOUNTING_DATE)
    GROUP BY SEGMENT1,
             VENDOR_NAME,
             VENDOR_SITE_CODE,
             INVOICE_NUMBER,
             INVOICE_DATE,
             INVOICE_TYPE_LOOKUP_CODE,
             PAY_DATE,
             DEBIT,
             CREDIT,
             DESCRIPTION,
             CHECK_DATE,
             CHECK_NUMBER,
             VOUCHER_NUM,
             op_bal,
             cl_bal)
    where rnk = 1If it doesn't work as required then alter the line row_number () over (partition by VENDOR_NAME order by INVOICE_DATE) rnk
    I've just guessed that you can find a unique record (a persons account) by partitioning by the vendor_name at that point but perhaps you need other things.
    Mike

  • How to hide a column from document set?

    I have a document set in which i want to hide one of the columns, how do i proceed? is there any out-of-the-box features available? I want to show the column in main library view but not in document set. Any suggestions would be appreciated.
    Thanks
    Ramanjulu Naidu N

    You can hide the column in the content type to stop it showing in forms.
    Or you can go into Document Set settings (via the library settings page) to stop it being displayed on the Document Set homepage. 
    Does this cover the hiding you wanted to do?
    w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | YouTube: http://www.youtube.com/user/JamieMcAllisterMVP

  • How to hide a column in report when it has all zeros.

    Hi Experts.,
    Is there any possibility to hide a column in report when it has all zeros.
    Thanks in Advance
    Venkat

    Venkat Krishna wrote:
    Hi Experts.,
    Is there any possibility to hide a column in report when it has all zeros.
    Thanks in Advance
    VenkatNot out-of-the-box, but there are several workarounds if you wish to pursue any of them:
    1) Use a View Selector. One report will have a pivot table with the column, the other will have the same report minus the column. Users can switch reports.
    2) Use a Column Selector. The two choices would be that column or a blank. If the blank is chosen (because the user sees there are no values), the column will "disappear" from the report.
    3) Use Guided Nav. This method doesn't involve user intervention. Build a small report using the one column and put a filter on it "is not equal to" 0. Because there is only one column, if all the rows are 0, the report will not return rows.
    Use this report in the guided navigation properties of a section of the dashboard. Set this to "if the report returns rows" and put the report that has the column in this section. Now add another section to your dashboard and in the guided navigation properties of this section, set it to "if the report returns no rows" and point it to the small report as well. In this section put a second version of your report without the column in it.
    When the column contains all zeroes, the second section will display with the column not in it; the first section will not display. When at least one row contains a non-zero value, the first section will appear with the column, and the second section will not.

Maybe you are looking for

  • Unable to print in adobe reader x

    I have windows xp and i recently updated to adobe reader x and now am unable to print. i have tried to print 'as an image' but I don't see a option for that on my printer ( I have a HP Deskjet D1420). I also tried uninstalling this version and puttin

  • When I plug in my new iPad into my macbook, it doesnt show up

    bought a new ipad- when I plug it in to my macbook, it doesnt show up...

  • How does this website/forum/community whatever it is work?

    Am I alone in in not having the slightest idea what to do when I get here? I would like to ask a question about Edge Animate but as usual Adobe or some other bunch of geeks has "improved" the forum so that it no longer works. Can anybody tell me how

  • Missing graphics

    I am completely new to mac/safari - just switched from a pc 2 weeks ago. I am baffled by a couple of things in safari. I first noticed it at weather.com. They have a feature which my husband uses called "weather on your website" where you can create

  • Logic Pro Midi Kontakt Issue...

    I've just bought the Spitfire Albion 1 library and love it already. Although there is one problem which I can't seem to find the answer to anywhere, which is that when i am recording for instance a legato strings section from my midi keyboard, and us