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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Item Location odata link

(0) ShareShare
ReportReport
Posted on by 15

I want to analyse Item availability by location e.g inventory, demand, free stock. I would like the flexibility to do this in Excel & Power BI is it possible to access this information through Odata ?

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    Yes, that is fully possible.

    docs.microsoft.com/.../odata-web-services

    If you connect your Power BI to Business Central it will show you a list of available API's you can chose from.

    And if there is data you need that are not covered by the default API's you can publish additional pages or quires  as webservice.

    docs.microsoft.com/.../across-how-use-financials-data-source-powerbi

  • Suggested answer
    YUN ZHU Profile Picture
    99,084 Super User 2026 Season 1 on at

    Hi, yes.

    For example, in Power BI

    pastedimage1661298373674v1.png

    You can access Odata in Websevice, and APIs.

    pastedimage1661298422988v2.png

    With Power BI, there is another interesting use.

    Set Business Central data to show in Excel Organization Data Types Gallery (Featured tables in Power BI)

    https://yzhums.com/25234/

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    JAngle Profile Picture
    152 on at

    100% possible based on what has been suggested thus far. Tempted to suggest you may need an additional query or api to handle your request in an optimum way. Qty. Reserved is not part of the existing api’s, which might be needed to get the true “free stock” number.

  • Andrew Lane Lindy Profile Picture
    15 on at

    Thanks, the info. I can't see an Odata feed that does this out of the box (even just getting the stock figure by location without looking at free stock) and I have tried creating a new Odata feed using page 491 Items by Location, 492 Item Availability by Location, 515 Lines & 9231 Items by Location Matrix. One of these just returns zeros and the others report errors. I have only been using Dynamics for 2 months so forgive me if this is a stupid question.

  • Andrew Lane Lindy Profile Picture
    15 on at

    Thanks, the info. I can't see an Odata feed that does this out of the box (even just getting the stock figure by location without looking at free stock) and I have tried creating a new Odata feed using page 491 Items by Location, 492 Item Availability by Location, 515 Lines & 9231 Items by Location Matrix. One of these just returns zeros and the others report errors. I have only been using Dynamics for 2 months so forgive me if this is a stupid question.

  • Suggested answer
    Steven Renders Profile Picture
    5,686 Moderator on at

    Those pages are doing calculations in AL code to show the inventory by location, using tep tables, and in odata they don't display any data indeed.

    Best is for example to use the Item page and the Item Ledger Entry page as odata or api data sources in Power BI. Then use the Quantity or Remaining Quantity fields of the Item Ledger entry table in combination with for example Location Code, to display in a Matrix visual or in Power BI measures.

    Even better is creating Query (API) objects, Item, Item Ledger Entry,... with exactly the columns you need. Queries support group by, so the resultset is smaller and so the data load is faster in PBI.

  • Suggested answer
    YUN ZHU Profile Picture
    99,084 Super User 2026 Season 1 on at

    Hi, You can try the Create Data Set feature in Web Service page, but keep in mind that not all existing pages support Odata well, please try to create an API page for best performance, if you are not familiar with the API page, please try to create a new page, and then publish to Web Service.

    pastedimage1661386586663v1.png

    Hope this helps.

    Thanks.

    ZHU

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,946 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans