july 2024.

SAP Datasphere: Dynamic previous year in an Analytic Model

It's just before the summer break, and I want to share an idea on how to get a dynamic prior year in an analytical model.

 

There are several questions in the SAP community how to get such a result as it was used in SAP BW. Like this one https://community.sap.com/t5/finance-q-a/offsetting-input-parameters-in-datasphere-s-analytic-models-restricted/qaq-p/13723947

 

In this post, I want to share an idea on how to get such an offset in SAP Datasphere. Let's go to our fact view and add some logic that we will use later in our analytic model.

 

First we will add an input parameter to the bicycle data model, later I will describe another way if you don't want to use an input parameter. 

 

The input parameter in this case is called IP_YEAR, has no input help, and has a string data type with a length of 4.

Read More 2 Comments