How to hide a column in the report when there are only zeros.

Hi Experts.,.

Is it possible to hide a column in the report when there are only zeros.

Thanks in advance
Vincent

Vincent Krishna wrote:
Hi Experts.,.

Is it possible to hide a column in the report when there are only zeros.

Thanks in advance
Vincent

No out-of-the-box, but there are several workaround solutions if you want to continue an any of them:

(1) use a view selector. A single report will be a pivot table with the column, the other will have the same report less column. Users can switch reports.

(2) use a column selector. The two choices would be this column or an empty space. If white is chosen (because the user has no values), the column "will disappear" according to the report.

(3) guided use NAV. This method involves the intervention of the user. Build a small report using the single column and put a filter "is not equal to" 0. Because there is only a single column, so all lines are 0, the report returns no rows.

Use this report in the properties of guided navigation from one section of the dashboard. Assign to this "If the report returns lines" and put the report that contains the column in this section. Now add another article on your table edge and in the properties of guided navigation of this section, set on "If the report will return no rows" and it points 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 zeros, the second section with column will not display in it; the first section is not displayed. When at least a line contains a value not zero, the first section is displayed with the column, and the second part will not be.

Tags: Business Intelligence

Similar Questions

  • How always show left column on the screen, when I scroll to the right of a large spreadsheet

    How always show left column on the screen, when I scroll to the right of a large spreadsheet

    If the left column is a column header, you can check freeze header columns in the table menu.

    Better not to use TOO many columns.  Numbers works best with relatively little.

    SG

  • hide a column in the report

    HI Apex community
    I want to hide a column in a report based on an item(#item#) of the same report.
    for ex, if the Bill is zero line DUE to hide then this particular customer
    I tried with the condition is null value equal to #invoice # but it hide the entire column instead of individual columns.

    Pls suggest me how to implement this.


    4.1.1 Apex oracle 11 GR 2, oc4j, linux.


    Thank you

    Well Yes, I had this problem once - it happened only in some browsers.

    I do not think that I solved it with great elegance, only by obscurity

    NVL2 (my_value, ' / i/blank.gif ',' / arrow_down.gif/i ')

    then set the target page as a result.

    In theory, I think you could add an id to those you want to hide, and then run some jquery to hide all items.

    Scott

  • Disable the generation of report when there are no returned by the query

    I would like to write a preliminary report trigger that disables reports generation when my main query in my data model will return no data. If possible, I would like to reuse the same query in the data model from the writing of a motion to double again.

    Thank you all

    Create a view for the main request. In this case, you just have to do it in the front trigger of the report:

    select count(*)
    into my_var
    from my_view
    where ...;
    
    if my_var =  0 then
       return false;
    else
       return true;
    end if;
    

    In where clause you can use the same settings as in your main report query.

  • Print the message when there are no pages to display in the output

    Hello

    I need to give a personalized message as ' report produced no output due to... ". "in the BI publisher report instead of adobe gives the error"there are no pages"in the pdf output.

    All entries?

    Thank you and best regards,
    Mukthi

    You must add a section break, and then have if@section.
    I forgot to mention in my previous answer.

  • When there are only two tabs on the left, the tab bar disappears.

    When I close my tabs and only have two left, any tab is open before finishing the third tab becomes the only thing in my window, as if I had closed the two legs instead of one. I can restore the hidden tab by opening a third tab. I have FF value does not always show the tab bar.

    Hello

    Please check if this happens in Safe Mode.

    Extensions of the issues

    Troubleshooting Extensions and themes

    Uninstalling the modules

    Uninstalling toolbars

    Safe mode disables the installed Extensionsand themes (appearance) in (Alt + T) Tools > Add-ons. Hardware acceleration is also temporarily disabled - manual setting is Tools > Options > Advanced > general > use hardware acceleration when available. Options > Advanced. All these parameters/additional custom modules can also be individually or collectively disabled/enabled/changed to normal mode of Firefox to check if an extension, theme or hardware acceleration is causing issues.

    Options

    If the problem persists, you can also try of reset toolbars and controls: and the splash screen to make changes and restart Mode without failure. Please note that you will have to redo any individual customization. The customization.

  • How can I change country to the India where there is a balance store

    Can how I change my country to the India when there is a credit balance in the store of the South Africa?

    Hello

    You can spend your balance, or if you are happy to do so, Contact iTunes Store supports to ask so that it can be reset:

    More information:

    If you cannot change your iTunes Store country or region - Apple Support

  • Dynamically show/hide columns in the reports of the IR

    Env

    RDBMS: Oracle XE 11.2

    Request Express 4.2.4.00.08


    Hi all

    I am bulding an open source oracle apex app to track aircraft using ADS - B technology.

    I have somes types of units.  for example (kilometers, miles, knots, feet and metres).

    So, in the report of the IR, I want pick capable of showing a unit in time.

    For example

    Radio Group.

    Ground speed: (*) km/h () Mhp (Knt)

    Vertical speed: (*) ft/s (m/s)

    Can anyone help to build a code or point a direction to get above result?

    I tried already a thread, but did not work.

    Apex: Display/hide report column with Radio button. 2 cents to Oracle by Christoph

    Display / hide column IR dynamically


    I have a limited knowledge of Oracle APEX.


    Levi Pereira says:

    I am bulding an open source oracle apex app to track aircraft using ADS - B technology.

    I have somes types of units.  for example (kilometers, miles, knots, feet and metres).

    So, in the report of the IR, I want pick capable of showing a unit in time.

    For example

    Group of radio buttons.

    Ground speed: (*) km/h () Mhp (Knt)

    Vertical speed: (*) ft/s (m/s)

    There are different ways to do this. Probably the easiest would be:

    1. Create lists of values (LOVs) for units.
    2. Add the elements of the Group of radio -based unity LOVs report interactive region (IR), by specifying one of the units as a default value.
    3. Present the radio group via the Items property of the Page to send IR region.
    4. Create multi-column report for each metric combination / unit.
    5. Control the display of the report columns (applies to IR, but also classic report columns) conditionally using value of element in the Expression 1 = Expression 2 conditions Expression 1 is the group element of relevant radio and Expression 2 unit LOV value corresponding to that used in the column of the report.
    6. Add a dynamic action on the evolution of the components of the radio to refresh the IR region.

    A less obvious approach would also use LOVs, group radio elements and dynamic action of change/update as above, but only have one column for each measure in the report. The column value is calculated using an expression based on the value of the radio group, for example:

    .
    .
    .
    /* Assuming base speed unit is km/h */
      ground_speed
    * case :p1_ground_speed_unit
        when 'mph' then 0.621371
        when 'kn' then 0.539957
        else 1
      end ground_speed
    .
    .
    .
    

    The unit could be indicated in the column heading in the report referring to the element of the device by using a substitution of static text string:Ground Speed (&P1_GROUND_SPEED_UNIT.)

  • How to use the prompt value in the column of the report

    Hello

    I have a quick report column which is 'Adj Type' that contains values 10,20,30, and when the user selects Adj Type = 10, this value should be passed on to the column of the report.

    For example. Value in column 1 is 10 and this should multiple with the prompt value and production is expected to be 10 * 10.

    Ideas how to capture the prompt values in the column of the report for the calculation.

    Hi hsekar,

    (1) declare a presentation online in the section variable set Variable--> Variable--> P_var presentation

    (2) in Fx Table_name. Your_column * @{P_Var}

    @{P_var} {20} (20 is the default, it replaces when a user selects the value in the command prompt

    Thank you
    Saichand.v

  • How to put a "ageing in column" in the report

    Hello

    One of my end users wants a 'Aging' column in the report.
    That is to say he needs a column which gives the number of days between his container_received_date and the Current_date.
    Can I implement this directly in the OBIEE answers?
    or I have to put a separate column of formulas in the administration?
    Please suggest.


    Suma

    Hello

    Use timestampdiff function in answers column formula like this

    TIMESTAMPDIFF (sql_tsi_day, container_received_date, Current_date)
    or else
    use the same formula in RPD mdb layer create a new logical column
    Right-click logical table
    Select the logical column
    in the logical column check using the source from the existing logical table
    Add this formula

    Concerning

    NGO

    Published by: NGO Meda on March 23, 2009 04:35

  • How to add scroll bar to the field in the column of the report

    Hello again,

    I need to add a scroll bar to the field in the column of the report in my application "form.

    There is a table with columns of text and sometimes a lot of information must be filled in these areas, and thus the overview of the report becomes unreadable, because all rows have different heights according to the amount of text has been filled.

    What I want is to make all lines with the same height, and if there is more text in a field that can allow a height - a scroll bar appears so for this specific domain.
    Is it possible to do?

    Thank you in advance.

    Hello

    OK - it is important that tell you what type of report that you use like this makes a difference to what is possible!

    For interactive reports, you cannot use a CSS stylesheet in the same way with respect to normal relations. The easiest way is probably to include a complete div in your SQL statement directly. Something like:

    select      ID as "ID",
          '
    ' || "MY_BIG_FIELD" || '
    ' as "DETAILS" from TABLEX

    This will put the data in this column in the individual DIV tags, and then apply the style from the example of the Dene.

    Andy

  • Hiding the data in the column on the report, but allowing the export of these data in the column

    I have a classic report I want to hide columns on the screen when the user runs the report. However, when they choose export data, I would like to include these columns in the exported file. In terms of attributes, the deselection of the Show checkbox removes this column of list on the report. However, she removes it also to export. Going into the print attributes tab and checking included in export and check the width of column > 0 does not solve this problem.

    Is it possible to hide the columns in the report area, but retain the column data for the export file?

    Thank you
    Joshua

    Published by: joshua.d on November 5, 2008 13:44

    Joshua:

    I was able to use the OTN of Denes Kubicek http://htmldb.oracle.com/pls/otn/f?p=31517:108:5784337801775286:RP site code:
    to enable an on-screen report columns that must appear in the export. (The export is carried out in a XLS file. The Dene code can be easily modified to write CSV instead).

    Please follow the link above and get the necessary pkg pl/sql and instructions. Follow the "How To" or Readme doc and configure your application to the Apex and the report as a result page.

    Go to the section "Attributes of column" for each column in your report and explicitly don't set the field 'Inlcude in export' to 'Yes' or «»

    I hope it works for you.

    CITY

  • How to dynamically generate columns in conventional reports

    Hi all

    How to create dynamic columns in classic reports.

    I need to create these columns that depends on the difference of the date column start date and end date.

    for example: 4 November 2015 start_date and end_date is November 7, 2015

    I show the columns Day1, day 2, day 3 and day 4.

    and the values of these columns are checkboxes.

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    How to create dynamic columns in classic reports.

    I need to create these columns that depends on the difference of the date column start date and end date.

    for example: 4 November 2015 start_date and end_date is November 7, 2015

    I show the columns Day1, day 2, day 3 and day 4.

    and the values of these columns are checkboxes.

    The old packed timesheet application has the tip for how to display the day of the week selected by the user in the form of columns in the tabular presentation.

    Reference: old packages of timesheet Application

    That's how I'd do:

    • Select the range of dates populate the days between the date columns range in a collection of the APEX.
    • Display the columns as editable using the APEX_ITEM API.

    NOTE: Application of time sheets there was select list for weeks, so always the number of dynamic columns would be 7 + column code time.

    Also, the maximum number of modifiable columns, you can use on your page APEX is 50.

    Kind regards

    Kiran

  • Using the value of the column of the report in view state

    Hi all

    I have a little trouble as long as you report column. Here's the problem I have face.

    I have a classic report in apex5 (universal theme). Please find the page here https://apex.oracle.com/pls/apex/f?p=62495:5:

    I want to have a condition that SAL column should appear only if DEPTNO! = 10. For this, I put a conditional display for SAL column that "point value / expression 1 column! Expression 2 ="and #DEPTNO # expression1 and expression2 10. But this doesn't seem to work. Can someone help me understand the issue.

    Note: I want to view only the column of the report, not the page item in the condition.

    Thank you

    Stephanie.

    Kalesh Ravi-Oracle wrote:

    I want to have a condition that SAL column should appear only if DEPTNO! = 10. For this, I put a conditional display for SAL column that "point value / expression 1 column! Expression 2 ="and #DEPTNO # expression1 and expression2 10. But this doesn't seem to work. Can someone help me understand the issue.

    It is not possible to report baseline values in the State of the reference column. It would be unwise to do so: how APEX can determine if the column should be included or not until all rows are retrieved?

    Note: I want to view only the column of the report, not the page item in the condition.

    Why? In the example given, this is the correct (and more effective) approach. If the condition must be based on the expected query results, then use a Exists (SQL query returns at least one row) or NOT Exists (SQL query returns no line) condition.

  • How to hide a column in OBIEE 11 g

    Hello

    I'm trying to hide a column of the dashboard layer presantation of the OBIEE 11 g. But it does not work.

    I do the following.

    Open the column permissions tab.
    Had no access to everyone.
    Didn't give no access to the user/Application role.

    When I go on the web, the column appears in the list of tables. But, when I select the column and press the result, is not the outcome.

    This means, by following the steps above, it is restricting the data but the visibility of the column is already there.

    Same way as it works for OBIEE 10 g. Could if it you please let me know this feature has been removed from 11g or if she is still there then how we can reach that.

    Thanks in advance
    Niraj

    Hi Andrew,

    This is a bug in OBIEE 11.1.1.5.

    Bug 12352010: RESTRICTED COLUMNS MUST NOT SHOW DISCIPLINE

    This is fixed in version 11.1.1.6.

    Kind regards
    Sandeep

    Published by: Teresa Sanchez on March 28, 2012 12:16 AM

Maybe you are looking for