Jump to content
We've recently updated our Privacy Statement, available here ×

sonya14ab

Members
  • Posts

    2
  • Joined

  • Last visited

sonya14ab's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Thxs for the answer but I tried this expression : IF(EQUALS($V{correpondance}, "conforme"),1,0) and i had this error: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression
  2. Hello. I'm using ireport 4.1.1. I created a variable $V{correpondance}, the value of this variable is a the string "conforme" or the string "non conforme" according to a condition. Now the problem is that i want to create a chart with two slices that shows the total number of fields "conforme" and the fields "non conforme". I tried to create a groupe (count) and a variable $V{X} with these properties: class: java.lang.integer, calculation:count, resettype: repot, incrementtype: group, incrementgroup: count, variable expression: $V{count_COUNT}++ and set the chart key expression to $V{correpondance} and the value expression to $V{X} but the chart is not showing the right values. could anyone help me to solve this problem?
×
×
  • Create New...