Solved

Reporting services Calculating whole numbers.

Posted on 2008-10-29
1
186 Views
Last Modified: 2008-10-30
Hello,  I usually try to do my report queries in T-SQL then use them in reporting services but I find myself unable to do that with an access database I am working with.

Here is what I am trying to figure out in Reporting servies 2005, for an expression.  Calculate cases and bottles sold.   Data is stored in Bottles.

I would do the following in T-SQL

QtySold (13) % BottlesPerCase (12) as Cases
QtySold (13) / BottlesPerCase (12) as Bottles
My two columns would be 1 case and 1 bottle.  PERFECT

In my Reporting services I have all of the same elements for the calculation but % is unknown to the expression editor.  I am sure that its probably a funtion but the descriptions are not helpful enought to make be use them.  
0
Comment
Question by:tjwent69
1 Comment
 
LVL 30

Accepted Solution

by:
nmcdermaid earned 50 total points
Comment Utility
does 'mod' work? Other languages often uses mod or modulus
 
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now