Answer the question
In order to leave comments, you need to log in
How to fill empty rows with non-existent values?
There is a table that contains several hundred thousand records of quantity changes (the fact of the change = the date of the entry in the table). The third field is the change to the date
. How can I fill in the data for all the numbers, using the data from the date for which they are? To get it like this:
SQL2014/2016 is used
UPD: I thought that such a thing can be implemented within the framework of OLAP analytics, where the cube itself will complete the virtual dates. But how to transfer at least the existing data there and force the cube to build aggregates?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question