I have a dataset (list) and I grouped this data with SSRS. Now I also have a second dataset.
How can I show both datasets in the same grouped tablix.
I not sure I can use the Vlookup inside SSRS, because its a n to m connection.
Here is a similiar problem:
Here the data:
USE [test]
GO
/****** Object: Table [dbo].[Tabelle1] Script Date: 14.09.2021 21:03:59 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Tabelle1](
[Region] [nvarchar](50) NULL,
[City] [nvarchar](50) NULL,
[Sales] [int] NULL,
[Produced] [int] NULL
) ON [PRIMARY]
GO
/****** Object: Table [dbo].[Tabelle2] Script Date: 14.09.2021 21:03:59 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[Tabelle2](
[Region] [nvarchar](50) NULL,
[Requested] [int] NULL
) ON [PRIMARY]
GO
INSERT [dbo].[Tabelle1] ([Region], [City], [Sales], [Produced]) VALUES (N'West', N'Boston', 5000, 400)
GO
INSERT [dbo].[Tabelle1] ([Region], [City], [Sales], [Produced]) VALUES (N'West', N'Fransico', 100, 844)
GO
INSERT [dbo].[Tabelle1] ([Region], [City], [Sales], [Produced]) VALUES (N'Nord', N'New York', 1054, 5844)
GO
INSERT [dbo].[Tabelle1] ([Region], [City], [Sales], [Produced]) VALUES (N'Nord', N'Dallas', 15474, 11841)
GO
INSERT [dbo].[Tabelle1] ([Region], [City], [Sales], [Produced]) VALUES (N'Nord', N'Berlin', 1544, 44)
GO
INSERT [dbo].[Tabelle1] ([Region], [City], [Sales], [Produced]) VALUES (N'South', N'Austin', 154, 5481)
GO
INSERT [dbo].[Tabelle1] ([Region], [City], [Sales], [Produced]) VALUES (N'South', N'Birn', 1544, 4544)
GO
INSERT [dbo].[Tabelle2] ([Region], [Requested]) VALUES (N'West', 8411)
GO
INSERT [dbo].[Tabelle2] ([Region], [Requested]) VALUES (N'Nord', 1541)
GO
INSERT [dbo].[Tabelle2] ([Region], [Requested]) VALUES (N'South', 151)
GO
INSERT [dbo].[Tabelle2] ([Region], [Requested]) VALUES (N'Nord', 15444)
GO