Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sum (minimum value) of formula with shared variable

Posted on 2010-11-11
4
Medium Priority
?
723 Views
Last Modified: 2012-05-10
I have a report that is fulling a price value from a subreport that needs to be used in calulation to determine the final price of an item. then based on the three possible sets of calculations chooses the lowest value. This was working great until I introduced the shared variable into the calculation process and now I get a non summable field issue even the the @total formula is returning a result.
Pricing-Mailer-11-11-10.rpt
0
Comment
Question by:John-Michael_Davis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 34117562
The problem is summary functions are run in an early pass through the report while the shared variables and subreports are evaluated in the last pass (Printing Record pass)  

You will have to do the smmary manually using a formula

mlmcc
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 1000 total points
ID: 34117587
Look at the formulas i wrote in this copy of your report.

mlmcc Pricing-Mailer-11-11-10rev.rpt
0
 
LVL 1

Author Comment

by:John-Michael_Davis
ID: 34118550
Thank you mlmcc, that worked perfectly
0
 
LVL 1

Author Closing Comment

by:John-Michael_Davis
ID: 34118559
Having the formulas added to the report made it very clear how the logic would fit in my situation.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question