Forum Discussion
Dynamic Parameters with SAP BW BEX
- 7 years ago
I was able to achieve this solution with help of some blogs.
Below is the example on how to pass the parameters in the SAP BW query.
First you need to define your parameter , in my case it was Fiscal Year
#"GetParameterValue" = "[" & (Fiscal_year) & "]",
Then you need to use the above parameter in the cubeApplyParameter query as shown below.
{Cube.ApplyParameter, "[0S_FYEAR]", {{"[0FISCYEAR]." & #"GetParameterValue", "[0FISCYEAR]." & #"GetParameterValue" }}},
Hi,
For me i have loaded only one year of data in Power Bi desktop. Created the parameters and used them to load 3 years of data in the Power Bi service , which is working fine for me since 8 months.
Initially i tried to load all the 3 years data from SAP BW in the Power BI desktop , but it was failing with some memory issues,
So using parameters to load more data from SAP BW will make sense.
So your single query can load 1 year of data into PowerBI, and after that you loaded total of 3 years of data into powerbi service using parameter using that single query? and its working fine every since?
- ncbshiva6 years agoAdvocate V
yes , everything is working fine without any issues.
Moreover i am using Power BI Premium for this.