I have a group with 3 distinct field values. I'm only interested in
seeing the specific details for one of them and lump the rest into the
"Others" category and viewing the same details but for that category as
a whole.
This is done in Crystal Reports in the Change Group Options dialog. Is
there something comparable to that in SSRS?
Thank you in advance for any assistance.I believe you can do such grouping with Reporting Services, but it may
be better to modify your data source so that you have an additional
field returned, one where the value is either the field value that you
are interested in or the word 'Other' for all other values.
In SQL Server you can do this by including a CASE statement for that
field within the overall SELECT statement.
This may run faster on the server side, as well, and it simplifies
report design.
I try to do as much as possible on the server side, so that report
design and layout are as simple as possible.
tantilis wrote:
> I have a group with 3 distinct field values. I'm only interested in
> seeing the specific details for one of them and lump the rest into the
> "Others" category and viewing the same details but for that category as
> a whole.
> This is done in Crystal Reports in the Change Group Options dialog. Is
> there something comparable to that in SSRS?
> Thank you in advance for any assistance.|||Thank you for your reply and your solution is practical however I don't
have that kind of access to the server. It's a constraint of this
project that I must replicate the Crystal report without manipulating
any stored procedures.
Parker wrote:
> I believe you can do such grouping with Reporting Services, but it may
> be better to modify your data source so that you have an additional
> field returned, one where the value is either the field value that you
> are interested in or the word 'Other' for all other values.
> In SQL Server you can do this by including a CASE statement for that
> field within the overall SELECT statement.
> This may run faster on the server side, as well, and it simplifies
> report design.
> I try to do as much as possible on the server side, so that report
> design and layout are as simple as possible.
> tantilis wrote:
> > I have a group with 3 distinct field values. I'm only interested in
> > seeing the specific details for one of them and lump the rest into the
> > "Others" category and viewing the same details but for that category as
> > a whole.
> >
> > This is done in Crystal Reports in the Change Group Options dialog. Is
> > there something comparable to that in SSRS?
> >
> > Thank you in advance for any assistance.|||i remember a report where i had to break up a group each time the last
two digits of a certain field hit either 49 or 99. the way i wound up
doing it was to add a second expression, in addition to the primary
condition, to the group expression. you might play around with this
possibility?|||I think I may have worked it out doing just that. I've changed my
primary grouping expression to look like this:
=iif(Fields!Some_Value.Value ="SomeString",Fields!Some_Value.Value,nothing)
It seems a bit counter-intuitive but in a dozen tests so far I'm seeing
values I'm expecting to see in the "Others" category.
What the report would do under this condition is first, present the
group of everything for which SomeString was true using SomeString in
the group header. The report would then present the rest of the data
in a single group while displaying only the first value of Some_Value
in alphabetic order. Just used an expression at that point to replace
every Some_Value.Value to "Others" where it wasn't SomeString.
kjward wrote:
> i remember a report where i had to break up a group each time the last
> two digits of a certain field hit either 49 or 99. the way i wound up
> doing it was to add a second expression, in addition to the primary
> condition, to the group expression. you might play around with this
> possibility?
Showing posts with label details. Show all posts
Showing posts with label details. Show all posts
Friday, March 9, 2012
Dividing lines between questions in report
Hello
I'm using SQL Server Reporting Services 2000. I have a report with the
following details:-
Subtopic Question Answer Total %age Details %age
The query behind the report groups results on subtopic and question.
What I would like to do is put in a dividing line every time the question
changes. This will not be every line, however, since there can be up to 4
answers for each question. I am hiding duplicate questions, so the
question text only shows on the first line, although there may be 4 lines
for each question altogether.
When I try to add a separating line it adds one after every line, so for
each question there will be up to 4 lines. I only want a line to appear
when the question changes.
Can anyone help with this? It's driving me bonkers!
Many thanks
Denise CrawleyIf you include a group footer, you can create the line there.
"Denise" wrote:
> Hello
> I'm using SQL Server Reporting Services 2000. I have a report with the
> following details:-
> Subtopic Question Answer Total %age Details %age
> The query behind the report groups results on subtopic and question.
> What I would like to do is put in a dividing line every time the question
> changes. This will not be every line, however, since there can be up to 4
> answers for each question. I am hiding duplicate questions, so the
> question text only shows on the first line, although there may be 4 lines
> for each question altogether.
> When I try to add a separating line it adds one after every line, so for
> each question there will be up to 4 lines. I only want a line to appear
> when the question changes.
> Can anyone help with this? It's driving me bonkers!
> Many thanks
> Denise Crawley
>|||Thanks very much, that's exactly what I was looking for.
On Wed, 8 Feb 2006 13:07:29 -0800, daw wrote:
> If you include a group footer, you can create the line there.
> "Denise" wrote:
>> Hello
>> I'm using SQL Server Reporting Services 2000. I have a report with the
>> following details:-
>> Subtopic Question Answer Total %age Details %age
>> The query behind the report groups results on subtopic and question.
>> What I would like to do is put in a dividing line every time the question
>> changes. This will not be every line, however, since there can be up to 4
>> answers for each question. I am hiding duplicate questions, so the
>> question text only shows on the first line, although there may be 4 lines
>> for each question altogether.
>> When I try to add a separating line it adds one after every line, so for
>> each question there will be up to 4 lines. I only want a line to appear
>> when the question changes.
>> Can anyone help with this? It's driving me bonkers!
>> Many thanks
>> Denise Crawley
I'm using SQL Server Reporting Services 2000. I have a report with the
following details:-
Subtopic Question Answer Total %age Details %age
The query behind the report groups results on subtopic and question.
What I would like to do is put in a dividing line every time the question
changes. This will not be every line, however, since there can be up to 4
answers for each question. I am hiding duplicate questions, so the
question text only shows on the first line, although there may be 4 lines
for each question altogether.
When I try to add a separating line it adds one after every line, so for
each question there will be up to 4 lines. I only want a line to appear
when the question changes.
Can anyone help with this? It's driving me bonkers!
Many thanks
Denise CrawleyIf you include a group footer, you can create the line there.
"Denise" wrote:
> Hello
> I'm using SQL Server Reporting Services 2000. I have a report with the
> following details:-
> Subtopic Question Answer Total %age Details %age
> The query behind the report groups results on subtopic and question.
> What I would like to do is put in a dividing line every time the question
> changes. This will not be every line, however, since there can be up to 4
> answers for each question. I am hiding duplicate questions, so the
> question text only shows on the first line, although there may be 4 lines
> for each question altogether.
> When I try to add a separating line it adds one after every line, so for
> each question there will be up to 4 lines. I only want a line to appear
> when the question changes.
> Can anyone help with this? It's driving me bonkers!
> Many thanks
> Denise Crawley
>|||Thanks very much, that's exactly what I was looking for.
On Wed, 8 Feb 2006 13:07:29 -0800, daw wrote:
> If you include a group footer, you can create the line there.
> "Denise" wrote:
>> Hello
>> I'm using SQL Server Reporting Services 2000. I have a report with the
>> following details:-
>> Subtopic Question Answer Total %age Details %age
>> The query behind the report groups results on subtopic and question.
>> What I would like to do is put in a dividing line every time the question
>> changes. This will not be every line, however, since there can be up to 4
>> answers for each question. I am hiding duplicate questions, so the
>> question text only shows on the first line, although there may be 4 lines
>> for each question altogether.
>> When I try to add a separating line it adds one after every line, so for
>> each question there will be up to 4 lines. I only want a line to appear
>> when the question changes.
>> Can anyone help with this? It's driving me bonkers!
>> Many thanks
>> Denise Crawley
Friday, February 24, 2012
Distribution agent action messages in session details
We are using SQL 2K std with SP4 and push subscription. We have situation
between our publishing SQL server and subcribing SQL server.
Here is what I see when I double click an action message (listed as Timeout
Expired) in the listing of Distribution Agent history.
3:24 pm Initializing
3:29 pm The process is running and is waiting for a response from one of
the backend connections.
3:29 pm Timeout expired
The sequence of action took exactly five minutes. And the timeout happened
again at 3:30 pm and last until 3:35 pm. Then at 3:36, it started working
and delivered the transactions.
Can someone tell me what the 'backend connection' the distribution agent is
waiting for?
Also, during this problem period, both publishing and subscribing SQL
servers all of a sudden became activity dead meaning there is no IO and no
SQL internal activity (my perf monitor showed almost a blank screen except
cpu time), the publishing SQL server's cpu time is very minimal but the
subscribing SQL server's cpu is 60% peak and no IO. I checked the proces of
the CPU in Em and it was for replication but it had long wait time. It
looked all a sudden nobody can connect to the SQL servers. In fact, we
confirmed that users can't connect to the web application that use SQL
servers. I don't see any networking error shown in the event log in both
servers. I am assuming there is a 'disconnect' or something is 'hanging', I
like to know if the 'disconnect or hanging' caused the distribution agent to
time out or the distrbitution timeout problem caused the SQL server system to
become 'disconnect or hang'?
wingman
The replication subsystem issues commands and waits for responses. If it
doesn't get a response in a predetermined amount of time it gives the
waiting for a response from one of backend connections.
I can't explain why no-one could connect - perhaps the database or tlog was
auto-growing at that time.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Wingman" <Wingman@.discussions.microsoft.com> wrote in message
news:76F91F8B-925F-4152-9C2D-ACB9EA89FCD5@.microsoft.com...
> We are using SQL 2K std with SP4 and push subscription. We have situation
> between our publishing SQL server and subcribing SQL server.
> Here is what I see when I double click an action message (listed as
> Timeout
> Expired) in the listing of Distribution Agent history.
> 3:24 pm Initializing
> 3:29 pm The process is running and is waiting for a response from one of
> the backend connections.
> 3:29 pm Timeout expired
> The sequence of action took exactly five minutes. And the timeout
> happened
> again at 3:30 pm and last until 3:35 pm. Then at 3:36, it started working
> and delivered the transactions.
> Can someone tell me what the 'backend connection' the distribution agent
> is
> waiting for?
> Also, during this problem period, both publishing and subscribing SQL
> servers all of a sudden became activity dead meaning there is no IO and no
> SQL internal activity (my perf monitor showed almost a blank screen except
> cpu time), the publishing SQL server's cpu time is very minimal but the
> subscribing SQL server's cpu is 60% peak and no IO. I checked the proces
> of
> the CPU in Em and it was for replication but it had long wait time. It
> looked all a sudden nobody can connect to the SQL servers. In fact, we
> confirmed that users can't connect to the web application that use SQL
> servers. I don't see any networking error shown in the event log in both
> servers. I am assuming there is a 'disconnect' or something is 'hanging',
> I
> like to know if the 'disconnect or hanging' caused the distribution agent
> to
> time out or the distrbitution timeout problem caused the SQL server system
> to
> become 'disconnect or hang'?
> wingman
>
>
|||Is it a good idea to increase the query timeout from 300 seconds (default) to
maybe 600 seconds in Distribution Agent profile to accomendate any potential
long running process?
Wingman
"Hilary Cotter" wrote:
> The replication subsystem issues commands and waits for responses. If it
> doesn't get a response in a predetermined amount of time it gives the
> waiting for a response from one of backend connections.
> I can't explain why no-one could connect - perhaps the database or tlog was
> auto-growing at that time.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Wingman" <Wingman@.discussions.microsoft.com> wrote in message
> news:76F91F8B-925F-4152-9C2D-ACB9EA89FCD5@.microsoft.com...
>
>
|||QueryTimeout is more often used in merge replication than in transactional
replication. I normally set the inactivity level to something higher, but
this could mask other problems.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Wingman" <Wingman@.discussions.microsoft.com> wrote in message
news:649BE7BF-C83E-44DC-8B8A-BD5A498510CB@.microsoft.com...[vbcol=seagreen]
> Is it a good idea to increase the query timeout from 300 seconds (default)
> to
> maybe 600 seconds in Distribution Agent profile to accomendate any
> potential
> long running process?
> Wingman
>
> "Hilary Cotter" wrote:
between our publishing SQL server and subcribing SQL server.
Here is what I see when I double click an action message (listed as Timeout
Expired) in the listing of Distribution Agent history.
3:24 pm Initializing
3:29 pm The process is running and is waiting for a response from one of
the backend connections.
3:29 pm Timeout expired
The sequence of action took exactly five minutes. And the timeout happened
again at 3:30 pm and last until 3:35 pm. Then at 3:36, it started working
and delivered the transactions.
Can someone tell me what the 'backend connection' the distribution agent is
waiting for?
Also, during this problem period, both publishing and subscribing SQL
servers all of a sudden became activity dead meaning there is no IO and no
SQL internal activity (my perf monitor showed almost a blank screen except
cpu time), the publishing SQL server's cpu time is very minimal but the
subscribing SQL server's cpu is 60% peak and no IO. I checked the proces of
the CPU in Em and it was for replication but it had long wait time. It
looked all a sudden nobody can connect to the SQL servers. In fact, we
confirmed that users can't connect to the web application that use SQL
servers. I don't see any networking error shown in the event log in both
servers. I am assuming there is a 'disconnect' or something is 'hanging', I
like to know if the 'disconnect or hanging' caused the distribution agent to
time out or the distrbitution timeout problem caused the SQL server system to
become 'disconnect or hang'?
wingman
The replication subsystem issues commands and waits for responses. If it
doesn't get a response in a predetermined amount of time it gives the
waiting for a response from one of backend connections.
I can't explain why no-one could connect - perhaps the database or tlog was
auto-growing at that time.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Wingman" <Wingman@.discussions.microsoft.com> wrote in message
news:76F91F8B-925F-4152-9C2D-ACB9EA89FCD5@.microsoft.com...
> We are using SQL 2K std with SP4 and push subscription. We have situation
> between our publishing SQL server and subcribing SQL server.
> Here is what I see when I double click an action message (listed as
> Timeout
> Expired) in the listing of Distribution Agent history.
> 3:24 pm Initializing
> 3:29 pm The process is running and is waiting for a response from one of
> the backend connections.
> 3:29 pm Timeout expired
> The sequence of action took exactly five minutes. And the timeout
> happened
> again at 3:30 pm and last until 3:35 pm. Then at 3:36, it started working
> and delivered the transactions.
> Can someone tell me what the 'backend connection' the distribution agent
> is
> waiting for?
> Also, during this problem period, both publishing and subscribing SQL
> servers all of a sudden became activity dead meaning there is no IO and no
> SQL internal activity (my perf monitor showed almost a blank screen except
> cpu time), the publishing SQL server's cpu time is very minimal but the
> subscribing SQL server's cpu is 60% peak and no IO. I checked the proces
> of
> the CPU in Em and it was for replication but it had long wait time. It
> looked all a sudden nobody can connect to the SQL servers. In fact, we
> confirmed that users can't connect to the web application that use SQL
> servers. I don't see any networking error shown in the event log in both
> servers. I am assuming there is a 'disconnect' or something is 'hanging',
> I
> like to know if the 'disconnect or hanging' caused the distribution agent
> to
> time out or the distrbitution timeout problem caused the SQL server system
> to
> become 'disconnect or hang'?
> wingman
>
>
|||Is it a good idea to increase the query timeout from 300 seconds (default) to
maybe 600 seconds in Distribution Agent profile to accomendate any potential
long running process?
Wingman
"Hilary Cotter" wrote:
> The replication subsystem issues commands and waits for responses. If it
> doesn't get a response in a predetermined amount of time it gives the
> waiting for a response from one of backend connections.
> I can't explain why no-one could connect - perhaps the database or tlog was
> auto-growing at that time.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "Wingman" <Wingman@.discussions.microsoft.com> wrote in message
> news:76F91F8B-925F-4152-9C2D-ACB9EA89FCD5@.microsoft.com...
>
>
|||QueryTimeout is more often used in merge replication than in transactional
replication. I normally set the inactivity level to something higher, but
this could mask other problems.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Wingman" <Wingman@.discussions.microsoft.com> wrote in message
news:649BE7BF-C83E-44DC-8B8A-BD5A498510CB@.microsoft.com...[vbcol=seagreen]
> Is it a good idea to increase the query timeout from 300 seconds (default)
> to
> maybe 600 seconds in Distribution Agent profile to accomendate any
> potential
> long running process?
> Wingman
>
> "Hilary Cotter" wrote:
Labels:
action,
agent,
database,
details,
distribution,
messages,
microsoft,
mysql,
oracle,
publishing,
push,
server,
session,
situationbetween,
sp4,
sql,
std,
subcribing,
subscription
Subscribe to:
Posts (Atom)