reporting services - SSRS count duplicate values only -
dears ,
my issue need count duplicated values using count expression in ssrs .
all solutions on internet count distinct values. thanks
1. sql query
declare @tb table ([number] int null, [fruit] [varchar](50) null) insert @tb ([number], [fruit]) values (3, n'apple') insert @tb ([number], [fruit]) values (4, n'apple') insert @tb ([number], [fruit]) values (6, n'banana') insert @tb ([number], [fruit]) values (5, n'orange') insert @tb ([number], [fruit]) values (7, n'orange') insert @tb ([number], [fruit]) values (8, n'apple') insert @tb ([number], [fruit]) values (9, n'banana') select fruit,count(number) count @tb group fruit
-------------------edited-------------------
Comments
Post a Comment