cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Corissandageri
Continued Contributor
Continued Contributor

Sum problem

Hi all

I have spent so much time on this, I think I am just guessing now.

My intent is to sum  Price01 by MinQuantity - CQuantity from Supplier "Safety and Apparel".

So in short, the total cost of an order from that supplier.

Table1.pngPowerapp.png

1 ACCEPTED SOLUTION

Accepted Solutions
JesperHuang
Helper I
Helper I

Hi @Corissandageri ,

 

I think you are close to the answer, try this one?

 

"Orders:" & Sum(Filter(Table1, Supplier = "Safety and Apparel", (MinQuantity - CQuantity) > 0), Price01 * (MinQuantity - CQuantity))

 

View solution in original post

2 REPLIES 2
JesperHuang
Helper I
Helper I

Hi @Corissandageri ,

 

I think you are close to the answer, try this one?

 

"Orders:" & Sum(Filter(Table1, Supplier = "Safety and Apparel", (MinQuantity - CQuantity) > 0), Price01 * (MinQuantity - CQuantity))

 

Hi Jesper

Yes this does work, thank you very much.

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.

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 (4,125)