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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (3,068)