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

K.S.

Members
  • Posts

    7
  • Joined

  • Last visited

K.S.'s Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Hi, all! I have 2 Integer Fields: Val1 and Val2. And I want to calculate the division of two values. I create Variable_1 with a Expression new DecimalFormat("0.00").format($F{Val1} / $F{Val2}). For example Val1 =349 and Val2 = 335. According to the expression I get Variable_1 = 1.00 I need the expression to be Variable_1 = 1.04 What I'm doing wrong in this case?
  2. Thanks, it works!!! The correct path to the file was jasperreports-server-cp-6.2.1apache-tomcatwebappsjasperserverWEB-INFapplicationContext.xml
  3. I found applicationContext.xml and set "enableSaveToHostFS" to true. Jasperserver was restart, but parameter Output To Host File System is disable. What am I doing wrong?
  4. Hi All, I had set up the export of scheduled report, but it is saved on the JasperServer. I want to save the report to disk С or another server on a schedule. In Shedule Output Options i have only 3 Output Destination: Output To Repository, Output To Host File System (blocked) and Output To FTP Server. How to save the report to another server in network?
  5. I found a solution. I added a variable to a group and in TextField pointed out Group Changes [GroupName] and it worked.
  6. I found a solution to create Group Header and place there $FCode (i have result not A B C A C, and A B C), but I can not count how many times the value is repeated. I try to create Variable $V{Count_Code} with properties: Variable class = java.lang.Integer Calculation = Count ResetType = [Groupname] Group Increment type = None but the column CountCode value is null. Why?
  7. Hi, In JaspersoftStudio make a Jasperreport with 2 columns: Code (unique value field "code" for a certain period of time) and Total (how many times the value of the field "code" is repeated). I have a variable $V{CodeCount} with properties: Variable class = java.lang.Integer Calculation = Sum ResetType = Column Increment type = Column Initial Value Expression = 0 Variable expression = $F{Code} != null ? 1 : 0 My result: Code Total A 1 B 1 C 1 A 1 C 1 What I need: Code Total A 2 B 1 C 2 How can I do it in Jasper without using sql? Thank you so much.
×
×
  • Create New...