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

How do I just get the total count from API without fetching the items?

(0) ShareShare
ReportReport
Posted on by 15

I have a million records in ITEMs, and I use @count=true to get the total, but it includes the items data, is there a way to just get the count but not the actual content?

  • Suggested answer
    YUN ZHU Profile Picture
    82,673 Super User 2025 Season 1 on at
    RE: How do I just get the total count from API without fetching the items?

    Hi, just using endpoint + $count.

    For exmaple,

    api.businesscentral.dynamics.com/.../$count

    More details: https://yzhums.com/6117/#toc14

    pastedimage1662699655956v1.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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 374 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 247

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 231 Most Valuable Professional

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans