Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.

HTML
{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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900