Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Show first transaction in group footer

Posted on 2013-05-10
2
Medium Priority
?
484 Views
Last Modified: 2013-05-10
I am grouping by 'roomnumbers' (Number) and have Entry/Exit data defined by a device type. I'm trying to show in a formula placed in the group footer what the first device type used was but my result is not as expected - See image below. I have a @ movement formula which shows the number 2 for a exit and the number 1 for an entry and when I use a formula : @test (minimum {movement,roomnumber} I am expecting a number 2 (as it is an exit in the data) but instead I get a 1, when I use a second formula @test2 (minimum{time,roomnumber} I do get the expected first transaction. (time)

Is there way to show the first movement type (number) in the footer ?

Snapshot
0
Comment
Question by:John-S Pretorius
[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

Accepted Solution

by:
mlmcc earned 1600 total points
ID: 39157571
Minimum and maximum are for the values so if the values are 1 and 2 the minimum will generally be 1 and the maximum 2.

Try this

In the group header add a formula
WhilePrintingRecords;
Global NumberVar FirstValue;
FirstValue := If Exit then 2  else 1;
""

In the group footer you can show the value with

WhilePrintingRecords;
Global NumberVar FirstValue;
FirstValue

The last value will be the value of your formula

mlmcc
0
 

Author Closing Comment

by:John-S Pretorius
ID: 39157584
Thank you, I really tried my best for days but just could not come up with anything - so much to learn.
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. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

610 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