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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dataverse View/XRM Too...
Power Apps
Unanswered

Dataverse View/XRM Toolbox

(1) ShareShare
ReportReport
Posted on by 678

I have a Power App that uses DV as the data source. I have a parent child relationship with the parent as the Task and then the children being all the Task Status Updates. One row per update. I want to capture the last status update per “task”. I can do this in Collections by grouping by the “Task” and recording on the first entry after sorting the group by. Certainly can do that.

But my question is can I/should I try and accomplish the same equivalent outcome but by doing this as a DV view or within XrmToolbox. Why would I do that? Well, I’m thinking it might be more efficient that way and certainly more flexible to used elsewhere in the PP.

So can you group by “a var” sorting by modified on (in descending order) and grab only the 1st row. Thoughts?

I have the same question (0)
  • ivan_apps Profile Picture
    2,189 Moderator on at
    If I understand correctly you want to get the Top 1 associated Status from your list of Tasks, ordered by modified on. You may want to consider using ‘created on’ instead. 
     
    What I would probably do is create a “Latest Status” lookup or Text field on the Task table to record the latest entry. Then create a flow that triggers on Status creation (or modification, or both), and send either the Status text to the “Latest Status” text field or a reference to the entire record by referencing the Parent Task. 
     
    This will let you use Dataverse views to see the latest status and use them elsewhere on your app. Out of the box features won’t be able to do it, as there is no Top 1, Sorted By filtering available for roll up columns. 
     

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,033

#2
Valantis Profile Picture

Valantis 632

#3
11manish Profile Picture

11manish 607

Last 30 days Overall leaderboard