Jump to content

Recommended Posts

Posted

Hello,

i have the following problem: I need to show a certain amount per branch and their percentage share related to the total amount:

Here is an example

BranchAmount%
A100062,50 %
B1006,25 %
C50031,25 %
Total1600100,00 %

I could have done this using a subselect within my query, but technically spoken, this is a very inadequat solution, since it uses lots of performance (we are talking about roughly 1 Mio records to be calculated in total).

I defined a variable TOTAL with reset type "Report" that contains the correct amount (1600), but as soon as i try to calculate the %-Column  using "Amount/TOTAL", i am getting weird solutions.

Any help would be appreciated.

thanks

/D

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...