Click here to Skip to main content
11,476,994 members (72,322 online)
Rate this: bad
good
Please Sign up or sign in to vote.
I have a this this kind of report as below. In this case {ISSUES.HOURS_TO_BE_INVOICED} is grouped by {IS.NRO}. But in section 677, 678, 679 should first be value 1.00, cause I'm creating a chart out of those values. How should I modify this "@Formula".

if PreviousIsNull ({ISSUES.HOURS_TO_BE_INVOICED}) then cstr({ISSUES.HOURS_TO_BE_INVOICED}) else if {ISSUES.HOURS_TO_BE_INVOICED}=previous({ISSUES.HOURS_TO_BE_INVOICED}) then '0.00' else cstr({ISSUES.HOURS_TO_BE_INVOICED})

The field {ISSUES.HOURS_TO_BE_INVOICED} is creating duplicates so I cannot use it in Bar chart. Could someone give me a bit of advice.

{ISSUES.HOURS_TO_BE_INVOICED}
{IS.NRO}   ^      @formula
673        |      ^
   0     2.00    2.00
   0     2.00    0.00
   0     2.00    0.00
   90    2.00    0.00
   20    2.00    0.00
   30    2.00    0.00
 
674
   0     1.00    1.00
   30    1.00    0.00
   0     1.00    0.00
   0     1.00    0.00
 
677
   0     1.00    0.00  <-- Should be 1.00
   0     1.00    0.00
   0     1.00    0.00 
 
678
   0     1.00    0.00  <-- Should be 1.00
   0     1.00    0.00
   67    1.00    0.00
   0     1.00    0.00
 
679
   0     1.00    0.00  <-- Should be 1.00
   0     1.00    0.00
   0     1.00    0.00
   10    1.00    0.00
   0     1.00    0.00
 
680
   0     0.00    0.00
   0     0.00    0.00
   17    0.00    0.00
   0     0.00    0.00
 
681
   0     3.00    3.00
   0     3.00    0.00
   0     3.00    0.00
   18    3.00    0.00

Thank You!!!
Posted 10-Jul-13 0:32am
tuoli185

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 274
1 Richard Deeming 245
2 Andy Lanng 185
3 _duDE_ 175
4 Sascha Lefèvre 150
0 Sergey Alexandrovich Kryukov 7,675
1 OriginalGriff 7,246
2 Sascha Lefèvre 3,034
3 Maciej Los 2,491
4 Richard Deeming 2,305


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 10 Jul 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100