Показать сообщение отдельно
Старый 23.12.2020, 01:12   #1  
Blog bot is offline
Blog bot
24,415 / 822 (76) +++++++
Регистрация: 28.10.2006
msdynamicsworld: Use parameters and custom functions to call APIs in Power BI
Источник: https://msdynamicsworld.com/story/us...-apis-power-bi

If you are familiar with general concepts around calling APIs using a programming language, you probably know how to handle the challenges of paging and adding dynamic inputs in the endpoints. While Power BI allows for connecting to data sources via API, it offers no direct solutions for these common needs. Instead, we can make use of the parameters and custom function feature to overcome the problem of paging and we can dynamically change the text (e.g. id) in the API’s endpoint.

I have already written a detailed blog post on how to get data into Power BI using an API which you can find here. In this article, I’m going to explain how you can dynamically call the API based on its location.

What are Parameters in Power BI?

In Power BI Desktop, you can add Query Parameters to a table/query and make elements of the table dependent on those parameters. You can have one parameter, or multiple parameters for any table. Let's take a look at how to create parameters in Power BI Desktop.

Steps to create parameters:


Источник: https://msdynamicsworld.com/story/us...-apis-power-bi
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.