Solved

Reporting services Calculating whole numbers.

Posted on 2008-10-29
1
212 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
[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
1 Comment
 
LVL 30

Accepted Solution

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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