Cell color in pivot table depending on value from VO

Hello.
We have a pivot table with two columns as data values.
We want those cells to change color. The condition for changing color is in an attribute that is not used in pivot table. It's only in VO (query).
Can this be done? We can change color when there is only one data value column and condition is data value column.
Any idea?
I hope you understand the problem.
Thanks.
Edited by: DejanH on Jun 2, 2010 10:19 AM

Hola,
Actually, the solution I found is to get the rowkey using the DataCellContext
List keyList = (List)dataCellContext.getValue(DataMap.DATA_ROWKEY);
if (keyList != null) {
     rowKey = (Key)keyList.get(0);
}and just get the row from the Iterator using this rowKey.
DCIteratorBinding iter = ADFUtils.findIterator(ITERATOR);
RowSetIterator rsi = iter.getRowSetIterator();
Row row = rsi.getRow(rowKey);Then we can select any attribut from the row and have fun
if it can be helpfull for someone
Regards
Benjamin

Similar Messages

  • Fill in blank cells of a Pivot Table Value field area

    Hi,
    In this workbook (http://1drv.ms/1oHk0QV), a normal Pivot Table has been created on the "Pivot Table" worksheet.  I'd like the blank cells of the Pivot Table to be filled up with the preceding non blank
    value.  So to take an example of Product A, the following is what I want:
    1. H5:N5 should have 1
    2. P5:S5 should have 2
    3. U5:W5 should have 2
    4. Y5:BA5 should have 3
    The same should be done for the others as well.
    I have attempted something on the "PowerPivot" worksheet but I do not get the correct result.
    Please help.
    Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com

    there you go:
    YourMeasure:=CALCULATE([State value],
    LASTNONBLANK(FILTER(ALL(Table2[Week]), Table2[Week] <= MAX(Table2[Week])), [State value])
    it basically finds the last week with a valid [State Value] and shows it
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • Deleting rows from table based on value from other table

    Hello Members,
    I am struck to solve the issue said below using query. Would appreciate any suggestions...
    I have two tables having same structures. I want to delete the rows from TableA ( master table ) with the values from TableB ( subset of TableA). The idea is to remove the duplicate values from tableA. The data to be removed are present in TableB. Catch here is TableB holds one row less than TableA, for example
    Table A
    Name Value
    Test 1
    Test 1
    Test 1
    Hello 2
    Good 3
    TableB
    Name Value
    Test 1
    Test 1
    The goal here is to remove the two entries from TableB ('Test') from TableA, finally leaving TableA as
    Table A
    Name Value
    Test 1
    Hello 2
    Good 3
    I tried below queries
    1. delete from TestA a where rowid = any (select rowid from TESTA b where b.Name = a.Name and a.Name in ( select Name from TestB ));
    Any suggestions..
    We need TableB. The problem I mentioned above is part of process. TableB contains the duplicate values which should be deleted from TableA. So that we know what all values we have deleted from TableA. On deleted TableA if I later insert the value from TableB I should be getting the original TableA...
    Thanks in advance

    drop table table_a;
    drop table table_b;
    create table  table_b as
    select 'Test' name, 1 value from dual union all
    select 'Test' ,1 from dual;
    create table table_a as
    select 'Test' name, 1 value from dual union all
    select 'Test' ,1 from dual union all
    select 'Test' ,1 from dual union all
    select 'Hello' ,2 from dual union all
    select 'Good', 3 from dual;
    /* Formatted on 11/23/2011 1:53:12 PM (QP5 v5.149.1003.31008) */
    DELETE FROM table_a
          WHERE ROWID IN (SELECT rid
                            FROM (SELECT ROWID rid,
                                         ROW_NUMBER ()
                                         OVER (PARTITION BY name, VALUE
                                               ORDER BY NULL)
                                            rn
                                    FROM table_a a
                                   WHERE EXISTS
                                            (SELECT 1
                                               FROM table_b b
                                              WHERE a.name = b.name
                                                    AND a.VALUE = b.VALUE))
                           WHERE rn > 1);
    select * from table_a
    NAME     VALUE
    Test     1
    Hello     2
    Good     3Edited by: pollywog on Nov 23, 2011 1:55 PM

  • Condition colors in pivot table

    I have an analysis in which I have defined 3 conditions for a column (just changing the color depending on its value). I´ve included a pivot table view and I did a duplicate layer for that column... Displayed this one as a percentage. Everything is working fine... just that the percentage column also has the same color as the value column... I don´t think that is right since the condition is for the value but it seems that using the duplicate layer also 'duplicates' the color...
    Pls. is there a way to avoid this behaviour for the percentage column ?
    Txs.
    Antonio
    BExpert, Brazil

    Hello Srini,
    Txs. for the suggestion... but I am thinking... In the way you suggested how could I use the Total... In my pivot table, 1st. column is the Product hierarchy... so all the totals and subtotals are done by the pivot table faciliity... Using a table / column.. I understand I will loose the 'easy way to do it via duplicate layer in pivot'.
    Pls. am I missing something ?
    txs.
    Antonio

  • Hide a Row in Pivot table depending on condition

    Hi , I am using pivot table which is in below format.
    I--------------------date 1 | date 2 | date 3| new calculated item
    measure 1 v1 v2 v3 v4
    measure 2 v5 v6 v7 v8
    measure 3 v9 v10 v11 v12
    measure 4 v13 v14 v15 v16
    now i need to hide the date 2 (ie v2 v6,v10,v14) column in the pivot table ( which is actually a value in a row for a column named as_of_date)
    is this possible.
    please let me know the solution.

    Thanks @mma
    i am unable to pass that {val1} exactly
    here my scenario is, i have
    year prompt and quarter prompt
    depending on year prompt ,quarter prompt is populated with 4 dates
    now i need to pass the max and min values of dates
    to the asofdate.
    please explain me this scenario.
    thanks

  • Pivot Table - Hide Repeated Values

    Page 131 of the Answers user guide refers to a 'Hide Repeated Values' setting for pivot tables. I don't see this anywhere. Please help!

    Hi,
    you can find 'Hide Repeated Values' in option menu of a column dragged and dropped in Section.
    Regards
    Cosimo

  • Table Interface / Web: value from free characteristic

    Hi,
    i am using 2 queries. In the first query i got the free characteristic "calendar year month". Now i created a link with table interface to jump to the second query. With this link i would like to filter query 2 with calendar year month from query 1. How can i get the value from the calendar year month? With drill down there is no problem to get the value in method CHARACTERISTIC_CELL. But with free characteristics this is not so easy.
    Any ideas?
    Regards,
    M. Erbil

    Hi Erbil,
            Please find below the usage of GET_STATE_INFOS,
    DATA  l_sx_axis_data TYPE rsrds_t_axis_data.
               CALL METHOD me->GET_STATE_INFOS
               IMPORTING
               E_T_SLICER = l_sx_axis_data.
    You can get the 0CALMONTH from the above resultset.
    Cheers,
    Kartheek

  • Ain't getting it: insert into table by determing value from another table

    I have a table (PERCENTILE_CHART) with percentiles and test scores for different tests:
    Structure:
    Percentile, Reading_Test, Writing_Test
    Data:
    30,400,520
    31,450,560
    97,630,750
    98,630,780
    99,640,800
    The data is currently in ascending order by Percentile.
    If a person took the Reading test and scored 630 he or she would be in the 98th (not 97th) percentile of the class taking that test.
    I wrote a statement to return the percentile:
    select Percentile
    from ( select ROWNUM, PERCENTILE
    from PERCENTILE_CHART
    where READING_TEST <= '650'
    order by READING_TEST desc)
    where ROWNUM < 2 order by PERCENTILE desc;
    This select works and is able to determine the highest percentile for a score.
    Ok, now I want to process all the records in a STUDENT table which have
    test scores and insert them in a new table along with the percents, normalizing the data in the process.
    Have this:
    STUDENT:
    Student_Name,Student_ID,
    John Smith,121,Reading,98,Writing,90
    Maggie Smithe,122,Reading,95,Writing,96
    And needs to be moved to into SCORES with the percentiles, so I get this:
    SCORES:
    Student_Name,Student_ID,Test_Name,Percentile
    121,Reading,98
    121,Writing,90
    122,Reading,95
    122,Writing,96
    This is were I get confused. How do I insert the data into the SCORES table with the percentile? I think calling a function in package is the way to do it:
    function oua_Test_Percentile_f (
    p_Test_Name in char,
    p_Test_Value in char)
    return char as
    -- Declare variables
    c_Return_PTile char(2);
    begin
    select PERCENTILE into c_Return_PTile
    from (select ROWNUM, PERCENTILE
    from PERCENTILE_CHART
    where p_Test_Name <= '&p_Value'
    order by p_Test_Nmae desc)
    where ROWNUM < 2 order by PERCENTILE desc;
    return c_Return_PTile;
    end;
    But this function doesn't return the percentile even though it is based on my working select mentioned earlier. It returns a blank for all tests.
    And even if it is working how do I then populate the SCORES table?

    You may want to use analytical functions so that you can determine the percentile across all of the different scores:
    SQL> with
    2 PERCENTILE_CHART as
    3 (
    4 select 30 PERCENTILE, 400 READING_TEST, 520 WRITING_TEST from dual union all
    5 select 31 PERCENTILE, 450 READING_TEST, 560 WRITING_TEST from dual union all
    6 select 97 PERCENTILE, 630 READING_TEST, 750 WRITING_TEST from dual union all
    7 select 98 PERCENTILE, 630 READING_TEST, 780 WRITING_TEST from dual union all
    8 select 99 PERCENTILE, 640 READING_TEST, 800 WRITING_TEST from dual
    9 )
    10 select
    11 max(percentile) over (partition by reading_test) HIGHEST_READING,
    12 max(percentile) over (partition by writing_test) HIGHEST_WRITING,
    13 percentile_chart.*
    14 from
    15 percentile_chart
    16 /
    HIGHEST_READING HIGHEST_WRITING PERCENTILE READING_TEST WRITING_TEST
    30 30 30 400 520
    31 31 31 450 560
    98 97 97 630 750
    98 98 98 630 780
    99 99 99 640 800
    SQL>
    I wasn't exactly sure how you wantd to coorelate this to the student records though; the student table had only two column name headings but there were four rows listed as examples and had fewer rows than in the percentile_chart table...
    If you join the student table to the able query it might be what you are looking for.
    You can create another table based on the output of your query by doing:
    create table scores
    as select * from
    (insert your query here)
    /

  • Set the color of a row depending the value of the column in JTable?

    Hi All,
    I have a JTable that add rows when the user clicks on the button. In this way there can be any no. of rows in my table. My table contains five columns. When a new row is added , it is added with new data each time. Also the data of the rows keep on changing time to time.
    My problem is that when the data value for the third column comes out to be -ve then color of the row should be red and if its value is +ve then the color of the row should be green.
    I have tried for this in the way but it is not working properly.
    public Component prepareRenderer(TableCellRenderer renderer,int rowIndex, int vColIndex)
         Component c = super.prepareRenderer(renderer, rowIndex, vColIndex);
    if(change<0 && rowIndex<table.getRowCount() )
              c.setForeground(Color.red);
              c.setFont(new Font("TimesRoman",Font.PLAIN,11));
    else if(change>0&&rowIndex<table.getRowCount() )
    c.setForeground(new Color(20,220,20));
         c.setFont(new Font("TimesRoman",Font.PLAIN,11));
    return c;
    where change is the value of the third column.
    Any help is highly appreciated.
    Thanx in advance.
    Regards,
    Har Krishan

    Why do you have 3 postings on this topic all made within minutes of each other? (see [url http://forum.java.sun.com/thread.jspa?threadID=574547&tstart=0]here and [url http://forum.java.sun.com/thread.jspa?threadID=574543&tstart=0]here).
    If you created a post by mistake then make a comment in the posting so people don't waste there time attempting to answer an old post.
    where change is the value of the third column.How do you know "change" is the value of the third column? Did you use a System.out.println(...) to verify this.
    A better approach is to use:
    Object o = table.getModel().getValueAt(row, 2);
    Then convert the Object to an int value and do your testing. This way you are guaranteed to be testing against the correct value.

  • Need help in hiding particular column of a table depending upon value

    Hi experts,
    I have developed a custom smartform and Print program.
    My problem is ..depending upon the data i recieve,...i have to hide a particular column.
    For example ... i have a table with 2 rows...one header and main row..This table has 3 column.
    I have to hide one of the column depending upon the data i recieve. So my output should have 2 rows and 2 columns.
    Please help.

    well vishwa u r right it wont work for multiple columns,
    then i guess this shud work.
    @thendral
    U can try like this create the rows with single column
    then print all ur text elements with spaces inserted manually between them with text editor then in conditions tab of the text elements specify ur condition according to what all u want to print.
    кu03B1ятu03B9к

  • Table to store values from af:table

    hi ,
    i have a requirement where in a customer enters data row by row. it is desired that the data should get stored in the database not row by row but only after the client has finished filling all the rows. once the client has pressed the commit or save button, all the rows must get disabled.He or she should not be further able to modify the order details. Could you please suggest a way?
    and one more question
    can we create a temporary table(or either buffer) which holds the values of another table.so that once the table is committed, the values will go to this temporary table and then go to database.

    Hi,
    if you use ADF Business Components then this is handled for you automatically. The only remaining thing to do is
    once the client has pressed the commit or save button, all the rows must get disabled
    In this case set a EL expression on the readOnly property of the input text field and e.g. check if the primary key field is populated (in this case you return true). The EL can check e.g. #{row.pkAttr.inputValue != null}
    Frank

  • Update table based on values from other table

    Hi,
    I am trying to update one table based on the values of another table. Since you can't use From in update statements, how do you execute this?
    For example i have to tables, Table A and Table B. I want to update a column or columns in Table A based on another value in Table B:
    So if the column in Table B was 1 then column in Table A would be Yes, if Table B was 2, then Table A would be Yes, if Table B was 3 then Table A would be N/A and so on...
    Any help would be appreciated.
    thanks,
    scott

    SQL> select * from t1;
    ID ST
    1
    2
    3
    SQL> select * from t2;
    NO
    1
    2
    3
    4
    SQL> update t1 set status=(select decode(no,1,'Y',2,'N','NA') from t2 where t1.id=t2.no);
    3 rows updated.
    SQL> select * from t1;
    ID ST
    1 Y
    2 N
    3 NA
    Daljit Singh

  • Coloring an ALV Cell with DYNAMIC INTERNAL TABLES

    Hello Gurus,
    I need your help regarding coloring of a cell in my ALV Grid report with DYNAMIC tables.
    I have used the call method in calling my ALV. (CALL METHOD gr_alvgrid->set_table_for_first_display).
    Now my problem is, I can not bring out the cellcolor succesfully, I always ended up to dump (GETWA_NOT_ASSIGNED = You attempted to access an unassigned field symbol     
    (data segment 32807).                                  
    What I have done:
    I've created 2 internal tables:
    *1st table
    *After appended all of my columns to  gt_fieldcat
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = gt_fieldcat
        IMPORTING
          ep_table        = gp_both.
      ASSIGN gp_both->* TO <i_xtab1>.
    *2nd table
    Appended these column for CellColor
      CLEAR wa_gtfldcat.
      wa_gtfldcat-fieldname = 'CELLCOLOR'.
      wa_gtfldcat-ref_table = 'CALENDAR_TYPE'.
      wa_gtfldcat-ref_field = 'COLTAB'.
      APPEND wa_gtfldcat TO gt_fieldcat.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = gt_fieldcat
        IMPORTING
          ep_table        = gp_alvgrid.
      ASSIGN gp_alvgrid->* TO <i_xtab2>.
    *Work Areas for tab1 and tab2
    CREATE DATA dref1 LIKE LINE OF <i_xtab1>.
      ASSIGN dref1->* TO <wa_xtab1>.
      CREATE DATA dref2 LIKE LINE OF <i_xtab2>.
      ASSIGN dref2->* TO <wa_xtab2>.
    *Move contents of table1 to table2 and modify cellcolor column
    LOOP AT <i_xtab1> ASSIGNING <wa_xtab1>.
    *-----Cell color assignment
        DESCRIBE TABLE gt_fieldcat.
        DO sy-tfill TIMES.
          READ TABLE gt_fieldcat INTO wa_gtfldcat INDEX sy-index.
          ASSIGN COMPONENT wa_gtfldcat-fieldname
            OF STRUCTURE <wa_xtab1> TO <fs4>.
          IF sy-subrc NE 0. EXIT .ENDIF.
          ASSIGN COMPONENT wa_gtfldcat-fieldname
            OF STRUCTURE <wa_xtab2> TO <fs3>.
          IF sy-subrc NE 0. EXIT .ENDIF.
            <fs3> = <fs4>.
        ENDDO.
        ASSIGN COMPONENT 'CELLCOLOR' OF STRUCTURE <wa_xtab2> TO <fs3>.
        IF sy-subrc = 0.
          PERFORM modify_cell_color USING 'ZZMATNR' <fs3>.
        ENDIF.
        APPEND <wa_xtab1> TO <i_xtab2>.
    ENDLOOP.
    *Call ALV
    gs_layout-ctab_fname = 'COLORCELL'
        CALL METHOD gr_alvgrid->set_table_for_first_display
          EXPORTING
            is_layout                     = gs_layout
          CHANGING
            it_outtab                     = <i_xtab2d>[]
            it_fieldcatalog               = gt_fieldcat
            it_sort                       = lt_sort
          EXCEPTIONS
            invalid_parameter_combination = 1
            program_error                 = 2
            too_many_lines                = 3
            OTHERS                        = 4.
        IF sy-subrc <> 0.
    *--->Exception handling
        ENDIF.
    FORM modify_cell_color  USING p_fieldname   TYPE lvc_fname
                                  pt_cellcolor  TYPE table.
      DATA l_cellcolor TYPE lvc_s_scol.
      CLEAR l_cellcolor.
      l_cellcolor-fname = p_fieldname.
      l_cellcolor-color-col = 6.       " Red.
      l_cellcolor-color-int = 0.
      l_cellcolor-color-inv = 0.
      INSERT l_cellcolor INTO TABLE pt_cellcolor.
    ENDFORM.                    " MODIFY_CELL_COLOR

    Hi,
    The internal tabl which you are using to display the output should have one column in the end.
    The cell in this column will contain an internal table of type 'lvc_s_scol'.
    The contents of this internal table will be the field names of all other columns of your main internal table in the field FNAME and the required color in the field COLOR.
    Please note that the field COLOR will have a hex value for different colors.
    In the stucture is_layout  whihc you pass to the method 'set_table_for_first_display'
    the name of this last column should be given to the field 'ctab_fname'.
    This will help you to give the colors to each cell.
    for example
    I have my data table as follows:-
    ITAB1
    MATNR  MAKTX        COLOR_TAB
    1           ABC            FNAME  COLOR  NOKEYCOL
                                    MATNR 8000
                                    MAKTX 8000
    2          XYZ             MATNR 10000
                                  MAKTX  10000
    So my internal table ITAB1 had 3 columns MATNR MAKTX and COLOR_TAB.
    And COLOR_TAB will contain an internal table with 3 columns FNAME COLOR and NOKEYCOL.
    The value to importing parameter IS_LAYOUT-CTAB_FNAME will be COLOR_TAB.
    This will help you to assign various colors to the cell of the internal table ITAB.
    When you have to change any color, then you will have to just change the entries in cell COLOR_TAB for the particular row and cell.
    Regards,
    Ankur Parab

  • Conditional formatting on total cells in pivot table

    Hi, i have a pivot table with some values and percentages.
    The percentages are in red if less then 0.
    I have 1 row and 1 column of total values, but this cell aren't red if percentage is less then 0.
    Does anybody know a solution for my problem?
    Thanks

    This is the example i create:
    DIM A:
    - Total A
    - Value A
    DIM B:
    - Total B
    - Value B
    FACT:
    - Value A (DIM A)
    - Value B (DIM B)
    - Actual
    - LY
    - Delta % (Calculated: 100*(Actual - LY)/LY)
    Then i create the pivot table with B on rows (Σ on Total B), A on cols (Σ on Total A) and measures Actual, LY and Delta %. The last one has a conditional format on Delta % < 0.
    This is the xml that i have:
    <saw:report xmlns:saw="com.siebel.analytics.web/report/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="200705140" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sawx="com.siebel.analytics.web/expression/v1">
    <saw:criteria subjectArea="&quot;Test Conditional Formatting&quot;">
    <saw:columns>
    <saw:column formula="&quot;DIM A&quot;.&quot;TOTAL A&quot;" columnID="c0"/>
    <saw:column formula="&quot;DIM A&quot;.&quot;VALUE A&quot;" columnID="c1"/>
    <saw:column formula="&quot;DIM B&quot;.&quot;TOTAL B&quot;" columnID="c2"/>
    <saw:column formula="&quot;DIM B&quot;.&quot;VALUE B&quot;" columnID="c3"/>
    <saw:column formula="FACT.ACTUAL" columnID="c5">
    <saw:displayFormat suppress="default" interaction="default">
    <saw:dataFormat xsi:type="saw:number" commas="true" negativeType="minus" minDigits="2" maxDigits="2"/></saw:displayFormat>
    <saw:columnHeading>
    <saw:displayFormat interaction="default"/></saw:columnHeading></saw:column>
    <saw:column formula="FACT.LY" columnID="c6">
    <saw:displayFormat suppress="default" interaction="default">
    <saw:dataFormat xsi:type="saw:number" commas="true" negativeType="minus" minDigits="2" maxDigits="2"/></saw:displayFormat>
    <saw:columnHeading>
    <saw:displayFormat interaction="default"/></saw:columnHeading></saw:column>
    <saw:column formula="FACT.&quot;Delta %&quot;" columnID="c4">
    <saw:displayFormat suppress="default" interaction="default">
    <saw:dataFormat xsi:type="saw:percent" commas="false" negativeType="minus" minDigits="2" maxDigits="2"/>
    <saw:condition>
    <sawx:expr xsi:type="sawx:comparison" op="less">
    <saw:columnRef columnID="c4"/>
    <sawx:expr xsi:type="xsd:decimal">0</sawx:expr></sawx:expr>
    <saw:displayFormat fontColor="#FF0000"/></saw:condition></saw:displayFormat>
    <saw:columnHeading>
    <saw:displayFormat interaction="default"/></saw:columnHeading></saw:column></saw:columns></saw:criteria>
    <saw:views currentView="0">
    <saw:view xsi:type="saw:compoundView" name="compoundView!1" rptViewVers="200510010">
    <saw:cvTable>
    <saw:cvRow>
    <saw:cvCell viewName="pivotTableView!1"/></saw:cvRow></saw:cvTable></saw:view>
    <saw:view xsi:type="saw:titleView" name="titleView!1" rptViewVers="200510010"/>
    <saw:view xsi:type="saw:tableView" name="tableView!1" rptViewVers="200510010" showHeading="false">
    <saw:columns>
    <saw:columnRef columnID="c1" total="true"/>
    <saw:columnRef columnID="c2" total="true"/>
    <saw:columnRef columnID="c0" total="true"/></saw:columns></saw:view>
    <saw:view xsi:type="saw:pivotTableView" name="pivotTableView!1" rptViewVers="200510010">
    <saw:edge axis="page"/>
    <saw:edge axis="section"/>
    <saw:edge axis="row">
    <saw:edgeLayer type="column" columnID="c2" total="before">
    <saw:displayFormat visibility="hidden"/></saw:edgeLayer>
    <saw:edgeLayer type="column" columnID="c3"/></saw:edge>
    <saw:edge axis="column">
    <saw:edgeLayer type="column" columnID="c0" total="before">
    <saw:displayFormat visibility="hidden"/></saw:edgeLayer>
    <saw:edgeLayer type="column" columnID="c1"/>
    <saw:edgeLayer type="labels"/></saw:edge>
    <saw:edge axis="measure">
    <saw:edgeLayer type="column" columnID="c5"/>
    <saw:edgeLayer type="column" columnID="c6"/>
    <saw:edgeLayer type="column" columnID="c4"/></saw:edge></saw:view></saw:views>
    <saw:prompts/></saw:report>

  • Removing (blank) from Pivot Tables Populated from Data Connection

    It took me a long while to fix this one (and a long time to search, because it's a funny one to try to use boolean logic for) and I thought I would share because I've seen a score of folks out there looking for this.
    If you have a pivot table with blank values in the row/column area instead of values, Excel automatically populates the cell with (blank).  The word blank shows up in any cell that doesn't have a value, but what if you don't want all those ugly (blank)
    values showing up in your report?
    If you're pulling the data from an outside source, like a SQL server (in my case from the Project Server Reporting database) then you can't just change the source data, so you seem pretty stuck.
    My coworker and I came up with the following fix:
    Select the entire sheet.  Use conditional formatting to find all cells that contain the text (blank).  Then for the format, go to "Number" and "Custom".  In the custom field, enter ;;;.  Apply the conditional formatting and those pesky
    (blank) values turn into real blanks.  This even works when copying pasting the data into another sheet or application.  And if the value changes the next time you refresh your data, the new data appears.
    I found this very valuable in my reporting and just wanted to put it out there for the rest of the community.

    Hi,
    Thank you for sharing your experience and post here.

Maybe you are looking for

  • Getting .txt file data from servlet

    I am having problem finding the file I use "reguli.txt" to define page rules of a website. I use this file in a servlet.The file I copied it in the project folder,and also in /web/web-inf folder. The problem is I cant find the file without using all

  • Looping flash intro in IE7 not IE6

    Hey all, I have a pretty simple site that utilizes flash streaming video via .flv files. These swfs have a small intro with my company logo and the video title in the beginning and then the video plays after the intro is finished. In IE6 this works g

  • Zoom 100%, Shape Tool Appears on Fraction of Pixel

    This has been an issue for a while since the shape tool got a major refactoring and was hoping that this would have been fixed by now, but since it hasn't I want to make sure this issue is known and people are aware. This used to be default behavior

  • Are CS 3.0 and CS 6 compatible

    I have a user who built a bunch of files in CS 3.0, but now we have upgraded to CS 6.  Can he open those files in CS 6? thANKS FOR ANY HELP,  MG41

  • ISync disappear in the iOS Mountain Lion, how can I synchronize my mobile Nokia?

    iSync disappear in the iOS Mountain Lion, how can I synchronize my mobile Nokia?