Solved

getting latest date data in the crystal report cross tab

Posted on 2011-09-08
2
263 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
2 Comments
 
LVL 100

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now