Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Report column problem.

$
0
0
Hello,I have a query that i would like to use in a report:SELECT dbo.Sales.Ean, dbo.Sales.ProductName, dbo.Sales.Pack, dbo.Sales.ControlNumber, SUM(dbo.Sales.OrderQuantity) AS SumQuantity, SUM(dbo.Sales.SellingValue) AS SumSellingValue, SUM(dbo.Sales.CostValue) AS SumCostValue, SUM(dbo.Sales.Difference) AS SumDifference, SUM(dbo.Sales.Commission) AS SumCommission, dbo.Sales.ClaimSupplier, dbo.Sales.SalesType, dbo.SummarySuppliers.SupplierNameFROM dbo.Sales INNER JOIN dbo.SummarySuppliers ON dbo.Sales.ClaimSupplier = dbo.SummarySuppliers.ClaimSupplierWHERE (dbo.Sales.ClaimSupplier = @ClaimSupplier) AND (dbo.Sales.SalesType = 3)GROUP BY dbo.Sales.Supplier, dbo.Sales.Ean, dbo.Sales.ProductName, dbo.Sales.Pack, dbo.Sales.ControlNumber, dbo.Sales.ClaimSupplier, dbo.Sales.SalesType, dbo.SummarySuppliers.SupplierNameORDER BY dbo.Sales.ProductNameI have used a table in my report. The report works fine, howver the Supplier Name appears multiple times the first column of my report. Is there a way i can make the report so that the Supplier only appears once the first column?Thanks

Viewing all articles
Browse latest Browse all 2791

Trending Articles