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 Apps
Unanswered

undefined

(0) ShareShare
ReportReport
Posted on by 150

I am trying to use formula like:

ClearCollect(colSolution,Distinct(colsolution,Level))

But Only  level of colsution is being colllected. Other item are not collected.

Categories:
  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Moira0509 ,

     

    That is because you are using the Distinct function, which returns a single column table of unique values in the selected column, in this case Level.

     

    Please describe what you wish to achieve in order to find the solution for the issue.

  • Moira0509 Profile Picture
    150 on at

    I am using this for the collection

    ClearCollect(colShiftRollouts,
    Sort(Filter(colShiftRollouts,RollOutDate=Today()),RollOutDate,SortOrder.Ascending),
    Sort(Filter(colShiftRollouts,Month(RollOutDate)=Month(Today()),Year(RollOutDate)=Year(Today())),RollOutDate,SortOrder.Ascending),

    Sort(Filter(colShiftRollouts,RollOutDate< Date(Year(Today()),Month(Today()),1)),RollOutDate,SortOrder.Ascending)

    );

     

    but it is creating a double value of the collection.

    How to stop repetition of value

  • BCBuizer Profile Picture
    22,854 Super User 2026 Season 2 on at

    Hi @Moira0509 ,

     

    Can you please describe what you want to achieve. For instance: Only save the items in colShiftRollouts with a RollOutDate that is equal to or less than the current month.

     

    This translates to the below formula:

    ClearCollect(colShiftRollouts,
    Sort(Filter(colShiftRollouts,RollOutDate<= Date(Year(Today()),Month(Today()),1)),RollOutDate,SortOrder.Ascending)
    );

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard