cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Joao3
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

3 REPLIES 3
heaher_italent
Administrator
Administrator

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

 

Thank you,

Heather

Community Manager

RishabBehl31
Resolver I
Resolver I

Hey @Joao3 ,

 

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

 

RishabBehl31_0-1603891996359.png

 

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.

 

Warmly

----------------------------------------------------------------------------------------------------------------

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

Announcements
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)