Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

How do I get a comparison and a correct return

Hello, everyone, how are you?


I kindly ask that if anyone knows how to help me with this, I will show you the scenario.


I start by concatenating ThisItem.'Current Amount '= ThisItem.'Minimum Amount', "Yes", "No".

It is a stock control, that is, if the current quantity is equal to the minimum quantity = Product needed for purchase, if the current quantity is greater than the Minimum Quantity is not necessary for purchase.


My code in power apps:

Concatenate ("Product Required to Purchase:", "",

If ((ThisItem.'Current Amount ') = (ThisItem.'Minimum Amount'), "Yes", "No")

, "")


Thank you very much in advance


@Joao3  - I just moved your post to this forum where you will get more answers.


Thank you,


Community Manager

Resolver I
Resolver I

Hey @Joao3 ,


I've tried creating a sample scenario for you. Please look at image below.




Let me know the error you're facing. Because it's working absolutely fine for me.


I hope this simplifies your query if any more question let me know.




Thanks for taking my inputs. If you're digging into it, a Thumbs up is appreciated! Or if my suggestion solved your issue, please Accept it as a solution. This way everyone would be able to get the solution if they face a similar problem

Hello thanks for your reply


This is my problem, the variables are in Portuguese but I will translate them for you to understand:


Produto necessário para compra = Product required for purchase

Quantidade Atual = Current Quantity

Quantidade Mínima = Minimum Quantity

Sim e Não = Yes or No 


Even if I make this comparison, he doesn't understand it correctly,  If you can't understand, get in touch



Helpful resources

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

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

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,922)