Solved

getting latest date data in the crystal report cross tab

Posted on 2011-09-08
2
270 Views
Last Modified: 2012-05-12
Hello Guys,
I have an issue with the cross tab.
My Data in the DB looks like

       Test                           result                     collection_date
        test1                             3.5                         01-03-2011
        test1                            1.1                           01-14-2011
        test2                              8.0                         05-08-2011
        test2                              11.9                        05-13-2011
I am building the cross tab As
 Rows=test
 Column=Collection_date
data in the crosstab=Result
so my question is- i only need the last value for each month to be printed in the report which is cross tab, How can i make this?
0
Comment
Question by:RaoVP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 36504135
I think you will have to select the data you want through SQL.

I can't think of  a way to get it through the cross tab.

mlmcc
0
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 36504179
This sort of requirement can't be done in CR formulas.
You have to sort out the data either in the database or by using a SQL command, so that only the relevant records are selected.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question