Show only specific columns

hello,
using obiee 11g
I have a requirement like this
I have 2 prompts, begin date and close date as prompts,Depending upon the date selected i want to show or hide the column.
By default i made the prompts to show current date and current_date-365
And also the column header and the data shows properly for the column.
My only problem is if i select the date as
01/01/2011 to 30/07/2011 it should show only 7 months data so should show only 7 columns and hide rest 5 columns.
Its showing from jan to Dec and I want it to show only jan to july?
Is this possible is my question?
Thanks

Hello Deepak,
Went through the Article,
I created a filter report which has 2 columns and 1 row->Start And End Date.
More info on my req--->
Actually my data is in column wise and not row wise,i.e. my columns are dynamic,headings are start date as col1 and .....and show start date+12 as the last column.
I have 12 columns in the main report whose header i am taking from the prompt values because i want the header to be dynamic depending upon the date selected.
So in that prompt i have 12 variables for each 1 headings.So first variable will have the value like startdate prompt and then next variable will have startdate+1.
In the column formula for each column i am using a filter function to filter the measure column depending
the month and year of the table.date
is equal to
the month and year of the start date prompt.
So in the main report if i add a filter based on another request,since i have the data as column, no effect its showing.
Thanks

Similar Messages

  • Another shortcoming in BIP: Can show only 1 column in an LOV.

    <h1>Another thing I noticed: In BIP LOVs cannot show the 2 columns that Oracle Reports shows. Please see below image comparing the 2 situs.</h1>
    !http://img59.imageshack.us/img59/1636/lov2colproblem.gif!
    <h1>Any workaround for this? Because now in BIP the user sees only codes and not the description/names. So how does the user select what he wants just by looking at a code. He should see the name as well.</h1>

    There are two options.
    You choose'd, the parameter type as MENU
    you got to use it other way.
    select NAME, CODE from TABLE
    BIP shows,  NAME and internally  CODE will be passed inside the parameter.If you want to show both in MENU format, do this.
    select NAME||CODE "NAME", CODE from TABLEIf you want more Advanced Type LOV,
    Choose, Search in the parameter type.
    it will automatically show all the columns

  • BULK INSERT from a text (.csv) file - read only specific columns.

    I am using Microsoft SQL 2005, I need to do a BULK INSERT from a .csv I just downloaded from paypal.  I can't edit some of the columns that are given in the report.  I am trying to load specific columns from the file.
    bulk insert Orders
    FROM 'C:\Users\*******\Desktop\DownloadURL123.csv'
       WITH
                  FIELDTERMINATOR = ',',
                    FIRSTROW = 2,
                    ROWTERMINATOR = '\n'
    So where would I state what column names (from row #1 on the .csv file) would be used into what specific column in the table.
    I saw this on one of the sites which seemed to guide me towards the answer, but I failed.. here you go, it might help you:
    FORMATFILE [ = 'format_file_path' ]
    Specifies the full path of a format file. A format file describes the data file that contains stored responses created using the bcp utility on the same table or view. The format file should be used in cases in which:
    The data file contains greater or fewer columns than the table or view.
    The columns are in a different order.
    The column delimiters vary.
    There are other changes in the data format. Format files are usually created by using the bcp utility and modified with a text editor as needed. For more information, see bcp Utility.

    Date, Time, Time Zone, Name, Type, Status, Currency, Gross, Fee, Net, From Email Address, To Email Address, Transaction ID, Item Title, Item ID, Buyer ID, Item URL, Closing Date, Reference Txn ID, Receipt ID,
    "04/22/07", "12:00:21", "PDT", "Test", "Payment Received", "Cleared", "USD", "321", "2.32", "3213', "[email protected]", "[email protected]", "", "testing", "392302", "jdal32", "http://ddd.com", "04/22/03", "", "",
    "04/22/07", "12:00:21", "PDT", "Test", "Payment Received", "Cleared", "USD", "321", "2.32", "3213', "[email protected]", "[email protected]", "", "testing", "392932930302", "jejsl32", "http://ddd.com", "04/22/03", "", "",
    Do you need more than 2 rows? I did not include all the columns from the actual csv file but most of it, I am planning on taking to the first table these specfic columns: date, to email address, transaction ID, item title, item ID, buyer ID, item URL.
    The other table, I don't have any values from here because I did not list them, but if you do this for me I could probably figure the other table out.
    Thank you very much.

  • HTML form: file requestor to show only specific extensions?

    I included an upload page in my web application via a HTML form. When pressing the browse button, the file requestor shows all files in the given directory. Is it possible to set up the form so that the file requestor only shows specific file types (e.g. only extensions ".zip") - just like the file filters in JFileChooser?

    There is an interface java.io.FileFilter. You can implment this interface to check for your extensions then pass it to the listFiles method of the File class.

  • Read only specific Columns into the cursor

    Hey everybody,
    I'm trying to make a cursor which takes only column 2 to n-2 (when n is the number of cloumns). The table size should be variable.
    Is there any possibility to do that?
    Like
    CURSOR nodes IS SELECT * FROM nn_input WHERE column_id > 1 AND column_id < count(columns)-2;
    Another possibility to solve the problem could be to read all cloumns in the cursor and then, in the for-loop, writing the 2nd to (n-2) value in table1 and the last two values in table2...
    Anyone an idea? Thanks a lot!

    You need to use dynamic SQL and build up your query at run time. You could use something like the following to generate the list of columns...
    CREATE TABLE test_columns
    col1 number,
    col2 number,
    col3 number,
    col4 number,
    col5 number
    SELECT LTRIM(MAX(SYS_CONNECT_BY_PATH(column_name,',')),',')
    FROM   user_tab_columns
    START WITH column_id = &start_col_num
    AND        table_name = 'TEST_COLUMNS'
    CONNECT BY column_id = PRIOR column_id +1
    AND  table_name = PRIOR table_name
    AND  level <= &end_col_num-&start_col_num+1;Using a start_col_num =2 and end_col_num=4 gives:
    LTRIM(MAX(SYS_CONNECT_BY_PATH(COLUMN_NAME,',')),',')
    COL2,COL3,COL4There are lots and lots of other options...
    Greg

  • Business Document Navigator -- Show only specific document types

    Hello to all,
    I'm using the business document navigator.
    With parameter excluding of method cl_bds_document_set=>call_navigator you can disable the standard document types are shown by passing the value NO_STANDARD_DOCS.
    Is it possible to define document types that should be shown and aren't a standard document type?
    Regards
    Christian

    It will return an error but yet it allow to be created under HOLD

  • Get column value for specific columns

    I want to change the default behavior of a IKM. In a specific step, I need to call a PLSQL procedure inside the loop below, and that procedure will substitute the insert clause. The procedure uses only some attributes, and I need to check the name of each one when I use the getColList method.
         for aRecord in myCursor loop
              insert into      <%=snpRef.getTable("L","TARG_NAME","A")%>
                   <%=snpRef.getColList("", "[COL_NAME]", ",\n\t\t\t", "", "((INS AND (NOT TRG)) AND REW)")%>
                   <%=snpRef.getColList(",", "[COL_NAME]", ",\n\t\t\t", "", "((INS AND TRG) AND REW)")%>
              values
                   <%=snpRef.getColList("", "aRecord.[COL_NAME]", ", \n\t\t\t", "", "((INS AND (NOT TRG)) AND REW)")%>
                   <%=snpRef.getColList(",", "aRecord.[COL_NAME]", ", \n\t\t\t", "", "((INS AND TRG) AND REW)")%>
         end loop;
    For example, to call the procedure I do that: schema.proc_1(col1, col2, col3). However, I have more than 3 columns, and I need to restrict them when I use the getColList method. I would like to know if there is a way to get only specific columns, giving these names. I pass the name of the column, and the method should return its value. Can I use the getColList to do that? Is there any other way to do that?

    Hi Luciene,
    You can use the UD flags to do this. If you click on one of your mappings in the Diagram tab of your interface you will notice several UD flags (UD1 to UD5) you can use those to flag the columns you want to use in proc_1.
    To summarize:
    - at the interface level flag the columns you want to use in your PL/SQL code -> check UD1 for all of them
    - modify your IKM code:
    <%=odiRef.getColList(",", "COL_NAME", ",\n\t\t\t", "", "((INS AND TRG) AND REW AND UD1)")%> <- retrieve columns flagged with insert, not read only, mapped on target and with UD1 flagged. The "AND UD1" part can be used in other getColList.
    Hope this helps.
    Thanks,
    Julien

  • Why Flash chart is showing only 15 bars

    Hi,
    I have created a flash chart, a 2d column chart, but it is showing only 15 columns, I have checked that query is returning more that 20 rows.
    When I created a Pie chart with the same query, it too showing 15 pieces with one extra piece 'Other' by calculating other remaining rows.
    Can anybody tell, why bar and pie chart are not showing all the rows?
    Thanks
    -Smith

    Hi Ben,
    Your tip really helped me to fix a chart problem. I have a stacked bar chart and there were more than 25 columns. Due to the limitation, the chart was showing incorrectly with wrong values. After increasing the limit, it displays correctly now.
    Thanks a lot
    Nattu

  • Showing Sub-Totals only for Specific Column in PowerView

    Hi,
    Is there a way of showing the sub-totals only for specific columns in a PowerView Matrix?
    I am only aware of showing the sub-totals for all or non of the columns.
    Thanks and Regards,
    Justin

    Hi Justin,
    According to your description, you want to get sub-totals specific columns within columns group. Right?
    In this scenario, we can use IIF() function in expression to achieve your goal. The expression will only return the total value when the column value is a specific value, otherwise we can make it return nothing. Try the following expression:
    IIF(Fields!Column.Value="[specific value]",Sum(Fields!Total.Value),nothing)
    We have tested this scenario in our local environment. Here are screenshots for your reference:
    Reference:
    Expression Examples (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Hierarchy authorization details show only last level

    Hi,
    I am facing on a hierarchy problem displayed on the Bex: The hierarchy has 9 levels, e.g. the organisation structure of the company from level 1 to level 9.
    I made from the transaction RSSM :
    Authorization from the hierarchy i entered for each level from 1 to 9 :
    Type of authorisation : 1 (subtree below node)
    Hierarchy level       : blank
    Validity period       : blank
    Node variable default value : blank
    I made from the transaction PFCG :
    Created a role for the user with the authorization :
    Sap Business information warehouse - reporting (RSR)
    value : 8055 (company code)
    Unique ID for authorization : level_3
    I need to authorize the user to execute a querry of his level (exemple level 3) and all the level below him (to the 9th level)
    When the query is generated,(the query is using a variable hierarchy ) I get the lowest level displayed and shows only 2 key figures and values.
    Any ideas ?
    You assistance will be appreciated.
    Thong VANNAXAY

    Hi,
    1007372 wrote:
    Hi,
    How to get only the last level in Oracle SQL Hierarchy Query?Depending on your requirements:
    WHERE   CONNECT_BY_ISLEAF  = 1 
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    If you can show what you want to do using commonly available tables (such as scott.emp, which contains a hierarchy), then you don't need to post any sample data; just the results and the explanation.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0). This is always important, but especially so with CONNECT BY queries, because every version since Oracle 7 has had significant improvements in this area.
    See the forum FAQ {message:id=9360002}

  • JQuery to search specific columns

    Hi,
    I am currently trying to implement a live filter on a sharepoint list. I was able to get it working using this following tutorial:
    http://www.bentedder.com/create-a-jquery-sharepoint-instant-searchfilter/
    The issue I am having is I only want the filter to search specific columns of my list instead of the whole row.
    how would I modify the following to accomplish this?
         $("#WebPartWPQ3").find("tr.ms-itmhover:not(:Contains("+txt+"))").hide();
         $("#WebPartWPQ3").find("tr.ms-itmhover:Contains("+txt+")").show();
    Thanks
    Harry

    Use the n-th child selector or eq operator to search against the specific column. You could hardcode this value or update the script to determine its position based on the header text.
    E.g. Confine the search only to the second column in the row. (I haven't tested this)
    $("#WebPartWPQ3").find("tr.ms-itmhover td.ms-vbtitle:eq(2):not(:Contains("+txt+"))").hide();
    $("#WebPartWPQ3").find("tr.ms-itmhover td.ms-vbtitle:eq(2):Contains("+txt+")").show();
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • HT1553 I want to do a clean install of Mountain Lion. Can I do this without a DVD version of the OS, and can I restore only specific things like iPhoto and iTunes libraries from Time Machine backup.

    I want to do a clean install of Mountain Lion. Can I do this without a DVD version of the OS, and can I restore only specific things like iPhoto and iTunes libraries from Time Machine backup.

    Mountain Lion is only available as a download, so there is no DVD to purchase. What you can do is download ML and then stop it from installing as soon as it's on your drive. From there you can make your own bootable ML flash drive.
    When your purchase and download Mountain Lion, it will end up in the Applications folder and automatically want to install. Press Command+Q to stop the install and exit. The installer will remain on the hard drive.
    1) Right click on the installer and choose "Show Package Contents".
    2) A folder will open on the desktop. Drill down to Contents > SharedSupport and double click the disk image InstallESD.dmg to mount it on the desktop.
    3) From here you can either burn a DVD, or copy the contents to a flash drive. Personally, I would strongly suggest using an 8 GB flash drive formatted as Mac OS Extended. You will be able to boot to it in about 30 seconds instead of at least 10 minutes off of a DVD, and it will install MUCH faster. Make sure the flash drive is empty, or you've copied anything off it it you need as it will need to be erased.
    4) Don't just drag and drop the contents you see in the open disk image to the flash drive. It won't boot that way as it will be missing some hidden files. Open Disk Utility. You will something similar to this:
    5) To accomplish the above, highlight either the flash drive's single partition (as I did), or the item at the bottom (Mac OS X Install ESD), which is what you will see with the Lion disk image mounted. It doesn't matter which one you pick. You'll then have the option to select the Restore tab towards the upper right. Drag and drop from the left column into the Source and Destination fields as shown above. If you've already erased the flash drive, you can uncheck the box. Click the Restore button.
    You've just made your own bootable Mountain Lion USB Flash drive installer. Once you boot to the flash drive, run Disk Utility first to erase the drive you want Mountain Lion on, then continue with the install.
    As far as restoring your iPhone and iTunes libraries, I couldn't tell you. So I wouldn't do any of the above until someone else chimes in with a way to do that after a clean install of ML.

  • How to select a specific column in a bean method?

    Hey everyone,
    I'm trying to select a specific column in my adf table so i can hightlight the ones i can after, with a method bean that does a match from another table. I'm using JDeveloper 12.1.2.0.0.
    Here's my table at the moment (its a static list that Timo and Alejandro helped me create, thanks to them again!):
    <af:table value="#{bindings.Anos1.collectionModel}" var="row"
                                                              rows="#{bindings.Anos1.rangeSize}"
                                                              emptyText="#{bindings.Anos1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                              rowBandingInterval="0" fetchSize="#{bindings.Anos1.rangeSize}"
                                                              filterModel="#{bindings.Anos1Query.queryDescriptor}"
                                                              queryListener="#{bindings.Anos1Query.processQuery}"
                                                              filterVisible="false" varStatus="vs" id="t5"
                                                              styleClass="AFStretchWidth" columnSelection="multiple"
                                                              inlineStyle="max-width:100%;" columnStretching="multiple"
                                                              columnSelectionListener="#{ControlBean.onAnoColumnSelect}"
                                                              disableColumnReordering="true"
                                                              binding="#{ControlBean.dimAnos}">
                                                        <af:column sortProperty="#{bindings.Anos1.hints.A2011.name}"
                                                                   filterable="true" sortable="false"
                                                                   headerText="2011"
                                                                   id="c54" width="16%">
                                                            <af:outputText value="#{row.A2011}"
                                                                           shortDesc="#{bindings.Anos1.hints.A2011.tooltip}"
                                                                           id="ot54">
                                                                <af:convertNumber groupingUsed="false"
                                                                                  pattern="#{bindings.Anos1.hints.A2011.format}"/>
                                                            </af:outputText>
                                                        </af:column>
                                                        <af:column sortProperty="#{bindings.Anos1.hints.A2012.name}"
                                                                   filterable="true" sortable="false"
                                                                   headerText="2012"
                                                                   id="c55" width="16%">
                                                            <af:outputText value="#{row.A2012}"
                                                                           shortDesc="#{bindings.Anos1.hints.A2012.tooltip}"
                                                                           id="ot55">
                                                                <af:convertNumber groupingUsed="false"
                                                                                  pattern="#{bindings.Anos1.hints.A2012.format}"/>
                                                            </af:outputText>
                                                        </af:column>
                                                        <af:column sortProperty="#{bindings.Anos1.hints.A2013.name}"
                                                                   filterable="true" sortable="false"
                                                                   headerText="2013"
                                                                   id="c56" width="16%">
                                                            <af:outputText value="#{row.A2013}"
                                                                           shortDesc="#{bindings.Anos1.hints.A2013.tooltip}"
                                                                           id="ot56">
                                                                <af:convertNumber groupingUsed="false"
                                                                                  pattern="#{bindings.Anos1.hints.A2013.format}"/>
                                                            </af:outputText>
                                                        </af:column>
                                                    </af:table>
    I've deleted some of the columns because they are all equal and by doing so, you have less problems in reading it.
    In my method i have a matchEm but i'm trying to select a column by using this line:
            dimAnos.setColumnSelection("A2012");
    dimAnos is the binding for my table Anos (Years in Portuguese). I even tried another values fro the columnSelection but i couldn't make it selected. Am i doing anything wrong?
    Please help me or give me an idea of how can i do this.
    Regards,
    Frederico.

    Hi Frederico,
    The method setColumnSelection is meant to set whether your table supports column selection or not. It doesn't select the column. In order to select the column, you need to set the column attribute Selected to true. So I don't know if its an option for you but you can create a binding to all the columns you have in you bean, and then call the method A2012.setSelected(true), and then add a partial target to the table to re render it and show the selected column.
    Hope this helps

  • Analysis report with totals on specific columns

    I have an analysis report that I need to create totals on specific columns. If I turn on "Grand Totals" from the "Edit View: Table" section, all of the numeric columns will display grand totals. This is a nice automatic feature, but I only need totals of specific columns. Not all numeric columns need totals nor do Grand Totals of some columns make any sense.
    For example, to display opportunity details, we will have on the report:
    Opportunity Name, Item number, Item Description, Quantity, Price, Extended Price
    Since the opportunity may have multiple items on it, having a grand total of quantity and unit price makes no sense. All we need is Grand Total of the opportunity extended price.
    Is there a way to selectively turn on/off column totals or is it an all or nothing option?
    Thanks in advance.
    Edited by: nsidev on Sep 1, 2009 10:10 AM

    Actually, i just solved the problem.
    Here is what I did:
    1. I added a column to the "Design Criteria" section (step 1). To keep the units consistant, I made sure that the data element was suitable for the value (I used a currency element). Ensure you note the position of the new column, mine was in position 11.
    2. Under the newly added elements "Column Properties", I set it to HIDDEN and changed the name to "Grand Total"
    3. Under the "Edit Formula", I changed the formula to be: SUM(<numeric column>)
    4. In "Create Layout" (Step 2), I added a narrative view to the bottom of the page.
    5. In the "Edit Narrative View", I set the appropriate formatting and added the following: Total Extended Price: @11
    6. Ensure that "Rows to display" is set to 1.
    Save and run
    All done, works like a charm.

  • How to build a report in Oracle CRM On Demand using the Shared Activities subject area to show only 5 recent activities?

    I’m trying to use the Rank function in a report and I’m having issues getting it to work.  I’m using the Shared Activities subject area and would like to rank activities by Contact. Since there are multiple activity association to the users (attendees), I’m not getting the correct ranking order.  Here is what I tried so far…
    RANK(Activity."Task Due Date" By Contact."Contact ID")
    RANK(Activity."Task Due Date" By Contact."Contact ID", Activity."Activity ID")
    RANK(Activity."Task Due Date" By Contact."Contact ID", Employee."Employee ID")
    I don’t mind getting the same values for the same dates but the increment should be in sequence.  What I’m getting is 1,1,3,3,5,6,6…  I want to show only 5 recent activities and so need the sequence of 1,1,2,2,3,3,4,4… If not date, what else is there to make it unique?  I tried to rank it by Contact Id, Activity Id, Emp Id, etc.  Nothing works!
    I have tried other functions like RCOUNT, TopN, BottomN, ect. with no luck.

    Hi Max
    Our requirement is to see all the activities for a server in a month ONLY IF there are activities on DIFFERENT dates. So using my example, server2 has activties on 7/1 and 7/14. Then we want to see all the activities for server2 in that month. Server3 has two activities but both activities are on the same date. So we don't want to see server3.
    Counting by server will not work because that will include server3 in my example.
    What I really want is to be able to count unique occurrences of dates per server in a month. And if this count is > 1, then this server will be in the report.
    I used a pivot table to count the unique occurrences of dates by server by month. So using my example, I have this result:
    Server1-July: 1
    Server2-July: 2
    Server3-July 1
    What I really want (conceptually) is to be able to filter this pivot table by the matrix column which is the count. I just couldn't figure out how to do that :). Then I thought I could use this report (with pivot table result) as a filter into another report.
    Hope you have some idea....:)
    Thanks

Maybe you are looking for