cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gelos
Super User
Super User

PowerApps

Hi guys,

 

Please help me.

 

How to compare two collection column value. and return the result If the particular column value both is same is zero otherwise any number.

thanks.

 @Mike8 

@WarrenBelz 

@RandyHayes 

@Pstork1

 @v-xiaochen-msft

 @timl 

@BCLS776 

@Nogueira1306 

@SteveUoR

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @Gelos,

Have you solved your problem?

Do you want to compare the values from 2 two columns belonging to different collections?

Could you please tell me more details about your need, what do you want to achieve?

 

Based on your description, you want to compare 2 columns from different collections, I assume that both of them are Text type.

Add a Label and set the Text property as below:

If(CountRows(Filter(Product,Title in Tracking.Title))=CountRows(Product.Title),0,CountRows(Product.Title))

Note that I have two columns Title in Product and Tracking. 

 

Check if this could solve your problem.

Best Regards,
Qi

View solution in original post

1 REPLY 1
v-qiaqi-msft
Community Support
Community Support

Hi @Gelos,

Have you solved your problem?

Do you want to compare the values from 2 two columns belonging to different collections?

Could you please tell me more details about your need, what do you want to achieve?

 

Based on your description, you want to compare 2 columns from different collections, I assume that both of them are Text type.

Add a Label and set the Text property as below:

If(CountRows(Filter(Product,Title in Tracking.Title))=CountRows(Product.Title),0,CountRows(Product.Title))

Note that I have two columns Title in Product and Tracking. 

 

Check if this could solve your problem.

Best Regards,
Qi

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,482)