Quantcast
Channel: SQL Server Reporting Services, Power View 포럼
Viewing all articles
Browse latest Browse all 24955

Getting the sum of records from another query while inside of another tablix's group

$
0
0

This is my scenario

I've been given a query that lets me get all sorts of data. The main query have you. This query returns all sorts of data about our warehouses, customers, companies, etc. This data is grouped by Warehouse, so when we are done displaying info about one warehouse, we move to the next.

Here comes the problem: I have a query that I'm supposed to use to get the totals for pallets, on hold, available, etc for the warehouse. I can use a Lookup function and Sum to to grab that information and add it just fine, however, without the Sum, it just grabs the first record. Not what I want. I want warehouse info for all the customers that use it. So when I add sum, I'm summing all of the warehouse's records.

How can I just LOOKUP on just the individual warehouse?

thanks

dustin


Viewing all articles
Browse latest Browse all 24955

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>