Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

group and sort in group2

$
0
0
CREATE TABLE [dbo].[Table_1](
	[group] [int] NULL,
	[sort] [int] NULL,
	[Item] [nchar](10) NULL
) ON [PRIMARY]
GO
INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (1, 1, N'Car       ')
INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (2, 1, N'Bus       ')
INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (1, 0, N'Bike      ')
INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (2, 0, N'Lorry     ')
INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (1, 1, N'Train     ')
INSERT [dbo].[Table_1] ([group], [sort], [Item]) VALUES (1, 1, N'Ship      ')

Data

My Dataset Query in ssrs table

Group2 expression

Group on Group

Sort on Sort

Group 1 expression

Sort on Sort

First(Item.value ) is not working..  i need to fix in ssrs since this is an an sample data of sp with more columns

  my problem is once group2 is grouped, it is not taking the sort and just dispalying the First item in the sort of the item.


ShanmugaRaj



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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