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 / Distinct according to ...
Power Apps
Answered

Distinct according to another value

(0) ShareShare
ReportReport
Posted on by 224

First thank you for any help you can provide!

I have multiple identical 'Group Time' but I would like to make 'Group Number' the distinct value and return multiple 'Group Time' for when different 'Group Number' exist. 

 

Here's an example:

Group Number      Group Time

1                             1:00

2                             1:00

2                             1:00

3                             1:00

 

Desired Result:

1:00

1:00

1:00

 

Here is what I have for a formula:

Distinct(Sort(Filter('Repository', 'Group Date' = '1Meeting Date'.Selected.Value),'Group Date'),'Group Time')

Categories:
I have the same question (0)
  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @kgiles123 

     

    What if the data is this:

    Group Number      Group Time

    1                             1:00

    2                             1:00

    2                             2:00

    3                             1:00

     

    What would be the desired result?

     

  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @kgiles123 

     

    The solution formula would be like this:

    Ungroup(
     ShowColumns(
     AddColumns(
     GroupBy(Filter('Repository', 'Group Date' = '1Meeting Date'.Selected.Value),"Group Number","GroupNum"),
     "Group Time",Distinct(GroupNum,TimeValue('Group Time'))
     ),"Group Time"
     ),"Group Time"
     )
  • Verified answer
    kgiles123 Profile Picture
    224 on at

    In that case I would like to see all group times. Thank you!

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard