Forum Discussion
Pass a particular value from a dashboard via Rest API
Current Power BI report has a data in tabular format. Customer ID is displaying some value as a hyperlink. How to pass a particular value (for example: customer ID, name) in a dashboard which will send a Rest API call.
- Anonymous4 years ago
Hi Kiran1234,
I don't think you can directly achieve the rest API calls from the dashboard side.
You can use DAX expression to concatenate URL string with dynamic parameters, but they are not able to edit on the authorization and other detailed parts of confiagitiaons of these requests. (e.g. header, body, tokens...)For this scenario, you can try to package/deploy these operations as API/'web service' for configurations/authorization steps. Then you can invoke your API/service with correspond parameters and use them to achieve configurations/authorization of power bi rest API and return the response.
Regards,Xiaoxin Sheng
1 Reply
- AnonymousNot applicable
Hi Kiran1234,
I don't think you can directly achieve the rest API calls from the dashboard side.
You can use DAX expression to concatenate URL string with dynamic parameters, but they are not able to edit on the authorization and other detailed parts of confiagitiaons of these requests. (e.g. header, body, tokens...)For this scenario, you can try to package/deploy these operations as API/'web service' for configurations/authorization steps. Then you can invoke your API/service with correspond parameters and use them to achieve configurations/authorization of power bi rest API and return the response.
Regards,Xiaoxin Sheng