May 17, 2022 at 1:36 pm
Please provide DDL (table definitions) & sample data as insert scripts as described in How to post code problems.
May 17, 2022 at 7:25 pm
So please explain how the 1/1/2021 entry for sales of 100 gets knocked down to only 5 calls in the desired output.
To @ratbak's point about providing DDL, please see the article at the first link in my signature line below.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 17, 2022 at 7:57 pm
What reporting tool are you using? How's your data structured?
If you're querying against a data warehouse, I'd probably use Excel, because it provides a relatively simple UI. you can use PowerBI too... The only downside is that to do complex stuff, you have to learn DAX.
May 18, 2022 at 5:39 pm
This can all be done in T-SQL pretty easily... we just need so reasonable data and task description to work with.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply