Skip to main content
Solved

Calculating Total of Column in Header Section

  • September 13, 2021
  • 2 replies
  • 1031 views

Forum|alt.badge.img+2

I am fairly new to Report Designer and I have a requirement where they want the total of a column in the header section, this should print only on the first page and values consideredshould be where page index = page count, how can I fulfill this?

Best answer by Naveen Boga

Hi @TharidhiP if I understand correctly, you wanted to sum the grid column value and display it in the Header section.

If yes, I have created a sample example in Sales Order report. Please find the details below.

Ex: I’m displaying the sum of Grid Qty and showing in the Header section.

  • Create a variable, where you wanted to display this Sum of the Qty value (Header Section)
  • ValueExpr for the variable will be like Sum(Qty)
  • Create a new textbox field in the Header section.
  • Assign the variable to the newly created textbox.

Please find the screenshots for reference.

 

View original
Did this topic help you find an answer to your question?

2 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3417 replies
  • Answer
  • September 24, 2021

Hi @TharidhiP if I understand correctly, you wanted to sum the grid column value and display it in the Header section.

If yes, I have created a sample example in Sales Order report. Please find the details below.

Ex: I’m displaying the sum of Grid Qty and showing in the Header section.

  • Create a variable, where you wanted to display this Sum of the Qty value (Header Section)
  • ValueExpr for the variable will be like Sum(Qty)
  • Create a new textbox field in the Header section.
  • Assign the variable to the newly created textbox.

Please find the screenshots for reference.

 


Forum|alt.badge.img+2
  • Author
  • Pro I
  • 105 replies
  • September 24, 2021

@Naveen B  thanks, I will try this approach.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings