cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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.

View solution in original post

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?

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.

View solution in original post

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 58 members 1,082 guests
Please welcome our newest community members: