Fig 1--This is what I am trying to create:
Dataset tables
USE [AdventureWorks2012]Production.Product
Production.ProductSubcategory , Production.ProductCategory, Production.ProductPhoto
Production.ProductDescription, Production.ProductModel
Production.ProductModelProductDescriptionCulture
Filter
Production.ProductModelProductDescriptionCulture.CultureID = 'en')
Production.ProductPhoto.LargePhotoFileName not like '%no_image%'
I use this query:
SELECT PS.Name AS Subcategory ,PM.Name AS Model ,PC.Name AS Category ,PD.Description ,PP.LargePhoto ,PP.LargePhotoFileName ,P.Name AS Product ,P.ProductNumber ,P.Color ,P.Size ,P.Weight ,P.StandardCost ,P.Style ,P.Class ,P.ListPrice FROM [Production].[Product] AS P INNER JOIN [Production].[ProductSubcategory] AS PS ON P.ProductSubcategoryID=PS.ProductSubcategoryID INNER JOIN [Production].[ProductCategory] AS PC ON PS.ProductCategoryID=PC.ProductCategoryID INNER JOIN [Production].[ProductProductPhoto] AS PPP ON P.ProductID=PPP.ProductID INNER JOIN [Production].[ProductPhoto] AS PP ON PPP.ProductPhotoID=PP.ProductPhotoID LEFT OUTER JOIN [Production].[ProductDescription] AS PD INNER JOIN [Production].[ProductModel] AS PM INNER JOIN [Production].[ProductModelProductDescriptionCulture] AS PMPDCL ON PM.ProductModelID=PMPDCL.ProductModelID ON PD.ProductDescriptionID=PMPDCL.ProductDescriptionID ON P.ProductModelID=PM.ProductModelID WHERE PMPDCL.CultureID = 'en' AND PP.LargePhotoFileName NOT LIKE '%no_image%'
This is what I have so far created.
How to add row groups like the Fig.1?