Hi. This is a basic problem but I'm having trouble with it. I want to create a sumif but my knowledge of the filter function isn't that great so I keep running into some dumb error. Here is the formula as I understand it.
Sum(Filter(Data1,Multipack = "Yes").Units)
The error is "expected a text value". This doesn't make sense to me as multipack is a text field and "Yes" is a text value. I've run into issues like this in the past so an explanation of the error and what it means would be really helpful for me to avoid it in the future. Thank you.
Solved! Go to Solution.
Hi @dyee4613 ,
Please try this formula:
Sum(Filter(Data1,Multipack = "Yes"),Units)
The right synax of sum is:
sum(table,formula)
Here's a doc for your reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-aggregates
Best regards,
Community Support Team _ Phoebe Liu
Hi @dyee4613
is the Multipack a choice field i SharePoint list? Then your have to change your like this Sum(Filter(Data1,Multipack.Value="Yes"),Units)
I hope this will work for you.
Kind Regards
Olle
Hi @dyee4613 ,
Please try this formula:
Sum(Filter(Data1,Multipack = "Yes"),Units)
The right synax of sum is:
sum(table,formula)
Here's a doc for your reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-aggregates
Best regards,
Community Support Team _ Phoebe Liu
Your solution worked! I guess a comma was what I needed. I could have swore I tried that but I guess not, thank you! It was with an excel sheet, not a sharepoint list.
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
209 | |
194 | |
82 | |
58 | |
38 |
User | Count |
---|---|
303 | |
249 | |
120 | |
83 | |
55 |