web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Make Filter which bran...
Power Apps
Answered

Make Filter which brand's maximum has total value in the same ID in the SharePoint list.

(0) ShareShare
ReportReport
Posted on by 117

Hello All,

In the data below, there is the LineItems Sharepoint list. I can display all fields in a form, by placing a "Textinput" in an external field.
I want to calculate the Maximum total price value by BRAND. But I write down  the text input  which brand has  the maximum  value  

the SharePoint list  here 

sinanaalmac111_0-1690325160877.png

 


Here are my  example Result for ID=32 

Brand "Corn" Total's = 67,86 AND Brand "Mar" Total = 59,82 in the same ID. 
TextIput1 or Label1 value  must be shown as 'CORN'

 

I tried this one but I couldn't find any solution

Sum(Filter(LineItems,ReportID.Id in OpenReports.ID & openRepots.Brand=MAX))


Please help me   and Thank you

Regards Sinan

Categories:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @sinanaalmac111,

    Could you please tell me:

    1). What is the column type of the Id in LineItems? LookUp type? If not, then what?

    2). What is ReportID and openRepots?

     

    Currently, I just assume that I know the Id is 32, and I will filter LineItems based on Id 32 and Brand category  'CORN'.

    Sum(Filter(LineItems,Id=32&&Brand="MAR"))

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard