web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Power BI API Query/page best practice question -

(0) ShareShare
ReportReport
Posted on by

For creating API pages/queries for Power BI pulling data from multiple sources, is it best to create a page for each table and pull them in, or is it better to combine them in one API query? Any guidance?

Kevin

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    91,771 Super User 2025 Season 2 on at
    RE: Power BI API Query/page best practice question -

    Hi, I also tend to API, it has better performance than general WebService, it will be very helpful when dealing with large amounts of data.

    Here is a great video about tips & tricks for Creating Custom APIs.

    https://www.youtube.com/watch?v=5iRv0y0rVzw

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Steven Renders Profile Picture
    5,656 Moderator on at
    RE: Power BI API Query/page best practice question -

    I'm a big fan of creating one api per fact/lookup table you require in Power BI.

    The advantage is that these apis are then your building blocks you can reuse in other reports, and in Power BI Dataflows.

    For the apis related to fact tables, you should also implement grouping/aggregating, to get the data at the level of granularity required in Power BI, not lower. 

    Then, also implement DataAccessIntent = ReadOnly, to get better performance.

    In the apis you create, you can add other data items ofcourse, and in a query api, you can easily implement joins (inner, left-outer,...).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,666

#2
Sumit Singh Profile Picture

Sumit Singh 2,885

#3
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 2,293

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans