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 off of 2 columns
Power Apps
Answered

distinct off of 2 columns

(0) ShareShare
ReportReport
Posted on by 1,168

Hi,

 

I am trying to do a CountRows off a Gallery (Sharepoint List)

 

What I would like to do is make the distinct subject to both Column A & Column B

 

Column B may also have no record so that too should also count as 1

 

Currently my formula is CountRows(Distinct(galAccounts.AllItems,ColumnA.Value)

 

Thanks in advance

 

Todd

Categories:
I have the same question (0)
  • Verified answer
    Tango Profile Picture
    1,168 on at

    Actually, a concatenation did the trick

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Tango ,

     

    I was just about to posting my suggestion. But since you have already got it to work, please consider edit your reply and add the formula that works and accept it as solution to help other users find it.

     

    Best regards,

  • Verified answer
    Tango Profile Picture
    1,168 on at

    CountRows(Distinct(Filter(gallery.AllItems, Current = true),Concatenate(ColA.Value,ColB.Value)))

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard