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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Show only first record in a view

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

i need to show only the first record in a custom view. The idea is when the record change the state (custom field),  for example from open to closed, the view should show the next one.

Is there any way to do this?

Thank for reading.

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Tomas.A,

    You can use top 1 in your fetchxml.

    Tip #738: Use top in fetchxml | Power Platform & Dynamics CRM Tip Of The Day

    Unfortunately, you can't specify it for the views just like that, but you might use FetchXML Builder, which is one tool of XrmToolbox

    Download XRM ToolBox. https://www.xrmtoolbox.com/

    Or you might probably just add your entity/view to a new solution, export it, update the query in the customizations.xml file, and import it back.

    Firstly, you need create a system view that is sorted by createdon aescending and then publish the entity, the query will return multiple records, and the earliest  recently created one will be at the top.

    pastedimage1637301200368v1.png

    pastedimage1637301248247v2.png

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 66 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans