Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    YUN ZHU Profile Picture
    85,571 Super User 2025 Season 1 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,512 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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans