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?
Similar Messages
-
Suppressing levels in cross tab.
Hello All,
I have a project requirenment for one of the client and currently using CR 2008 for creating dynamic reports based on a finance database for profitabilty Analysis. I have been using lot of Web-Elements functionality in my crystal application and its going good to an extent, the only issue i have been experiencing is the dynamic change of the cross tab data based on prompts.
Its a 4 level application where in users are prompted to select a specific level outta the 4 levels, they can select either few or all. Now, the issue is, in my cross tab i have mentioned all the 4 levels in my row field and the data is displayed according to the users selection through prompts, it works fine. But however if user does not select level 3 or 4 or any one of them then the specific cross tab row is displayed empty. I have tried selecting the option suppress empty rows under customize tab but that doesnt seem to work.
I want only those levels to be displayed which are selected by users and suppress the rest, the empty rows in cross tab looks kinda odd to see. I am unable to figure out the formula string for the same.
Any help will be appreciated. Thank youHi
Cross tab is nothing but a tabular representation of data.
It displays zero values only when there is no data for the combination of corresponding row and column.
We can not suppress this however we can display some string like "No data for this" or something else as per requirement.
For this, do the below:
- Right click on the summary value field on the cross tab -> Format Field.
- Under Common Tab, click on X-2 for Display string. This would open the formula editor.
- Put the below formula there:
if IsNull(summary database field) then "No data for here"
else "" & currentfieldvalue;
You can change the display string as per requirement.
Hope this helps!!
Regards
Sourashree -
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,
NaniNani
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 -
I have the latest version of Firefox installed. Version 5.0.
When searching on Google and use right-click to open in new tab or window. Keep getting blank tab.
Can somebody advise how to solve this.
Thank you.Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
You can use "Disable all add-ons" on the ''Safe mode'' start window.
You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit") -
Suppress values in Cross-Tab and Cross-Tab Chart if null
I am developing a cross-tab report that has no-values contributing to the summary in a number of cells. For instance, if I were to display the average value for the testing of particle-counts by the day of the month, and no testing was performed on a particular day, then I would hope that the cell would be blank and a plot of the cross-tab would just omit that data point. However, Crystal interprets this as a 0.00 instead of NULL, and the plot (incorrectly) includes the zero-datapoint.
I can suppress the datapoint in the cross-tab if it's zero, but that isn't correct either (as, sometimes, zero will be the correct answer). Even then, though, I cannot suppress the datapoint on the plot.
Anyone have experience with a workaround for this?
Thanks - TimBTW...I found that I can work-around the plotting issue if I convert the chart to a "Group" type (instead of cross-tab). It will then ignore the null-values. Still thinking about cross-tab displaying zero for a summary value when it is working with no data.
Suggestions? -
OSB 11g - Conditional Branch Problem using attribute selection
Folks,
Came across a problem using OSB Conditional Branch using attribute selection, it fails & is most likely a bug. It was bug in ALSB2.5 but read in forums was fixed in ALSB 2.6
things I am doing -
1. In the Msg Flow, Conditional branch is @ the start of the flow
Xpath :- ./cm:processLineItem/cm:lineItem/@actionCode
In-Variable: - body
Label: - MODIFY
Operator:- =
Value:- 'Modify'
It fails with BEA-382000 error Code
<con:errorCode>BEA-382000</con:errorCode>
<con:reason>
com.bea.wli.sb.stages.StageException: {bea-err}TYPE003: Runtime Type Mismatch
</con:reason>
What could be wrong with Xpath or is it a Bug ?
Thanks,
AbhijeetHi Abhijeet,
Your case is re-producible. It may be a bug.
BTW, I have noticed a strange behaviour -
1. If there is only one attribute then it works fine (<cus:lineItem actionCode="Modify")
2. If the attribute which you want to refer in selection, is in the last then also it works fine (<cus:lineItem priorityRanking="201" quantity="1"> actionCode="Modify")
So I will suggest you to raise a case with support and meanwhile as a workaround I would suggest you to use actionCode attribute in the last of lineItem node. So your XML should be like -
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<cus:processLineItem xmlns:com="http://vodafone.com.au/ebo/vha/CommonComponents" xmlns:cus="http://vodafone.com.au/cm/ocv/ebm/CustomerOrder" xmlns:cus1="http://vodafone.com.au/ebo/vha/CustomerManagement">
<com:header>
<com:createDateTime>2008-09-29T11:49:45</com:createDateTime>
<!--Optional:-->
<com:webUser>test</com:webUser>
<com:channel>string</com:channel>
<com:applicationName>string</com:applicationName>
<com:businessIdentifier>string</com:businessIdentifier>
<!--Optional:-->
<com:entityIdentifier>string</com:entityIdentifier>
<!--Optional:-->
<com:sourceIdentifier>string</com:sourceIdentifier>
<!--Optional:-->
<com:statusCode>Success</com:statusCode>
<!--Optional:-->
<com:messageIdentifier>string</com:messageIdentifier>
</com:header>
<cus:lineItem priorityRanking="201" quantity="1" actionCode="Modify">
<!--You have a CHOICE of the next 3 items at this level-->
<!--Optional:-->
<cus1:product ID="string">
<!--Zero or more repetitions:-->
<cus1:attribute>
<com:name>test</com:name>
<com:value>test1</com:value>
</cus1:attribute>
</cus1:product>
</cus:lineItem>
</cus:processLineItem>
</soapenv:Body>
Regards,
Anuj -
hi all,
i have the following cross tab rpt to preparehow can i put row labels like area office,
area_off code name Sum of sanc Sum of disb
BANGALORE BO BAA0002 C TRIBHUVAN 6840000 6130000 8280000 7270000 19865000 10860699 34985000 24260699
BAA0003 S.LAKSHMI 30105000 20010000 39665000 29460000 35015000 33291688 104785000 82761688
BAC5502 E C DAYANANDA 7484000 9560646 18407000 14143517 25136000 16729159 51027000 40433322
BAC7100 K.M.JAYAKUMAR 6400000 21052688 17725000 9975000 18280000 15459790 42405000 46487478
BAH0002 VASANTH H GUDI 600000 250000 6520000 3866773 3435000 3335000 10555000 7451773
BAH0005 SURENDRAN 0 2635000 1890000 3180000 0 2590000 1890000 8405000
BAH0007 JOHN D J 4350000 3383343 1870000 4390000 7200000 3567160 13420000 11340503
BAH0021 SELVAM HART 844000 0 0 850000 844000 850000
BAH0028 Z R SRINIVAS 16552000 8804106 10014000 18172965 22642000 18291925 49208000 45268996
BAH0042 UDAYA KUMAR HEGDE M. -1500000 9295000 1170000 2746502 -3500000 4350267 -3830000 16391769
BAH0073 N NAGENDRA KUMAR 17220000 1840817 13880000 11282416 2700000 6806787 33800000 19930020
BAH0078 PUSHPA.V.GUDI 2388000 9343226 2040500 7377020 16300000 6924515 20728500 23644761
BAH0237 USHA K S 15670000 2275000 15670000 2275000
BAH5003 SHARANAPPA MADINOOR -205000 2093000 5215000 7310742 -600000 3300000 4410000 12703742
BAH5006 SHIVAREDDY D M 5400000 1854628 100000 6105000 4450000 1810000 9950000 9769628Hi
You can change the display string by right click on the row ->Format field->Common ->Display string.
Here you can define conditions as per your requirement to display the values you require.
Also you can write a formula field with all the specifications and use that in row in your cross tab.
Hope this helps!!
Regards
Sourashree -
How to Add new column in cross tab reports
I am using crystal reports 10
I created cross tab report for monthly sales. I need to add one more column in that report
ex:
Month Customer Part1 Part2 Part3
Jan A 10 12 15
Jan B 20 0 10
Jan C 0 3 5
Feb A 5 10 8
Feb D 55 23 33
In above data Parts are no limit, thatswhy i am taking cross tab report.
I am taking Month and Customer name as Rows,
Part Codes as Colums,
Quantiry as Total fields in cross tab Report.
Here month field is storing as Transaction date in database, I am calculating by month
I am getting upto this.
User needs add one more field is Invoice no
Month Customer Part1 Part2 Part3 Invoice no
Jan A 10 12 15 B1,B2,B3,B4
Jan B 20 0 10 B12,B30
Jan C 0 3 5 B6
Feb A 5 10 8 B35,B40
Feb D 55 23 33 B25,B56
How to add invoice nos by group wise(By customer and By month)
Thank you.
Raja shekar Reddy K.
Edited by: Raja shekhar Reddy on Apr 16, 2009 5:10 PMDear Amogh,
Thanks for u'r Replay.
If i use new crosstab for Invoice no each invoice number can display like seperate columns.
But I need Invoice no in single column with seperate with "," or "/".
Thanks & regards,
Raja Shekar Reddy K. -
Cross tab on quarter (date) parameter
Post Author: tomahawk
CA Forum: Charts and Graphs
I need to design a cross tab report where the column is a certain date field (say date1). However, the report is a quarterly report, so the columns should be for each quarter (date1 falling in a particular quarter). The user wants to select the quarter from a drop down parameter box at runtime. How do i set the condition/formula for the cross tab to display details for the quarter that the user selected?
Please help urgently.
Thanks
TomPost Author: sleahcim
CA Forum: Charts and Graphs
Hi Tom,
While there may be some method to do it by playing around with the formatting, you're likely to get it done quicker by creating a formula for your quarters, and swapping that field into your crosstab. Here's a sample report that shows you how to create a quarter formula.
-Michael -
How to create Cross Tab type report?
Hey all,
I am in the process of converting an application. The current application uses Crystal Reports to generate a Cross Tab report. I want to use Oracle to generate this type of report. Can anyone tell me how this is accomplished?A cross tab report in Oracle is a matrix report. You can use the report wizard to build this type of report.
-
Cross-Tab should expand right and left sides equally
Hi,
We are using Crystal Report XI release 2, Cross-Tab expands towards right side.
Our report parameter range is not constant.
When fewer columns we can get based on parameter, Cross-Tab does not look good because it prints left to right and we can see a lot space at right side of the page.
User asking put it in center, but it does not look good when we get more columns (it prints left to right).
We can achieve a good look, if it grows left and right sides equally.
How to achieve this please give me some suggestions.
Thanks and Regards,
Manjunath N, J JoginThough you can not make a CrossTab grow equally on right and left side but you can reduce the Gap at the end .
To achieve this,please Right Click on the cross --> Cross Tab Expert --> Customized Style tab and uncheck the checkbox Keep Columns Together
Also for the summary fields, make them left aligned by default CR aligns numeric fields to the right. do the same thing for Row/column headers. This way you'll save lot of space.
Hope this helps! -
Conditional suppression using substitution variable in Hyperion financial r
Hi all,
Is there a way that I can suppress a column using substitution variable in hyperion financial reporting?
For eg, i want to suppress the column if the value of the substitution variable curr_mnth = jun.
Is there a way to do this? In conditional suprression dialog box, I dont find this option.
Please suggest.
Your response is appreciated.
Thanks,
Sirisha.Hi Sirisha
In my earlier reply I think I may have mislead you as I thought that you could set the member name equal to that in a row/column and I've managed to get into a HFR studio session this morning and realised that the conditional suppression only allows you to suppress where member name = 'XXX' (specific text) so that doesn;t meet your requirement.
Different people will have different ways of achieving what you want and everyones requirements are different. If it helps my preferred way of conditionally suppressing periodic data (for Planning/Essbase) is to add a dynamic calc account member called 'TP-Index' into the database, set up a formula so that each period returns a numeric value from 1 to 12 to match the fiscal/calendar year as required.
Then in reporting bring the account and period dimensions into rows/columns so that you are able to retrieve data for the TP-Index account and the period as defined in your substitution variable. You can then choose how the suppression works based on a numeric value, commonly you may want to suppress if greater than, e.g. you have a multi-period report where your actual data is to June so you want to suppress everything from July onwards.
I'm sure that a similar thing could be achieved in HFM as well if that is your underlying system instead of Essbase.
Does that help?
Stuart -
Problems w/ race conditions when using attachmovie
Hello,
I'm having a strange problem w/ race conditions when using attachmovie.
I have a class linked to a movie clip that I'm attaching to the stage. The class is
fired off when the movie clip is attached but also other classes are getting loaded at the same time
while the movie clips is attached. Even though the other classes are called after the
movieclip is attached, they are getting loaded faster and therefor the class linked to the attached movie clip
cannot access their functions.
I'm looking for a listener that will fire off an event ONLY when the attached movieclip is fully loaded but I can't
seem to find any examples of associating a listener to a attachmovie method.
Any ideas?
Thanks,
Clem Cflash is single threaded so nothing happens simultaneously. what do you mean by, "other classes are getting loaded at the same timewhile the movie clips is attached"
-
Cross-Tab - conditional suppression and formatting
I have a cross-tab report of "widgets" sold. There are $10 widgets, $20 widgets, and $50 widgets. All widgets will always cost some round dollar amount, never anything like $10.99. My report shows weekly, month-to-date, and year-to-date sales for each widget denomination by both count and total amount by state. For example:
$10 $20 $50
count amount count amount count amount
New York
Week 5 $50 4 $80 1 $50
MTD
YTD
Delaware 1 $10
etc.
I also have totals by row, along with mark-up amounts (11% of gross sales amounts) and net sales (gross - mark-up). These last 3 columns are included in my dataset, not calculated in the cross-tab.
My problem is that I can't figure out how to do 2 things:
1. the count columns for mark-up and net will always be blank, so I want to suppress the "count" column header
2. I want to display the dollar amounts for those 2 columns with 2 decimal places, but the other amounts with no decimals.
Can this be done, and if so, how?
Thanks!
PhilHi Phil,
I also found the following information under Cross-tab Help for suppressing rows or columns. I hope this is what you're looking for. Sylvie
To suppress empty rows and columns
Right-click the blank top-left area of the Cross-Tab and select Cross-Tab Expert from the shortcut menu.
The Cross-Tab Expert appears.
Click the Customize Style tab.
Select either the Suppress Empty Rows or Suppress Empty Columns check box.
Click OK.
Now, when you print the report, empty rows and/or columns will not appear.
To suppress row and column grand totals
Right-click the blank top-left area of the Cross-Tab and select Cross-Tab Expert from the shortcut menu.
The Cross-Tab Expert appears.
Click the Customize Style tab.
Select either the Suppress Row Grand Totals or Suppress Column Grand Totals check boxes.
Click OK.
To suppress subtotals and their labels
If you have more than two groups in your Cross-Tab you can suppress the subtotal and label for one of them.
Right-click the blank top-left area of the Cross-Tab and select Cross-Tab Expert from the shortcut menu.
The Cross-Tab Expert appears.
Click the Customize Style tab.
Click the field whose subtotal you want to suppress.
The Suppress Subtotal and the Suppress Label check boxes become active.
In the Group Options area, select the Suppress Subtotal check box.
Click the Suppress Label check box to suppress the label associated with subtotal.
Click OK. -
Suppressing the field using two conditions
how to supress a field using Two conditions?
In format field common tab
Click formula icon next to suppress and enter your conditions eg
field1 = x and field2 = y
Ian
Maybe you are looking for
-
Project Linked to Purchase Order
Hi, I'm trying to replicate the Projects Super User > Expenditure Inquiry form as a SQL extract. I've written it (below feel free to use anyone but its rough at the moment) but it has one issue. I've joined to get the PO Number via the invoice distri
-
Please help!
-
How can I downsize the itunes window if the bottom is outside the screen?
I have imported the files from my old 17in. Mac Book Pro into a new 15in. one. In the old one the window occupied the whole screen, in the new one it still shows up as a 17 incher and the bottom part of the itunes window actually falls off the screen
-
CS6 wont open images, it says it cant find the file.
Hello, this morning photoshop decided to play up and any new images that i try to open to edit, i get this message. 'Could not complete your request because the file was not found'. The same problem occours with all file types except .psd files. I
-
Keyboard Volume Keys Not Working Correctly???
What is wrong with my Mac Pro. The volume keys on the keyboard used to everything on my computer. Now it only controls system volume functions. When I listen to music or watch videos, I can not control the volume with the keyboard. Why not???