Viewing 14 posts - 1 through 14 (of 14 total)
Hi Luis
Thanks for the suggestion. I may misunderstand you but I do have a parameter list - the parameter values are made by the user selecting a cell within...
October 12, 2015 at 12:26 pm
Hi
I've managed to get it working by allowing the report parameter to accept nulls and using COALESCE within the query code e.g.
WHERE SalesArea = @pmArea AND Days LIKE COALESCE(@pmDays,'%')
If there's...
October 12, 2015 at 9:59 am
Hi Wayne
That's beautiful, Thank you!
I've also learnt something as I had no idea the LAG function existed. I've replicated the concept into my actual scenario and am achieving...
October 2, 2015 at 3:44 am
Hi
That is a really fantastic solution, it works perfectly and I've learnt that changes to a cte are cascaded to the source table, I will have to read up more...
July 1, 2014 at 4:13 am
Hi
Firstly, if I understand your question correctly, no the order within a period doesn't matter as each record is already an aggregation of lower level transactions.
Secondly, I have arrived at...
June 29, 2014 at 5:38 am
The Transaction_Period_Index is the ordering column. it shows the period when any activity occured on an account.
June 27, 2014 at 9:15 am
thanks but that's not an option, the base tables just show payments, positive or negative, what I'm trying to do is create a statement style table. Which I've done...
June 27, 2014 at 9:00 am
Hi
It's a simplified example and i do have more detailed data i.e. the transactions and payments. Nevertheless I need the data in this format, as it is supposed to...
June 27, 2014 at 8:37 am
Sean you were correct about the nulls. I discovered a workaround which is detailed below for reference, a fuller explanation is available via the link, perhaps it will be...
April 4, 2014 at 5:15 am
Hi Sean
It's not a null, haven't found what it is yet but it's something like a line feed, I'll keep looking...
I'm not planning on storing these values permanently in one...
April 3, 2014 at 2:08 pm
Hi
Firstly thanks. Secondly, the example was a simplified version of what I'm trying to do just to get the concept across, the actual tables are a better design.
The suggestion...
April 3, 2014 at 12:56 pm
Thanks for you help on this.
I've moved the update table topic to
http://www.sqlservercentral.com/Forums/Topic1558119-3077-1.aspx
April 3, 2014 at 12:06 pm
Sorry me again
I've managed to build a comma separated string using a set based approach. but I'm struggling to perform an update to another table using the result.
Is it...
April 3, 2014 at 10:43 am
Hi
Yes a comma separated list of values from multiple rows is essentially what I'm trying to do and a set based approach would be great.
That said I'm still interested in...
April 3, 2014 at 9:42 am
Viewing 14 posts - 1 through 14 (of 14 total)