Crystal Reports 11 Dynamic Data Source Columns On Crystal Charts - crystal-reports

I've been searching for a solution for this issue for a couple of days now, so I would REALLY appreciate it if someone could help...
I am using SAP Crystal Reports 11, I would like to plot products prices over a specific period of time (FROM & TO Dates) using Crystal Line Chart.
The thing is the products number is dynamic, as each set of products belong to a package, so the package can contain 3, 5, 10 or any number of products depending on the chosen period of time (The FROM & TO DATES). I want to display these prices on change of date.
So when using a crystal chart, it requests a fixed numbers of columns to display in the setup panel below the "On Change Of" Option.
I would like a way to determine the columns to display on the run-time or something.
If such an option isn't available, I would really appreciate any work around or any idea.
Thanks in advance :)

Related

Financial formulation in Crystal Reports

I need help with creating a trial balance report for a specific tenure, from beginning of fiscal year to a selected period. I need this in Crystal Reports.
I am unable to formulate how can I get debit and credit amounts totalling from beginning of the fiscal year till the end of selected period (not YTD).
For example, I want to get a trial balance report till period 6 (June), I am able to get the balance at the end of period 6, but unable to formulate total credits and total debits for selected number of periods/months. Instead, it is either debit/credit amounts for June or it's for total debit/credits till date.
Can anyone help me please?
Create a formula that returns, for each record, it's dollar amount if it's within the target date range, otherwise, zero.
Sum that formula to get the total for that time period.
I'm a user of the DelmiaWorks/IQMS ERP solution as well. IQMS uses a stored procedure to populate a database table named "C_TRIAL_BALANCE_AS_OF". When you publish a report into IQMS, there is a field named "Execute Before Print" on the Edit Report Definition window that opens when edit a report. To run this stored procedure in conjunction with another report, you will want to choose "POP_C_TRIAL_BALANCE_AS_OF" in the drop-down box control for this field. This will ensure the procedure is run prior to the report so you have the account balances you need as of a specified date. When the report is executed, IQMS will present the user with a Date Picker for the As Of Date. Almost all of the data you need to do a Trial Balance report can be found on this calculated table. The only joins needed should be "V_GLYEAR_PERIODS", "V_GLACCT", and "EPLANT".
There is a built-in report that may do what you want already though. If you begin the Trial Balance module and then click "Reports" > "Print" to bring up the list of all reports, then look for one named "Trial Balance As Of". Even if this report is lacking some information you need, it will likely be much easier to edit this existing report than it would be to create one from scratch.
If you don't have this built-in report, you may be able to get a copy of the RPT file from their support department. As long as you have the Trial Balance module, you should have this report. Its a standard report that is included in every version of IQMS I've worked with. However, my experience is limited to the 15.3 and 2020 versions.

Crystal Report - How to position your labels from database in the CRViewer?

I created a timetable view in my CRViewer and I want to arrange the data that I got from my database in the timetable. But I don't have idea how to position them in there.
This is currently what I got
Now for example on the first row I have
M, 8:00, 9:00, 7, TLE1
I want to put a box in the Monday column and in the row of 8:00 to 9:00, and inside that I want to put "7 - TLE1"
Some says it possible with formula, but I don't know how since I'm a beginner in crystal report. Any help will be appreciated! :D
Your approach is wrong..for this type of requirements you need to use cross tab functionality in crystal reports.
Take day column in column part and for rows create a formula that will display as 8-9
For values create a formula by concatinating teacher id and subject code

crystal reports and custom sorting 2

Help please
I have a project at school to create crystal report
where I have three columns [itemcode---price----Change]
Item codes has five different codes and all I need is how do I sort two of those items
say cu-8967 and mp-7865 this applies for all CU and MP items and under changes calculate
their differences.
Any guidance would great appreciated .
Thanks.
You can do it by using crystal report formula.
write a formula like
totext({itemcode},"00",0)
and then drag and drop the formula where you want to show the result.

Backward looking back log report

I'm trying to write a backlog report in Crystal Reports XI attached to Fluke Met/Track database (Sybase back-end)
I have it running between a start & end date, then grouped by Month and then Day.
I need it to show all of the units that were in the lab on the days between the start & end dates
October Units
2
22525
22526
3
22525
22526
22527
4
22526
22527
22530
The order of the units doesn't matter, just that the units are showing up.
Maybe I'm just having a rough day, but I'm not seeing how this can be accomplished.
You can accomplish this by adding a group for your date, opening up the Group Expert, click your Group click Options, then you should see something along the lines of "The section will be printed:" and you can select: for each day.. This should allow grouping for each day.

Crystal reports crosstabs column grouping

I'm trying to build a cross tab report in Crystal XI that has dates, grouped by the month as column heading, and have 2 questions I'm trying to find answers to.
1: Is there any way to display a month even if there are no records to be summarized in that month? i.e. no orders for March, but want to display Jan, Feb, Mar.? I'm pretty sure I can create a dates table and use that spoof it, but don't want to go that route as the database is part of a Vendor's package and I don't want to get to crazy in there.
2: Is there a way of specifying or limiting how many columns go across? For example in a forecast cross tab I only owant current month and the next six months to show up. I suppose I can do a date range on the selection criteria, but that seems a bit kludgy to me.
Thanks for any answers
Short answer: No.
I've seen discussions about workarounds involving creation of temporary tables, but I've never tried any such solutions myself.
I would go with the date range on the selection criteria. You could make those dates parameters for more convenient useage. If you have sevral cross-tabs that should have different date ranges you could put the crosstabs in sub-reports.