SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Data repeating outside of group


Data repeating outside of group

Author
Message
dpatterson 9342
dpatterson 9342
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 27
Hi everyone

I've got a report which shows sales per product(rows) for multiple stores(columns).

I've ran the report for 3 products and all stores, and only one of the products has sales for all 8 stores, the other 2 products have sales for just 7/8 stores. But where the sales cells should be empty for those other 2 products and the 8th store, the sales values from the one product which sold at the 8th store are repeated for the other 2 products. It's like because the cell didn't get a new value for the new product, it's just repeating the last value it had.

When I execute the query in SSMS with the same parameters, the results shown are correct, with no repeating values and nulls where expected, so I'm assuming the issue is in the report.

I can't understand how the sales values can appear for another product when the rows are grouped by the product code

There are no expressions relating to the contents or display of the sales cells, they just contain the sales values straight from the query, and I've tried deleting the .rdl.data file with no effect.

Does anyone have any experience of this happening or suggestions of where to start to troubleshoot it?

Thanks for reading, hopefully it makes sense
dpatterson 9342
dpatterson 9342
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 27
Good news, it's working again

Bad news, no idea what was the cause of the problem. I took the query and put it in a brand new report, attached to a tablix and formatted it exactly as the original and the repeating data was gone.

If anyone comes up with any ideas I would still be interested in hearing why this might have happened


Thanks
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search