Filter Cross Tab

Post Author: Bill
CA Forum: General
I filter the data and produce a report, chart and cross tab. Now what I want to do is add a second cross tab, this one in the report footer.   This second cross tab needs to be based upon a subset of the report's data.  I tried adding a formula to the Section Expert>Report Footer>Suppress (No Drill down).  Tried several different methods but the cross tab either shows all the data or none.
Is this the correct method? 
Any help is appreciated.  Thanks.

Post Author: Bill
CA Forum: General
I should have added that if I put the following in the Detail formula of the Section expert:
{SurveyAnswers.SelectionAnswer}="Strongly Agree" OR {SurveyAnswers.SelectionAnswer}="Agree" OR {SurveyAnswers.SelectionAnswer}="NEUTRAL"
The the 3 above answers are excluded from the detail and I get the info I want the footer cross tab to be based upon.  Putting the same filter formula in the report footer and running the cross tab returns all the (unfilterded) data.
There must be a way to do this but I'm stumped.
Again, suggestions are appreciated.
wal

Similar Messages

  • Cross Tab - select dates

    Hi I have created a cross-tab report using only two fields. enrollment_id and create_date. What is needed is a count of the # of enrollments and a summary for the week starting on Sunday. I have been able to do this however, they only want for the previous 4 weeks - I am returning all weeks since the start.  I am not sure where to filter.  Here is what I used in a regular report which worked but is not working in the cross-tab.  The formula below gives me up to the last 4 weeks sunday to today.
    not ({ISSUANCE.CREATE_DATE}in Last4WeeksToSun) and
    not ({ISSUANCE.CREATE_DATE} in WeekToDateFromSun)
    Here's what it should look like and includes a count up to today for week of 11/30.
    Site_name    11/02/08              11/09/08     11/16/08    11/23/08    11/30/08
    #issued            25                     29               16            18             15
    Any help would be appreciated.

    I figured this one out....needed to take out "not"

  • Hiding a column in Cross tab

    Hi all,
    Could any one provide me a solution to hide a cross tab column.
    My cross tab has the Dimension in the rows and date values in the columns
              Dec'06 Dec'07 Jan'08 Feb'08..........Dec 08
    DIM1     20         10       35        28                 26
    DIM1    30          20       15         14                 22
    Some reason am bringing Dec'06 data and this data is coming from the universe.
    So now I would like to hide this Dec'06 column in the cross tab how can I achieve this?
    or is there any solution to hide first column in the cross tab?
    Any help would be highly appreciated.
    Thanks

    Hi all,
    For this I just created a variables as below first for Prior Prior year end as I always need to hide prior prior year Dec data so created a variable as below
    Prior prior year end=ToDate("31/12/"+FormatNumber(Year([Date]);"0000");"dd/MM/yyyy")
    after that created another variable like
    If([date]=[Prior prior year end];"Y";"N")
    Now created a filter saying filter cal date="N"
    It is hiding all the years december data but I only want to filter only prior prior year end
    any help pls
    Edited by: VP S on Feb 10, 2011 5:21 PM

  • Problem using a conditional suppress in a cross-tab ?

    is there a problem using a conditional suppress in a cross-tab on a row  or summarized field  in crystal XI?
    I am using the following conditional suppress on a summarized field and its rows
             If {@SortCode}=4 then true;
    Sortcode is a group sorting formula field
    the summarized field is a formula field as well.
    All of the summarized fields are suppressed although the cross- tab performs correctly on @Sortcode  and the summarized field when not using the condition        
    it seems to me to be a reporting flow issue although i've included "whileprintingrecords" and "evaluateafter" with no success.
    i have also moved the cross-tab from the report header to group header and applied a conditional suppress on the group header through section expert.
    this supresses the group i dont want but includes grand totals for each group and also varys the number of columns
    i can't filter on sortcode because one of the grand total calculations requires those records and a subreport or second cross-tab does not contain the same number of columns
    the cross-tab is necessary as a client may have columns spanning one to many pages
    thanks for your help

    Hi I have a similar problem,
    I have an clock in solution, where i have some dates with data such as, various entries for a date eg, 01/11/2010 1hr, 01/11/2010 3 hrs etc, 03/11/2010 2hrs , 05/11/2010 4.5hrs, 05/11/2010 4 hrs so i need total for each day and highlight only those days, where total is less than 4.5, including days which donu2019t have records eg 02/11/2010 & 04/11/2010, I summarise in totals using a cross tab, to get summarised output for each day as,
                Totals
    01/11/2010    4
    03/11/2010    2
    05/11/2010    8.5
    in order to get the dates which didnu2019t have records, i added a dataset from Excel spreadsheet where i just have a sequential dates for the year , and use record selection to select only those dates in range which i need to display, so the result i get
    01/11/2010    4
    02/11/2010    0
    03/11/2010    2
    04/11/2010    0
    05/11/2010    8.5
    so far so good, all using cross tab, now i want to suppress rows which have total > 4.5 so the result should be
    01/11/2010    4
    02/11/2010    0
    03/11/2010    2
    04/11/2010    0
    How can i do that?

  • Filtering Key Figures/Columns in a Cross Tab Component

    Hello All,
    I am creating a P&L Statement for Better/Worse comparisions, and I have to show only three columns at a time based on User Drop Down Selections.
    Here is my Bex Query Out put looks like.  The Rows part is "Structure" and Columns are "Cell Restrictions".
    Now, the CrossTab component has to show only Two columns at a time, based on user selections. Here is my desired output. User will Select either ' Avg' Rate or 'End Rate'. Based on that selction, Actual's will show in the First Column and based on Selection from Second DROPDOWN for Budget/Forecast/PY, the Second Column has to be displayed.
    Is there any DropDown Component or CrossTab Component Options are there to Filter the Columns based on User Selections ?
    Appreciate your help. This is the Crucial Chart for the whole Dashboard.
    Thanks,
    Sonti.

    Hi Tammy,
    Thanks for your quick reply.
    Can it be done dynamically without the User touching it ? My Cross Tab has to show values based on the Selctions. But, I couldn't find the code to restrict Cross Tab data.
    I have to code for Dropdown box --> On Select, to check / Un check the KF's in the Filter Panel Component. And in Filter Panel Comoponent, --> On Select, DATASOURCE.setFilterExt("KF1", "KF2").
    And assign the data source to Cross Tab.
    Please correct me if I am wrong.
    Regards,
    Sonti.

  • Date Formatting in Charts and Dynamic column resizing in Cross tabs

    Hi All,
    I am new to Design Studio, so am in desperate need of your help on the following:
    Is there a way we can change the date format in x axis in charts?
    For ex: Am getting dates as mm/yyyyy from BW but requirement is to show in yy-Mon
    Requirement is to display data in cross tab just below the charts. How can I make the column widths in the cross tab the same as x-axis divisions in the chart? Also, this will be dynamic as depending on filter selection x axis scaling in charts will vary.
    In cross tab, can I hide the column header?
    Would really appreciate any kind of help from you.
    Thanks & Regards
    Swasti

    HI Swasti,
    To answer your first question, in Design Studio it's what you see is what you get! so it shows the Data Labels as it is in the BEx output, if you have to modify this you have to change it in the Background.
    There might be CSS workarounds, but I am not sure if that will satisfy your requirements.
    You can fix the Column width, but it would be constant, aligning that to your X-axis would require a lot of Effort.
    You cannot hide the Column header directly, but one workaround would be to use a white BG text component to overlay on the Crosstab.
    Regards,
    Fazith Ali Z

  • Re: Suppression Code in Cross tab Report

    Hi All,
    I am working with a cross tab report which has location descriptions as rows and dates as columns and the revenues as the summarized field.
    Now I have over 7 locations without revenues and I need only 3 of them  for suppose 'LOC X' 'LOC Y' 'LOC Z' to be suppressed.
    How can i Suppress only those 3 locations.
    Can any one help  me with code please.
    Thanks In Advance,
    Nani

    Nani
    Can you use the "Suppress empty Rows" from the Customize Style tab in the CrossTab Expert?
    Also, if your datasource is a Stored Procedure, you can filter them out there.
    Edited by: Marty Reyes on Jan 3, 2011 10:52 PM

  • Top N sorting in a Cross Tab object

    I am looking for information on how to sort a cross tab object using a Top N filter.

    Hi Lee,
    In the cross tab report, just insert a chart, with in the data tab when you insert the data base available values then you can observe on change of record values and summary field values.
    In the record sort values we can give the sorting with the order level or Top N level.
    Let me know if you have any queries.
    Thanks,
    Naveen.

  • Exclude rows from cross-tab

    I have a cross-tab in my report.  I am relatively new and hope this isn't a "dumb" question".   There are columns which are averages of data aggregated by week.  The last column is average over 4 weeks.
    I only want the report to show those rows where the total column is above 70.  How do I filter the rows to show only those columns above a pre-defined threshhold.
    Thanks in advance,
    Ken

    If you have the same grouping within the report as in the crosstab then you can create a formula that outputs the row field when the summary is greater than 70, i.e;
    if sum({cust.sales}, {cust.region}) > 70 then {cust.region}
    Use this formula as the crosstab row as opposed to the database field

  • Cross tab reports

    I have created a report in Crystal and on top of the report there's a cross tab report.  Why isn't all the info from the report pulling into the cross tab report?

    Voraresh,
         There could be many reasons.  Do you have any parameters that are limiting you data?  Is the Crosstab in the
    page header or footer, or in a group?
    If you create a plain report, "no crosstab" put a field in the details and run, how many records do you get?
    Now go back to the Crosstab and run, how many records do you get?
    If the numbers are different, my assumption is you have a filter, or a parameter that is not allowing the data to show,
    or your Crosstab is based on a field that is occasionaly a null.

  • Conditional Cross-Tabs

    My cross-tab report currently has 15 columns (let's call them A,B,C, etc.)
    I would like A,B,C in one cross-tab - and the rest of the columnes in a second crosstab, but haven't figured out how to filter the crosstab to limit which fields appear in which chart.
    Many thanks in advance!
    Wendy

    Here's a fudgy workaround to get what you need... (Why do most of my answers here start like that?)
    Caveat:  It'll only work if the group names (A, B, C etc) are static (eg: not dates for the past month), and you know which groups you want in each crosstab (I think you do).
    1 - Create another section below the one where your existing crosstab it, and copy&paste the existing crosstab into it - you'll now have two crosstabs.
    2 - In your first crosstab, go to the "Group Options" for your groups - change the sort order to "Specified Order" and select the items you want to show (say, A, B, C).  On the "Others" tab, choose "Discard all others".
    3 - On the second crosstab, do the same, but choose D, E and F for the specified order (and still discard all others)
    This will leave you with x-tab1 showing A, B and C, and x-tab2 showing D, E and F.
    Yeah, not really "conditional" as such, but at least you've got it to display the way you want...
    Hope this helps...
    J

  • Cross-tab - Repeat Row Name

    How can I get the Row Names in a cross-tab to repeat on every record? This would be useful for users that export the report to Excel and want to use column filters.

    Graham,
    I tried your suggestion and it almost worked. Viewing on the screen in Crystal, it did display the row name repeated the correct number of times. However, they didn't quite line up.
    The main problem though was when exported to Excel (Data Only), It placed row names concantenated together all on one row next to the total for each.
    When exported to regular Excel, it placed them all in one merged box.
    So, unfortunately either way the user would not be able to use Excel to filter.

  • How does one have a recursive query in a cross-tab report?

    I am trying to build a report off of a table much like an accounting transaction log where a subsequent (payment) transaction points to a previous (charge) transaction on the same table.  Most of the data I need to display is off of the payment transaction but the column header in the cross-tab needs to pull off of the initial, charge transaction (the data is not stamped on the payment transaction). 
    Whenever I add the second instance of the table to my report (as the column label) my summary data is doubled or worse.  I have tried to create a calculated field to filter and hopefully only sum up the payment transactions and use the calculated field as the summary data field but that is not affecting the totals.
    The truly odd thing about this is the summary field on the charge transaction does not contain any data, only the payment transactions have data in this field so the sum totals should be correct despite the double pull from the table.
    How can I read data from related records on the same table without affecting the sum totals?
    Any guidance would be appreciated!!  Thanks!

    Please re-post if this is still an issue and add a lot more info

  • Unwanted extra column in a cross-tab at run-time

    Hi all,
            I have a question about using a cross-tab on a report. I have a web page with the report and for the cross-tab column data I have selected some data from an array I supply to the report.  At run-time, when I call SetDataSource(data) for the report and look at the data there is only 2 items in the array for the column data. When the report is displayed the 2 column names and values from the data appear correctly on the cross-tab but I also have a third column. The third column has no name and has a value of 0.0.
    The actual data I am associating with the column is the time member of the CategoryTime[]. Any ideas on what could be causing this?
    public class ResourceActivity
            public string resourceName;
            public CategoryTime[] categoryTime;
    public class CategoryTime
            public string categoryName;
            public float time;
    Thanks in advance for any help
    JohnN

    John,
    It sounds like there might be a null record returned and the crosstab is generating a column for it. You could try suppressing blank columns in the crosstab expert or filter out nulls in the record selection

  • Need a multi-level control break report displaying a cross-tab for each ...

    I need a multi-level control break report that displays a cross-tab report for each
    detail and subtotal. The individual cross-tabs are no problem. There are two issues:
    1) How to get many cross-tabs (thousands) to appear in one report.
    2) How to provide cross-tabs in-line on the multi-level subtotal lines.
    Here is a concrete example.
    Suppose the data base contains this table:
    road (
    id_number number, -- this is an artificial PK
    city varchar2,
    county varchar2,
    state varchar2,
    length number,
    owner varchar2, -- roads may be owned by cities, counties, states, and others
    surface_type varchar2 -- the surface type may be gravel, asphalt, concrete, and others
    The table is populated with several million records that include every
    length of road in a US city.
    It is OK to suppose that all the attributes in all the records are not null.
    Without the PK, there would be millions of duplicates,
    which should all contribute to the summed lengths.
    The report I need is like a control break report with a detail line for each
    city together with subtotals for each county and state and
    a grand total for the US at the end.
    However, each detail and total line needs to be a cross-tab report
    summing the length over the city, county, state or US
    (whichever is called for at that location)
    for each combination of owner and surface_type.
    so the report would have the following structure:
    a city cross-tab for the first city in county 1/state 1
    a city cross tab for the last city in county 1/state 1
    a cross-tab for count 1
    a city cross tab for the first city in county 2/state 1
    a city cross tab for the last city in county 2/state 1
    a cross tab for state 1
    a cross-tab for the US
    Any suggestions will be appreciated.
    This problem comes up because my client's legacy system,
    which is being replaced,
    already has such a report (in COBOL).
    Thanks!!!
    Steve
    PS, I know one ugly way to do it. Namely, make a variable for each
    possible combination of owner and surface. Then code an ordinary control
    break report. However, I am looking for something better.

    Hi Jenna_Fire,
    According to your description, you have a matrix contains total for each group on each level. Now your requirement is, when you click on any number (data field or total), it will go to the detail report which returns all the detail information of the people
    within the group scope. For example, if you click on the total of Active users in United States, it will return the detail information of Active users in New York and Texas. Right?
    In this scenario, we should set the parameter (@Country, @State, @City) allow multiple values in both main and detail report. And in Default Value (@Country, @State, @City), query out all distinct values. In the textbox which contains
    those total values, when set use these parameters to run the report, we only need to pass the parameters of parent groups. For example, if we click on the total of Active users in New York, we only need to pass Country, State, Status to detail report, and
    in the detail report, the City parameter will use all distinct values (Default Values) because we don't pass the City parameter. We have tested this case with sample data in our local environment. Here are steps and screenshots for your reference:
    1. Create parameter Country, State, City and Status in both main report and detail report. Set both Available Value and Default Value get values from query (Create a dataset for each parameter, use "select distinct [column] from [table]" as query). Set allow
    multiple values for parameter Country, State and City in both reports.
    2. In corresponding textbox, pass appropriate parameters in go to report Action.
    4. Filter data in detail report (in where clause or using filters).
    5. Save and preview. It looks like below:
    Reference:
    Using Parameters to Connect to Other Reports
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for

  • Creating a custom role does not show up whe creating a user

    On portal 10.1.4 I have followed the directions in 10.1.4 Oracle Server Portal Configuration Guide.section 6.1.6.9.1 Example: Defining a User Administrator Role. However, the newly created role does not show up when I create a new user. Any suggestio

  • Numbers being replaced with periods in PDF

    I'm working on tagging PDFs to be 508. All of the pdfs have already been made and the tagging is being done in Acrobat Pro 8. The problem is seen in the "content" window looking at the tags. The document text can be seen and numbers like "1s", "2s",

  • HT3951 "Failed to load book because the requested resource is missing"

    I get "Failed to load book because the requested resource is missing" after I purchased an ibook, downloaded it, and tried to open it, all done on my iphone. Has anyone experienced this problem? How was it resolved?

  • Help! - Xserve running Mac OS X 10.6 Server keep hanging!

    I have a situation here where the Xserve I set up running Mac OS X 10.6 Server keeps hanging after a while. I have re-installed from the scratch thinking it was the third party software I used in importing users and groups but the problem is still th

  • ALE Consistency Check Msg - Permissibility of function module

    Hi, I'm running a consistency check (BDM5) on a ALE model and I am getting a red messaged on Permissibility of function module - Function module is not valid.  The function module does exist.  What is this msg referring to? Thanks, Nancy