Chart/Cross-Tab
I am fairly new to Crystal, but I am trying to build a graph that will display Jan-Dec on the X-axis, and the cumalative forecast $$ on the Y-Axis. My report fields are Jan-Dec which have $$ forecasted each month. Could anyone provide some help or guidance? Thanks in advance.
thank you for that tip. but I am trying to get a line chart, and I did as you suggested. However, I am getting all the data values on one date on x-axis, that's 12/31. I looked in the chart options, but I can't figure out:
1. how to seperate those data points over the 12 months;
2. Make them actually cumalative, like Feb data should show, Jan forecast + Feb Forecast, and march data should show Jan ForecastFeb forecastMar Forecast, and so on.
it seems to me that those monthly data should somehow be associated with the month of the year.
I would appreciate any further suggestions or thoughts on this. Thanks again.
Similar Messages
-
Cross-tab bar chart error.
Post Author: Kristofor
CA Forum: Charts and Graphs
I created a bar-chart based on a cross-tab, but the bar-chart ends up merging two rows of the cross-tab into a single series rather than displaying them correctly as two seperate series.
As far as I can tell this seems to occur because the labels for the two rows both start with the same two letters (but are otherwise different). If I don't use labels, but just the database integer IDs, the chart works correctly, but is not labelled in a useful manner.
Has anyone seen something like this and is there a way to work around it?Hi,
Try SPRO. Do not know the path by heart...
Basic systems -> Frontend services -> Graph/Net
Best regards,
Guillaume -
How to include both percentages and number values in a cross-tab chart?
Hi,
I created a cross-tab and a multiple pie chart using Crystal XI. I would like to include percentages as well as numbers in my pie charts' slices. Seems I can either show % or numbers but not both!
The multiple pie chart compares different charges for different Departments. It has an On Change Of by "DifferentDepartments" and "ItemCharges" (e.g. Normal, Double Time, Time & half, Shift, Meal... ) and the Summary value is sum of "Labour".
Is there any workaround available? Please advice.
Thanks,
Nazee
Edited by: Nazee TVK on Feb 23, 2012 1:52 AMhi Nazee,
this is possible sometimes, using a workaround, and depending on the values you're showing.
instead of using your department field as the On Change Of field, create a new formula which is something like
{departmentfield} + chr(10) + totext({your group level summary})
as an example using the xtreme sample databae
{Customer.Customer Name} + chr(10) +
totext(Sum ({Customer.Last Year's Sales}, {Customer.Customer Name}))
now in your Pie Chart switch the department field for the new formula you just created.
i have attached a sample report...however, please note that the forums sometimes don't work with these attachments. so you can try different browsers or right clicking on the attachment and doing a save first etc.
jamie -
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
SwastiHI 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 -
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? -
Carry forward of variable value in cross-tab charts
Hi Experts,
I have a cross-tab which calculates the inventory of items (based on count). For a particular date range (quarterly here), if i have to generate the cross-tab, i set the inventory count to zero for the first quarter, and from the next quarter, i add to the inventory count, the new inventory items. At the end of each quarter this value gets accumulated and gets carried forward to the next quarter. From the next quarter, it just is the sum of count of the new items. Now, i have this cross-tab calculate the values at WhilePrintingRecords evaluation time.
When i have created a chart out of this cross-tab, the chart doesnt reflect the values that are observed in cross-tab.
Is there any way i can get these calculated values to get reflected on the chart?
Your help is greatly appreciated.
Thanks,
Roshan.Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly
-
Convert cross tab with 2 summarized fields to a chart
Greetings,
I have a simple cross tab containing a date row and 2 summarized fields. It looks like this (see Figure 1)
When I convert (insert) my cross tab into a stacked bar chart, I only get one of the summarized fields to show up on the chart. It looks like this (Figure 2)
Is there a way for me convert this cross tab into a stacked chart so that both of my summary fields appear?
Many Thanks!OK... Thank you.
I was using the cross tab in hopes of controlling graph labels for months (Customize Group Name field) . What I was doing was converting dates to month verbiage (Sep, Oct, Nov, etc) so that the month verbiage would appear on my graphs instead of the numbers while still maintaining proper calendar order . (thanks for showing me this technique by the way as it works great). Too bad it does not work when there is more than one summary field (thanks for explaining its limitations... I had not told you that I was adding a second summary field).
Given that I have 1 row ( Date_discharge) that I need to display as months (verbiage) in calendar order
and
Given that there are 2 summary fields: Vaccine Indicator (a sum) and Birth_date_Baby (a count) ...
(I am contrasting # of vaccine's given against total babies per month in a monthly stacked bar chart)
Is there a way to display 2 summary fields on a stacked bar graph grouped by month (where the month is listed in alpha format, (Sep, Oct, Nov, etc.) but still sorted by its calendar value? My initial attempts to do this in a graph (without a cross-tab) would display the month verbiage just fine, but it would order my months alphabetically.
Thanks again for your suggestions! -
Build the Bar chart from Cross Tab which have 3 measures with cell refr.cal
Hello Friends. I want to Build the Bar chart from Cross Tab which have 3 measures with Actual , Plan and Forecast
But Issue here is each cell is defferent like i have to do different calculation for each cell for actual, plan, forecast
like A = Jan act/Budget actual, Where as B = Feb Act/ Jan Budg+Febbdgt_March Budget
So now when I right click to say turn to Chart it is not generating the chart
Please help how to build bar chart since i do not have 1 key figure which i can drag and drop in view structure of chart so how to handle this
Jan, Feb, March, Aprl, May, June
Actual A B C D
Plan N M O P
Forecast
SONIYAHi Soniya,
It will be better if you can get these keyfigures calculated from the BEx with the help of structures in the BEx.
At the report level it will be complex to create these variables and also not sure whether going to work:
But you can try something like this:
A= If (L01 Moths="JAN") then Sum (Actual)/Sum (Bud) Else 0 similarly for other months.
Then you need to create one more variable (measure) which should be plotted on the chart as:
Final Act = If([L01 Month]="JAN") Then A ElseIf([L01 Month]="FEB") Then B ElseIf([L01 Month]="MAR") Then C
Final Plan= If([L01 Month]="JAN") Then N ElseIf([L01 Month]="FEB") Then M ElseIf([L01 Month]="MAR") Then O
similarly you have to create variables for Forecast, then finally you can plot final 3 variables in the graph.
Hope it helps you.
Regards,
Rohit -
Showing Null values in Cross-tabs
Post Author: merv
CA Forum: Charts and Graphs
I've created a cross-tab report but I will like for the report to list the rows will null values as well as the rows with values. I need to do this because I cannot create one cross-tab with all of the necessary fields, so Iu2019ve created 3 cross-tabs and placed them side by side. Or is it possible to link the cross-tabs. Thanks
I would like to see the following
Total
A
A-
A+
B
B-
B+
C
C-
C+
D
Total-1
Total-2
Canada
MATH30800
24
12
0
0
4
0
4
0
0
0
0
Canada
MATH30800
24
Canada
MATH30800
0
Nigeria
MATH201
12
8
2
2
0
0
0
0
0
0
0
Nigeria
MATH201
0
Nigeria
MATH201
12
Poland
CHEM31800
8
0
1
0
0
0
3
1
0
0
0
Poland
CHEM31800
8
Poland
CHEM31800
8
Puerto Rico
MATH190
0
0
0
0
0
0
0
0
0
0
0
Puerto Rico
MATH190
1
Puerto Rico
MATH190
0
Panama
ENGR10300
39
3
4
1
2
4
6
3
3
0
1
Panama
ENGR10300
0
Panama
ENGR10300
39
Romania
MATH31601
4
2
1
0
0
0
0
0
0
0
0
Romania
MATH31601
4
Romania
MATH31601
0
Afghanistan
EAS10600
11
0
4
0
0
1
1
1
0
0
0
Afghanistan
EAS10600
0
Afghanistan
EAS10600
11
Bahamas
HS-COURSE
0
0
0
0
0
0
0
0
0
0
0
Bahamas
HS-COURSE
27
Bahamas
HS-COURSE
0
Brazil
HS-COURSE_2
1
0
0
0
0
0
1
0
0
0
0
Brazil
HS-COURSE_2
0
Brazil
HS-COURSE_2
1
instead of what's bellow
Total
A
A-
A+
B
B-
B+
C
C-
C+
D
Total-1
Total-2
Canada
MATH30800
24
12
0
0
4
0
4
0
0
0
0
Canada
MATH30800
24
Nigeria
MATH201
12
Nigeria
MATH201
12
8
2
2
0
0
0
0
0
0
0
Poland
CHEM31800
8
Poland
CHEM31800
8
Poland
CHEM31800
8
0
1
0
0
0
3
1
0
0
0
Puerto Rico
MATH190
1
Panama
ENGR10300
39
Panama
ENGR10300
39
3
4
1
2
4
6
3
3
0
1
Panama
ENGR10300
0
Afghanistan
EAS10600
11
Romania
MATH31601
4
2
1
0
0
0
0
0
0
0
0
Romania
MATH31601
4
Brazil
HS-COURSE_2
1
Afghanistan
EAS10600
11
0
4
0
0
1
1
1
0
0
0
Bahamas
HS-COURSE
27
Brazil
HS-COURSE_2
1
0
0
0
0
0
1
0
0
0
0Post Author: azanobrown
CA Forum: Charts and Graphs
What I've done in the past is create a new formula for your "value" field similar to this and put it in your cross-tab:if {original value field} is "" then [0] else {original value field}the purpose is to create a record value (e.g. 0) where there is no record. I hope that this helps. -
How do I use a Cross-Tab to show me multiple fields without Summaries?
Post Author: lindad
CA Forum: Charts and Graphs
Is it possible to add a Cross-Tab to a report with 6 columns and 4 rows; the values in each field are taken from a different field in the db and no summaries are used?
Essentially the cross-tab needs to look like a table that you would create in Excel or Word.Post Author: Manuel de Kleine
CA Forum: Charts and Graphs
Linda,You cannot do that, because cross-tabs have always a summary on the axes (the number of having the value in the column AND the value in the row).If you need a table, you can use borders for your field and field header. -
Hello...
I created one cross tab with 10 rows and 2 columns.(In Crosstab Expert) Based on grouping i got 5 set of cross tab reports,Each cross tab contains 4 records .But in between these crosstabs blank spaces are there ,How can i avoid such blank spaces...
Expecting Answers.....Thanks...Hello Jebin
I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
It is monitored by qualified technicians and you will get a faster response there.
Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
Best regards,
Falk -
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. -
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. -
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 -
Cross tab reports in application express
Hi,
Can a cross tab report be generated with the help of Oracle Application Express?
LavinaLavina - you can cheat and create a very simple report like this:
Use a PL/SQL dynamic region. Within your PL/SQL, query the database to get the data in rows rather than columns (which is normally much easier and allows the number of items to be dynamic) and set a cursor on the result.
Start an HTML TABLE block, loop through the cursor once for each column of the resultset and output each row as a table column (i.e. 'sideways', with td tags rather than tr tags, or th tags for the first). You can also put in CSS formatting etc., then close off the table at the end. The idea here is that you build up an HTML table with your data in the cells, and pass it back to the browser using an htp.p() call.
It's a bit crude, and you don't get any of the APEX stuff that goes with the report, but it's OK for very simple reports. We use this technique for creating reports that show the data that was used to generate charts.
John.
Maybe you are looking for
-
My computer no longer detects internal speakers
This evening I opened my macbook to play something from itunes and I got no sound and this: So I checked the sound in my system preferences and noticed that it no longer listed internal speakers as a sound output Does that mean my speakers are kaput?
-
I have no idea if the problem is with Safari or with the Gmail files. I get the msg. "Error' over and over and often "you may have entered the address wrong" (when I KNOW I HAVE NOT) and other msgs. which I do not remember at this time. I'm having t
-
Printing Smartforms in Other Language
Hi, I have designed a smartform in English Language. Then I translated the the Text to Arabic using SE63. Now, I am getting the <b>Print Priview</b> properly. It is showing Arabic, if the logon language is Arabic and showing in English if the logon L
-
Connecting to satellite tv stream
connecting to satellite tv stream https://www.reddit.com/r/lumbaanaykol/
-
Regarding program execution in background
Hi ALL, I have a report with more than 255 columns if i execute in foreground no problem but if i execute in background it is displaying upto 255 columns only it is not displaying completely. (My report has 340 columns) . So please anyone tell me ho