cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
coolfires23 Frequent Visitor
Frequent Visitor

Passing Measure value as parameter to HANA

Hi,

I want to give user an option9may be in slicer) to select the parameter value that should be passed to the SAP HANA parameter and accordingly fetch the data for the view. Is this possible somehow?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Passing Measure value as parameter to HANA

hi, @coolfires23 

Could you please tell me if you still have other problem? If not, could you please mark the helpful replies as Answered?

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
Community Support Team
Community Support Team

Re: Passing Measure value as parameter to HANA

hi, @coolfires23 

After my research, I'm afraid it couldn't achieve in Power BI for now.

Measure can be affected by filter/slicer/interaction, and it is based on current data model by DAX function.

Assuming that you use measure as a parameter to get data from HANA, then dataset in data model will be changed, the measure will be changed too, then dataset in data model will be changed again...... This will go on forever.

So it could be the parameter value.

For parameter value, you could use Parameters function in edit queries.

https://www.mssqltips.com/sqlservertip/4475/using-parameters-in-power-bi/

 

Best Regards,
Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
coolfires23 Frequent Visitor
Frequent Visitor

Re: Passing Measure value as parameter to HANA

The problem is i want to give end user(user accessing report through the power bi service) the option maybe in a slicer to select a value which should be pass to hana as the parameter value.Is that possible?

Highlighted
Community Support Team
Community Support Team

Re: Passing Measure value as parameter to HANA

hi, @coolfires23 

I think it is impossible for your requirement, as I said above, the option may be in a slicer to select a value is based on the data model, you use it as parameter for data source, it will lead to go on forever.

 

Best Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Community Support Team
Community Support Team

Re: Passing Measure value as parameter to HANA

hi, @coolfires23 

Could you please tell me if you still have other problem? If not, could you please mark the helpful replies as Answered?

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.