Click here to Skip to main content
11,640,445 members (65,591 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 9-Jul-13 23:32pm
tuoli185

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

  Print Answers RSS
0 Mika Wendelius 240
1 CPallini 209
2 OriginalGriff 165
3 Sergey Alexandrovich Kryukov 139
4 F-ES Sitecore 120
0 Mika Wendelius 200
1 OriginalGriff 145
2 CPallini 115
3 jgakenhe 40
4 sasanka sekhar panda 30


Advertise | Privacy | Mobile
Web02 | 2.8.150731.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