# Data Messaging: GroupBy

**URL:** <https://community.automationedge.com/t/data-messaging-groupby/2984>\
**Category:** Get Help & Discuss\
**Tags:** rpa\
**Created:** [April 3, 2021, 9:08am UTC](https://community.automationedge.com/t/data-messaging-groupby/2984 "2021-04-03T09:08:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![digwijay1996](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@digwijay1996](https://community.automationedge.com/u/digwijay1996)\
**Post date:** [April 3, 2021, 9:08am UTC](https://community.automationedge.com/t/data-messaging-groupby/2984/1 "2021-04-03T09:08:50Z")

</div>

I have one scenario in that we calculate minimal profit product using group by and after getting minimal profit we need to display that minimal profit product all details but after group by we don’t get all fields only two fields we get then how we can get that all fields for that particular product

---

<div class="post-metadata">

**Author:** ![hemanshu.rukadikar](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/hemanshu.rukadikar/32/606_2.png) [@hemanshu.rukadikar](https://community.automationedge.com/u/hemanshu.rukadikar)\
**Post date:** [April 5, 2021, 8:19am UTC](https://community.automationedge.com/t/data-messaging-groupby/2984/2 "2021-04-05T08:19:24Z")

</div>

Hi @digwijay1996,  
Can you tell me which version of Process Studio are you using? I can send you a sample workflow.

---

<div class="post-metadata">

**Author:** ![digwijay1996](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@digwijay1996](https://community.automationedge.com/u/digwijay1996)\
**Post date:** [April 5, 2021, 8:54am UTC](https://community.automationedge.com/t/data-messaging-groupby/2984/3 "2021-04-05T08:54:26Z")

</div>

i use 6.1 version of PS

---

<div class="post-metadata">

**Author:** ![hemanshu.rukadikar](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/hemanshu.rukadikar/32/606_2.png) [@hemanshu.rukadikar](https://community.automationedge.com/u/hemanshu.rukadikar)\
**Post date:** [April 5, 2021, 9:17am UTC](https://community.automationedge.com/t/data-messaging-groupby/2984/4 "2021-04-05T09:17:40Z")

</div>

Great,  
Check this reply: [Group By: Maximum - #6 by hemanshu.rukadikar](https://community.automationedge.com/t/group-by-maximum/2997/6)

This should help your case too. Give it a try and let me know if this works
