There is a software (called StackVision) that uses "SQL Server Reporting Services" for creating some reports. More information about the software is here.
I am trying to make a new "View" out of a couple of "Stored Procedures" in the database. I do not want to mess with the stored procedure coding though. I just want to run a code to build a new "View" out of the results of "Stored Procedures." The following code can run one of the desired stored procedures.
EXECUTE [dbo].[ss_Total]
@StartDate ='07/1/2020'
, @EndDate='09/30/2020 23:59'
, @ParameterA='AA'
, @ParameterB='BB'
,@INterval = '001H'
Does anyone know who I can execute the following "Stored Procedure" only on last quarter. Instead of putting a certain date (such as '07/1/2020' and '09/30/2020 23:59'), I would like to have a coding that tells the stored procedure to be conducted from the beginning of last quarter to the end of last quarter. Assume that the date is 10/2/2020.
BTW, the software also run the stored procedures to create some reports.
The reason that I am doing this: I built a Power BI report by connecting the Power BI report to the Stackvision server. The Power BI report, calls/runs the stored procedures and then append/merge tables to create a report. Unfortunately, the Power BI server fails to refresh the data. So, I am thinking to create one "view" in the database and only pull that view into Power BI. Then the Power BI server will not time out and will not fail anymore.