reporting services - Any suggestion as to how group the data in SSRS -


i have date shown below; p.no first name last name desc sdate activity c date 2 barack hotel lung 7/6/2015 cre 6/30/2015 2 barack hotel lung 7/6/2015 com 6/30/2015 2 barack hotel lung 7/6/2015 com 6/30/2015 2 barack hotel lung 7/6/2015 cre 6/30/2015 5 patrick dirt brain 7/27/2015 cre 7/21/2015 5 patrick dirt brain 7/27/2015 com 7/21/2015 5 patrick dirt brain 7/27/2015 com 7/21/2015 5 patrick dirt brain 7/27/2015 cre 7/21/2015 6 ann hathway lung 6/27/2016 cre 6/27/2015 6 ann hathway lung 6/27/2016 cre 6/27/2015 6 ann hathway lung 6/27/2016 can 6/29/2015 10 travis eye 8/27/2018 cre 6/29/2015 10 travis eye 8/27/2018 cre 6/29/2015 10 travis eye 8/27/2018 cre 7/1/2015 10 travis eye 8/27/2018 cre 6/29/2015

i want group them , should display 1 below; p.no first name last name desc sdate activity c date 2 barack hotel lung 7/6/2015 cre 6/30/2015 5 patrick dirt brain 7/27/2015 cre 7/21/2015 6 ann hathway lung 6/27/2016 cre 6/27/2015 10 travis eye 8/27/2018 cre 6/29/2015

appreciate on this, thanks,

is coming dataset in reporting service? or coming query?

if coming dataset, in tablix of report, can add row group p.no, , add filter on group, expression looks fields!activity.value = "cre". hide detail rows.

if coming query, below query should work:

select distinct p.[no],   [first name],  [last name],  [desc],    [sdate],   [activity],    [c date] p [activity] = 'cre' 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -